|
Add more generic support for java targets bundling multiple directories
Currently chromium_testshell_test_apk and content_shell_test_apk compile
and package java files from two different directories. Supporting this
in a good way is a requirement for using a single ant template for all
apks.
Introduce a new gyp variable for apk/jar targets, generated_src_dirs.
Now, generated_src_dirs is for directories that contain .java files that
are generated at build time and additional_src_dirs is for extra normal
directories to include in the jar/apk.
Change content_shell_test_apk and chromium_testshell_test_apk to use
additional_src_dirs for their extra dirs.
Add documentation for the gyp variables for jar/apk targets.
Reorder the ant defines in the java.gypi and java_apk.gypi.
BUG= 136756, 146056
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159299
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+88 lines, -30 lines) |
Patch |
|
M |
android_webview/java/android_webview_apk.xml
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
android_webview/javatests/android_webview_test_apk.xml
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/android/ant/chromium-jars.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
build/java.gypi
|
View
|
1
|
4 chunks |
+27 lines, -14 lines |
0 comments
|
Download
|
|
M |
build/java_aidl.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
build/java_apk.gypi
|
View
|
|
4 chunks |
+33 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/android/testshell/java/chromium_testshell_apk.xml
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/android/testshell/javatests/chromium_testshell_test_apk.xml
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/shell/android/javatests/content_shell_test_apk.xml
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/net.gyp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|