DescriptionAdd java_cpp_template template
This is the GN version of build/java_cpp_template.gypi.
It defines a template that wraps an action_foreach that generates .java
files using the host C preprocessor.
The major difference in the GN version is that it takes all the
generated java files and zips them together in a single .srcjar. When
such a target is included in the srcjar_deps of a java library, the
.java files in the .srcjar will be treated much like files listed in
that libraries java_sources (particularly they will be compiled and
included in the .jar/.dex).
Depends on https://crrev.com/264773014/
BUG=359249
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272775
Patch Set 1 : #Patch Set 2 : #
Total comments: 3
Patch Set 3 : Rebase #Patch Set 4 : Another Rebase #Patch Set 5 : Make zip template public (since it is in a different file) :/ #Patch Set 6 : Rebase #
Messages
Total messages: 10 (0 generated)
|