diff options
author | Colin Cross <ccross@android.com> | 2018-02-20 18:20:49 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-20 18:20:49 +0000 |
commit | 164315f4e918f601734ad6750cbbc0df4c737b11 (patch) | |
tree | 7ad711b0918ed1b4936763249e7ad98d41938dab /java | |
parent | f57bc959404313f75ae908ddbb770590ed262fe4 (diff) | |
parent | 4bc286eca90dd552ceb962166991e5df252972b5 (diff) | |
download | build_soong-164315f4e918f601734ad6750cbbc0df4c737b11.tar.gz build_soong-164315f4e918f601734ad6750cbbc0df4c737b11.tar.bz2 build_soong-164315f4e918f601734ad6750cbbc0df4c737b11.zip |
Fix comment on how java rules handle unknown output files am: f7eac7a2ac am: a14eee8e4a
am: 4bc286eca9
Change-Id: I19e6cd473f0bd854e35a2e6ccc70fe2bccc02ed5
Diffstat (limited to 'java')
-rw-r--r-- | java/builder.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/builder.go b/java/builder.go index 9e380655..46de4f73 100644 --- a/java/builder.go +++ b/java/builder.go @@ -35,9 +35,9 @@ var ( // Compiling java is not conducive to proper dependency tracking. The path-matches-class-name // requirement leads to unpredictable generated source file names, and a single .java file // will get compiled into multiple .class files if it contains inner classes. To work around - // this, all java rules write into separate directories and then a post-processing step lists - // the files in the the directory into a list file that later rules depend on (and sometimes - // read from directly using @<listfile>) + // this, all java rules write into separate directories and then are combined into a .jar file + // (if the rule produces .class files) or a .srcjar file (if the rule produces .java files). + // .srcjar files are unzipped into a temporary directory when compiled with javac. javac = pctx.AndroidGomaStaticRule("javac", blueprint.RuleParams{ Command: `rm -rf "$outDir" "$annoDir" "$srcJarDir" && mkdir -p "$outDir" "$annoDir" "$srcJarDir" && ` + |