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

Issue 13599002: Trigger some java_apk.gypi actions for all builds (Closed)

Created:
7 years, 8 months ago by cjhopman
Modified:
7 years, 8 months ago
Reviewers:
Yaron
CC:
chromium-reviews
Visibility:
Public.

Description

Trigger some java_apk.gypi actions for all builds This adds a fake output path to several actions in java_apk.gypi: push_libraries apk_install strip_libraries (when component==shared_library) Adding this fake output makes the build system think that these actions always need to be run when building the corresponding APK (because the fake output is never up-to-date). For the first two actions, this is required to ensure that (when gyp_managed_install==1) the APK on the device (and its libraries) are always up-to-date. If a user switches the connected device, then these actions must be run even if no files on the host changed. For strip_libraries, we do not know at gyp-time what the real inputs to the action are (i.e. all the library dependencies). Also, ninja does some build magic such that if you change a library (base.so for example) its dependencies will not necessarily change. BUG=158821 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193518

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Rebase #

Patch Set 3 : Rebase again #

Patch Set 4 : Fix bad rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M build/java_apk.gypi View 1 2 3 5 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
cjhopman
7 years, 8 months ago (2013-04-04 00:22:02 UTC) #1
Yaron
It's a shame to have to do this, but I don't know of another way. ...
7 years, 8 months ago (2013-04-04 20:24:23 UTC) #2
cjhopman
On 2013/04/04 20:24:23, Yaron wrote: > It's a shame to have to do this, but ...
7 years, 8 months ago (2013-04-04 21:13:13 UTC) #3
cjhopman
https://codereview.chromium.org/13599002/diff/2001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/13599002/diff/2001/build/java_apk.gypi#newcode135 build/java_apk.gypi:135: # Add a fake output to force the build ...
7 years, 8 months ago (2013-04-04 21:13:19 UTC) #4
cjhopman
yfriedman: ping
7 years, 8 months ago (2013-04-10 19:04:42 UTC) #5
Yaron
lgtm https://codereview.chromium.org/13599002/diff/2001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/13599002/diff/2001/build/java_apk.gypi#newcode135 build/java_apk.gypi:135: # Add a fake output to force the ...
7 years, 8 months ago (2013-04-10 20:37:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/13599002/15001
7 years, 8 months ago (2013-04-10 22:14:32 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-10 22:22:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/13599002/20002
7 years, 8 months ago (2013-04-10 22:25:25 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-11 00:26:26 UTC) #10
Message was sent while issue was closed.
Change committed as 193518

Powered by Google App Engine
This is Rietveld 408576698