aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/j2objc
Commit message (Collapse)AuthorAge
* python tools: ensure files are closedGravatar laszlocsomor2018-07-05
| | | | | | | | | | | Use the "with" statement to open files in various Python scripts used by Bazel, to ensure these files are closed eagerly. See https://github.com/bazelbuild/bazel/issues/5512 RELNOTES: none PiperOrigin-RevId: 203346678
* Adding toolchain support for j2objc protosGravatar Mike Lewis2018-04-13
| | | | | | | | | | Ran into an issue where it wasn't possible to add protos to blacklist for j2objc toolchain and was getting duplicate symbols for the descriptor protos. This change should make it consistent with the other proto rules which use a toolchain. Was able to remove bespoke and uncustomizable proto blacklist for j2objc. Closes #4064. PiperOrigin-RevId: 192787964
* Added JVM option -XX:+UseParallelGC to make J2ObjC fasterGravatar Googler2017-08-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 166211946
* Adds executable permissions to j2objc_header_map.py.Gravatar Googler2017-07-03
| | | | | RELNOTES: None. PiperOrigin-RevId: 160648364
* Pass all J2ObjC args using a file instead of just the source files.Gravatar Googler2017-06-19
| | | | | RELNOTES: None. PiperOrigin-RevId: 159228238
* Scan both .h and .m files for imports and includesGravatar Googler2017-04-04
| | | | | | | | The dependency mappings are generated by scanning the .m files. I found a case where a header file was only imported in the .h file. RELNOTES: None. PiperOrigin-RevId: 152050144
* Add a script to generate the Java-class-to-objc-header mapping for J2ObjC. ↵Gravatar Rumou Duan2017-03-27
| | | | | | | | | | Previously the mapping is generated directly by J2ObjC through j2objc_wrapper.py. RELNOTES:None. -- PiperOrigin-RevId: 151138711 MOS_MIGRATED_REVID=151138711
* In the j2objc wrapper script, add the ability to process more than one ↵Gravatar Rumou Duan2017-01-10
| | | | | | | | | | source jars. In the j2objc dead code removal script, quote the object file names when invoking ar. They may contain special shell characeters. -- PiperOrigin-RevId: 143993977 MOS_MIGRATED_REVID=143993977
* Increases stack memory to 4m when executing j2objc to match what Blaze usesGravatar Googler2016-12-21
| | | | | | | | when compiling Java sources. -- PiperOrigin-RevId: 142665504 MOS_MIGRATED_REVID=142665504
* Moving files to final output location, instead of copying.Gravatar Rumou Duan2016-11-04
| | | | | -- MOS_MIGRATED_REVID=138104480
* RELNOTES: Remove flag --experimental_zip_tree_artifact from j2objc Java ↵Gravatar Rumou Duan2016-10-14
| | | | | | | annotation processing support. -- MOS_MIGRATED_REVID=136084697
* In J2ObjC proto aspect, add a proto file blacklist to filter out unnecessary ↵Gravatar Rumou Duan2016-09-27
| | | | | | | protos from linking into the final binary. -- MOS_MIGRATED_REVID=134409481
* J2ObjC wrapper support for java annotation support with unpredictable ↵Gravatar Rumou Duan2016-07-27
| | | | | | | inputs/outputs. -- MOS_MIGRATED_REVID=128485838
* Change //tools/objc:j2objc_dead_code_pruner and ↵Gravatar Rumou Duan2016-03-02
| | | | | | | //tools/j2objc:j2objc_wrapper from py_library to filegroup. They contain executable python scripts, not python libraries. -- MOS_MIGRATED_REVID=116160662
* Change j2objc_wrapper.py to also write out a mapping file between generated ↵Gravatar Rumou Duan2016-02-02
| | | | | | | | | | | | | static library to associated original objc source files. Change j2objc_dead_code_pruner.py to support pruning static library. The purpose of this changelist is to support moving ObjC compilation actions of J2ObjC-translated code to the edges (J2ObjC java and proto aspects). RELNOTES:None. -- MOS_MIGRATED_REVID=113529738
* Convert j2objc workspace name to use _, not -Gravatar Kristina Chodorow2016-01-27
| | | | | | | | | | We're restricted repository names in preparation for improving the runfiles situation. RELNOTES: j2objc tools can now be accessed via @bazel_j2objc, not @bazel-j2objc. -- MOS_MIGRATED_REVID=113071304
* Fix a bug in which the main process of j2objc wrapper blocks indefinitely if ↵Gravatar Rumou Duan2015-12-04
| | | | | | | spawned threads fail. -- MOS_MIGRATED_REVID=109423785
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Pass source files to J2ObjC through a temporary source file manifest.Gravatar Rumou Duan2015-09-03
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=102195008
* Allow use of argument param files for J2ObjC scripts.Gravatar Rumou Duan2015-08-20
| | | | | -- MOS_MIGRATED_REVID=100964806
* Open-source full support for J2ObjC in Bazel, including dead code removal, ↵Gravatar Michael Thvedt2015-08-13
| | | | | | | and add an example. -- MOS_MIGRATED_REVID=100493818
* Move j2objc helper scripts into open-source Bazel.Gravatar Michael Thvedt2015-08-13
-- MOS_MIGRATED_REVID=100490916