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

Issue 22865003: Add dependency on android_tools in java_apk.gypi for all test apks (Closed)

Created:
7 years, 4 months ago by ppi
Modified:
7 years, 4 months ago
Reviewers:
cjhopman, joth, jam, frankf
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add dependency on android_tools in java_apk.gypi for all test apks. This patch adds a dependency on entire android_tools target that contains forwarder2 and md5sum to java_apk.gypi for all test apks, so that individual test apk targets do not need to explicitly depend on the tools required to run them. BUG=271482 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217386

Patch Set 1 #

Patch Set 2 : Update comment for the android_tools target. #

Patch Set 3 : Move the dependency to java_apk.gypi. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M build/java_apk.gypi View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tools/android/android_tools.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
ppi
Could you guys have a look?
7 years, 4 months ago (2013-08-12 15:57:35 UTC) #1
jam
rubberstamp lgtm (I don't know this, I'll defer to frankf)
7 years, 4 months ago (2013-08-12 16:05:22 UTC) #2
frankf
Adding cjhopman, the resident build guru. How about other instrumentation test targets (chromium_testshell_test_apk, android_webview_test_apk, downstream)? ...
7 years, 4 months ago (2013-08-12 17:52:32 UTC) #3
ppi
Thanks, Frank, I updated the comment in patch set 2. As to other instrumentation test ...
7 years, 4 months ago (2013-08-12 18:23:51 UTC) #4
cjhopman
On 2013/08/12 18:23:51, ppi wrote: > Thanks, Frank, I updated the comment in patch set ...
7 years, 4 months ago (2013-08-12 18:44:13 UTC) #5
frankf
On 2013/08/12 18:44:13, cjhopman wrote: > On 2013/08/12 18:23:51, ppi wrote: > > Thanks, Frank, ...
7 years, 4 months ago (2013-08-12 18:52:19 UTC) #6
ppi
Thanks a lot! I moved the dependency to java_apk.gypi, as suggested by Chris, so that ...
7 years, 4 months ago (2013-08-13 14:41:05 UTC) #7
cjhopman
lgtm
7 years, 4 months ago (2013-08-13 14:51:10 UTC) #8
frankf
lgtm, thanks
7 years, 4 months ago (2013-08-13 17:45:09 UTC) #9
ppi
Thanks!
7 years, 4 months ago (2013-08-13 18:37:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ppi@chromium.org/22865003/12001
7 years, 4 months ago (2013-08-13 18:40:47 UTC) #11
commit-bot: I haz the power
Change committed as 217386
7 years, 4 months ago (2013-08-13 23:46:50 UTC) #12
joth
7 years, 4 months ago (2013-08-17 03:35:36 UTC) #13
On 12 August 2013 11:23, <ppi@chromium.org> wrote:

> Thanks, Frank, I updated the comment in patch set 2.
>
> As to other instrumentation test targets:
> - chromium_testshell_test_apk depends on forwarder, not forwarder2 (I
> don't know
> the difference, but the former is not covered by android_tools)
> - android_webview_test_apk does not seem to depend on either.
> - downstream - there is a corresponding CL in review, I added you as
> reviewer.
>
> Adding Jonathan - do we need md5sum and/or forwarder2 to run
> android_webview_test_apk ?
>
> forwarder / forwarder2 are not actively needed by android_webview_test_apk
for successful execution on the device, however the shared test apk deploy
scripts expect forwarder2 to exist so we do have to build it (currently).

Afraid I don't know the scoop on md5sum other than it's in the default
build instructions so I guess was needed at some point at least.
(see go/clank/engineering/legacy-webview/android_webview-tests)

Powered by Google App Engine
This is Rietveld 408576698