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

Issue 11363036: Allow specificying that only target_os should be used in a gclient file (Closed)

Created:
8 years, 1 month ago by stuartmorgan
Modified:
8 years, 1 month ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org
Base URL:
https://git.chromium.org/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Allow specificying that only target_os should be used in a gclient file This allows specificying that a target OS list should override the base list instead of adding to it. This is useful for iOS builds, where the desired behavior is to pull only the iOS deps, not the union of the Mac and iOS deps. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165671

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make just target_os_only a no-op #

Total comments: 2

Patch Set 3 : Make invalid combinations fatal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M gclient.py View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M tests/gclient_test.py View 1 2 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
stuartmorgan
This is basically a follow-up to http://codereview.chromium.org/10127004 to make it useful for iOS. Currently all ...
8 years, 1 month ago (2012-11-01 15:41:17 UTC) #1
M-A Ruel
I'm fine with the idea, just have one question https://codereview.chromium.org/11363036/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/11363036/diff/1/gclient.py#newcode896 gclient.py:896: ...
8 years, 1 month ago (2012-11-01 18:35:49 UTC) #2
stuartmorgan
https://codereview.chromium.org/11363036/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/11363036/diff/1/gclient.py#newcode896 gclient.py:896: if config_dict.get('target_os_only', False): On 2012/11/01 18:35:49, Marc-Antoine Ruel wrote: ...
8 years, 1 month ago (2012-11-02 05:50:02 UTC) #3
M-A Ruel
lgtm https://codereview.chromium.org/11363036/diff/3001/gclient.py File gclient.py (right): https://codereview.chromium.org/11363036/diff/3001/gclient.py#newcode897 gclient.py:897: if len(target_os) > 0 and config_dict.get('target_os_only', False): if ...
8 years, 1 month ago (2012-11-02 12:07:21 UTC) #4
stuartmorgan
https://codereview.chromium.org/11363036/diff/3001/gclient.py File gclient.py (right): https://codereview.chromium.org/11363036/diff/3001/gclient.py#newcode897 gclient.py:897: if len(target_os) > 0 and config_dict.get('target_os_only', False): On 2012/11/02 ...
8 years, 1 month ago (2012-11-02 12:36:12 UTC) #5
stuartmorgan
Would you mind landing this for me? Submitting to depot_tools for the first time seems ...
8 years, 1 month ago (2012-11-02 13:13:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stuartmorgan@chromium.org/11363036/8001
8 years, 1 month ago (2012-11-02 13:34:54 UTC) #7
commit-bot: I haz the power
Change committed as 165671
8 years, 1 month ago (2012-11-02 13:37:25 UTC) #8
M-A Ruel
On 2012/11/02 13:37:25, I haz the power (commit-bot) wrote: > Change committed as 165671 Was ...
8 years, 1 month ago (2012-11-02 13:37:54 UTC) #9
stuartmorgan
Much obliged :)
8 years, 1 month ago (2012-11-02 13:39:07 UTC) #10
stuartmorgan
8 years, 1 month ago (2012-11-02 13:39:34 UTC) #11
(Sorry, didn't think CQ worked on sub-repos)

Powered by Google App Engine
This is Rietveld 408576698