aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/J2ObjcConfiguration.java
Commit message (Collapse)AuthorAge
* Migrate remaining apple-related skylark types to skylarkbuildapiGravatar cparsons2018-06-01
| | | | | RELNOTES: None. PiperOrigin-RevId: 198880301
* Simplify config fragment creation.Gravatar gregce2018-05-02
| | | | | | | | | Remove all unnecessesary accesses to ConfigurationEnvironment and deprecate the accesses that actually need ConfigurationEnvironment. For review, check out ConfigurationFragmentFactory first. PiperOrigin-RevId: 195099768
* Made j2objc translation flags accessible to Skylark, to migrate builds usingGravatar Googler2018-04-13
| | | | | | | | | | j2objc_library's --j2objc_translation_flags to future Skylark replacement rule. DELTA=42 (39 added, 0 deleted, 3 changed) DELTA_BY_EXTENSION=java=42 RELNOTES: None. PiperOrigin-RevId: 192838435
* Expose j2objc.dead_code_report as a configuration field instead of a basic ↵Gravatar cparsons2018-03-27
| | | | | | | struct field on the j2objc fragment. RELNOTES: None. PiperOrigin-RevId: 190672475
* Expose the j2objc configuration fragment, with field dead_code_report, ↵Gravatar cparsons2018-03-19
| | | | | | | matching build flag --j2objc_dead_code_report. RELNOTES: The 'j2objc' configuration fragment is exposed to Skylark. PiperOrigin-RevId: 189630012
* Deletes CODEC fields now that they are no longer needed.Gravatar shahan2018-02-28
| | | | PiperOrigin-RevId: 187397314
* Allows @AutoCodec to use factory methods.Gravatar shahan2018-01-29
| | | | | | Generalizes @AutoCodec.Constructor to @AutoCodec.Instantiator. PiperOrigin-RevId: 183702768
* Codecs for all non-test Fragment subclasses (except CppConfiguration, ↵Gravatar shahan2018-01-05
| | | | | | handled separately). PiperOrigin-RevId: 180974083
* Correct typos found by the linter.Gravatar gregce2017-12-20
| | | | PiperOrigin-RevId: 179748374
* Turn the --explicit_jre_deps flag into a noop.Gravatar Googler2017-05-22
| | | | | | RELNOTES: Flag --explicit_jre_deps is now a noop. PiperOrigin-RevId: 156570342
* Added an optional option --j2objc_dead_code_reportGravatar Googler2017-04-11
| | | | | | | --j2objc_dead_cdoe_report accepts a label that can generate a dead code report as argument. If specified, Blaze should pass "--dead-code-report path/to/dead/code/report" to J2ObjC. RELNOTES: None. PiperOrigin-RevId: 152712841
* Add a GenerateJ2objcHeaderMap action to generate the J2ObjC header mapping.Gravatar Rumou Duan2017-03-27
| | | | | | | | | | The header mapping used to be generated by J2ObjcTranspilationAction and consumed by dependent J2ObjcTranspilationActions. This setup led to chained J2ObjcTranspilationActions and long critical path build time. With GenerateJ2objcHeaderMap action, we break that chain and shorten the critical path build time. This feature is guarded behind a new build flag, --experimental_j2objc_header_map. -- PiperOrigin-RevId: 151149906 MOS_MIGRATED_REVID=151149906
* Remove flag --experimental_j2objc_srcjar_processing, and always use the new ↵Gravatar Rumou Duan2017-02-27
| | | | | | | | J2ObjC source jar transpilation support. -- PiperOrigin-RevId: 148501938 MOS_MIGRATED_REVID=148501938
* Description redacted.Gravatar Rumou Duan2017-01-10
| | | | | | -- PiperOrigin-RevId: 144010091 MOS_MIGRATED_REVID=144010091
* RELNOTES:Gravatar Rumou Duan2017-01-03
| | | | | | | | Remove build flag --experimental_j2objc_annotation_processing. It is on by default now. -- PiperOrigin-RevId: 143444299 MOS_MIGRATED_REVID=143444299
* Turn on j2objc's -g flag (source debugging) by defaultGravatar Patrick Donelan2016-11-21
| | | | | | | | | Can be disabled via: --j2objc_translation_flags=-g:none -- MOS_MIGRATED_REVID=139738308
* RELNOTES: Remove flag --experimental_zip_tree_artifact from j2objc Java ↵Gravatar Rumou Duan2016-10-14
| | | | | | | annotation processing support. -- MOS_MIGRATED_REVID=136084697
* Experimental java annotation support with unpredictable action ↵Gravatar Rumou Duan2016-07-28
| | | | | | | | | inputs/outputs in j2objc_library behind flag --experimental_j2objc_annotation_processing Also added flag --experimental_zip_tree_artifact to switch on and off the zipping implementation of tree artifact generation. -- MOS_MIGRATED_REVID=128586669
* Adds "jre_deps" attribute to j2objc_library and the "--explicit_jre_deps" flagGravatar Googler2016-05-30
| | | | | | | | | which requires users to specify their JRE dependencies. RELNOTES: Adds "jre_deps" attribute to j2objc_library. -- MOS_MIGRATED_REVID=123414037
* Removed obsolete flags from j2objc always_on flag set.Gravatar Googler2016-02-15
| | | | | | | | These flags are either the default now or ignored by j2objc, so this is a clean-up CL. -- MOS_MIGRATED_REVID=114539226
* Move ObjC compilation actions for J2ObjC-translated code from binary level ↵Gravatar Rumou Duan2016-02-05
| | | | | | | | | | | | to the edges (J2ObjcAspect and J2ObjcProtoAspect). RELNOTES[INC]: ObjC compile actions for J2ObjC-translated code now only has access to headers from the java deps of the associated original java rule. These compile actions no longer takes the compiler options specified in "copts" attribute on objc_binary/ios_test rules. J2ObjC dead code removal (enabled through flag "--j2objc_dead_code_removal") now happens *after* ObjC compilation. -- MOS_MIGRATED_REVID=113910545
* Move J2ObjCLibrary and supporting classes to Bazel, and enable J2ObJC in Bazel.Gravatar Michael Thvedt2015-06-19
| | | | | -- MOS_MIGRATED_REVID=96324830
* Fix bug where J2ObjC was reading Java files using the platform encoding.Gravatar Googler2015-06-11
| | | | | -- MOS_MIGRATED_REVID=95659263
* Have ConfiguredTargetFactory subclasses declare which FragmentOptionsGravatar Greg Estren2015-05-21
| | | | | | | | | | | | | | | | | | | | | | they need to create their fragments. This is prerequisite work for fragment-limited configurations (configurations that only include the fragments needed by their rules' transitive closures). Given a set of desired fragment classes, we need to know which FragmentOptions are needed to instantiate those fragments. Note that we can't map this relationship the other way (given a set of FragmentOptions, which fragment classes do they load?). That's because different fragment loaders may consume overlapping options. A good example is CppOptions, which is, e.g., used by both the C++ and Python configuration loaders. At some point, we're probably going to want to force configuration loaders to only understand options from their own "domain" (or have well-defined hierarchies). But that's not the reality of today. -- MOS_MIGRATED_REVID=94091093
* Add a genrule that generates a dummy J2ObjC dead code removal script in ↵Gravatar Googler2015-05-15
| | | | | | | tools/objc/BUILD. -- MOS_MIGRATED_REVID=93447039
* Open-source J2ObjcConfiguration and J2ObjcCommandLineOptions.Gravatar Googler2015-05-11
-- MOS_MIGRATED_REVID=93308663