Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 10987083: Add more generic support for java targets bundling multiple directories (Closed)

Created:
8 years, 2 months ago by cjhopman
Modified:
8 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, ilevy+watch_chromium.org, joi+watch-content_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, darin-cc_chromium.org, peter+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@apk_jar
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

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

Messages

Total messages: 12 (0 generated)
cjhopman
yfriedman: content/shell/android, build/, chrome/android
8 years, 2 months ago (2012-09-27 22:07:14 UTC) #1
Yaron
lgtm http://codereview.chromium.org/10987083/diff/1/build/java.gypi File build/java.gypi (right): http://codereview.chromium.org/10987083/diff/1/build/java.gypi#newcode20 build/java.gypi:20: # <(PRODUCT_DIR)/lib.java/chromium_base.jar replace "base" with package name
8 years, 2 months ago (2012-09-27 23:31:30 UTC) #2
joth
drive-by http://codereview.chromium.org/10987083/diff/1/build/java_apk.gypi File build/java_apk.gypi (right): http://codereview.chromium.org/10987083/diff/1/build/java_apk.gypi#newcode49 build/java_apk.gypi:49: # target. as the comment is duplicated with ...
8 years, 2 months ago (2012-09-27 23:51:59 UTC) #3
cjhopman
joth:android_webview/ jam:content/ sky:chrome/ jar:net/ http://codereview.chromium.org/10987083/diff/1/build/java.gypi File build/java.gypi (right): http://codereview.chromium.org/10987083/diff/1/build/java.gypi#newcode20 build/java.gypi:20: # <(PRODUCT_DIR)/lib.java/chromium_base.jar On 2012/09/27 23:31:30, ...
8 years, 2 months ago (2012-09-28 01:07:20 UTC) #4
joth
lgtm
8 years, 2 months ago (2012-09-28 01:39:10 UTC) #5
sky
chrome/ LGTM
8 years, 2 months ago (2012-09-28 15:03:12 UTC) #6
jam
lgtm
8 years, 2 months ago (2012-09-28 15:50:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/10987083/7002
8 years, 2 months ago (2012-09-28 15:53:11 UTC) #8
commit-bot: I haz the power
Presubmit check for 10987083-7002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-09-28 15:53:16 UTC) #9
jar (doing other things)
net lgtm
8 years, 2 months ago (2012-09-28 16:08:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/10987083/7002
8 years, 2 months ago (2012-09-28 16:27:46 UTC) #11
commit-bot: I haz the power
8 years, 2 months ago (2012-09-28 18:22:33 UTC) #12
Change committed as 159299

Powered by Google App Engine
This is Rietveld 408576698