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

Issue 10837143: Make java.gypi export jar path to input_jars_paths variable (Closed)

Created:
8 years, 4 months ago by cjhopman
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, erikwright (departed), jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make java.gypi export jar path to input_jars_paths variable Both java.gypi and apk_test.gypi expect the jar path in input_jars_paths. This means that we were specifying the dependence in both 'dependencies' and 'input_jars_paths'. This change makes it so that we don't need that redundancy. Also, make java.gypi use input_jars_paths in its input so that we actually rebuild targets when we should. BUG=136756 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150850

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -36 lines) Patch
M base/base.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M build/apk_test.gypi View 3 chunks +5 lines, -2 lines 0 comments Download
M build/java.gypi View 2 1 chunk +13 lines, -5 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/content.gyp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M gpu/gpu_common.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M ipc/ipc.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M media/media.gyp View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M net/net.gyp View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M sql/sql.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M sync/sync.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M ui/ui_unittests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
cjhopman
8 years, 4 months ago (2012-08-07 15:53:10 UTC) #1
Yaron
http://codereview.chromium.org/10837143/diff/3001/build/java.gypi File build/java.gypi (right): http://codereview.chromium.org/10837143/diff/3001/build/java.gypi#newcode31 build/java.gypi:31: 'direct_dependent_settings': { This seems to work as-is but I ...
8 years, 4 months ago (2012-08-07 16:41:08 UTC) #2
cjhopman
http://codereview.chromium.org/10837143/diff/3001/build/java.gypi File build/java.gypi (right): http://codereview.chromium.org/10837143/diff/3001/build/java.gypi#newcode31 build/java.gypi:31: 'direct_dependent_settings': { On 2012/08/07 16:41:09, Yaron wrote: > This ...
8 years, 4 months ago (2012-08-07 19:12:11 UTC) #3
Yaron
lgtm Seems simpler to keep it this way.
8 years, 4 months ago (2012-08-07 23:17:27 UTC) #4
cjhopman
brettw: base/ chrome/ content/ sky: ui/ rsleevi: net/ zea: sync/
8 years, 4 months ago (2012-08-07 23:38:09 UTC) #5
brettw
Owners LGTM stamp but I don't actually understand what you're doing here. I'm assuming one ...
8 years, 4 months ago (2012-08-07 23:41:03 UTC) #6
Nicolas Zea
lgtm
8 years, 4 months ago (2012-08-07 23:43:21 UTC) #7
sky
LGTM
8 years, 4 months ago (2012-08-07 23:57:31 UTC) #8
nilesh
http://codereview.chromium.org/10837143/diff/5001/sync/sync.gyp File sync/sync.gyp (left): http://codereview.chromium.org/10837143/diff/5001/sync/sync.gyp#oldcode837 sync/sync.gyp:837: '../base/base.gyp:base_java', You should be able to remove the direct ...
8 years, 4 months ago (2012-08-08 00:11:05 UTC) #9
Ryan Sleevi
So I feel like I understand the motivation here, and I certainly agree that having ...
8 years, 4 months ago (2012-08-08 05:47:47 UTC) #10
cjhopman
I've switched it back to direct_dependent_settings, and the *_java targets use the relevant export_dependent_settings. I ...
8 years, 4 months ago (2012-08-08 21:40:26 UTC) #11
nilesh
http://codereview.chromium.org/10837143/diff/3017/chrome/chrome.gyp File chrome/chrome.gyp (left): http://codereview.chromium.org/10837143/diff/3017/chrome/chrome.gyp#oldcode1083 chrome/chrome.gyp:1083: '../base/base.gyp:base_java', I think chrome_java directly depends on base_java and ...
8 years, 4 months ago (2012-08-08 22:24:20 UTC) #12
cjhopman
http://codereview.chromium.org/10837143/diff/3017/chrome/chrome.gyp File chrome/chrome.gyp (left): http://codereview.chromium.org/10837143/diff/3017/chrome/chrome.gyp#oldcode1083 chrome/chrome.gyp:1083: '../base/base.gyp:base_java', On 2012/08/08 22:24:20, nileshagrawal1 wrote: > I think ...
8 years, 4 months ago (2012-08-08 22:38:57 UTC) #13
Yaron
I'm not excited about the redundancy but I understand the motivation. lgtm
8 years, 4 months ago (2012-08-09 00:46:15 UTC) #14
Ryan Sleevi
lgtm - one nit below, but no need for re-review http://codereview.chromium.org/10837143/diff/10003/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (left): http://codereview.chromium.org/10837143/diff/10003/chrome/chrome_tests.gypi#oldcode4593 ...
8 years, 4 months ago (2012-08-09 01:45:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/10837143/13001
8 years, 4 months ago (2012-08-09 16:27:01 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 18:08:24 UTC) #17
Change committed as 150850

Powered by Google App Engine
This is Rietveld 408576698