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

Issue 11246004: Allow DEPS file to specify 'target_os'. (Closed)

Created:
8 years, 1 month ago by Siva Chandra
Modified:
8 years, 1 month ago
Reviewers:
cmp, Isaac (away), M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Allow DEPS file to specify 'target_os'. BUG=155792 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163955

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address cmp's nit #

Patch Set 3 : Added pylint disable W0212 #

Total comments: 1

Patch Set 4 : Making target_os a local property as per ilevy's and MA's suggestion #

Patch Set 5 : Fix a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -3 lines) Patch
M gclient.py View 1 2 3 4 4 chunks +19 lines, -3 lines 0 comments Download
M tests/gclient_test.py View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Siva Chandra
There is a presubmit warning about accessing a protected member of a client object. However, ...
8 years, 1 month ago (2012-10-23 18:45:38 UTC) #1
M-A Ruel
Why not set it in .gclient?
8 years, 1 month ago (2012-10-23 18:47:45 UTC) #2
cmp
For our use case, we always want to set this for our gclient solutions, so ...
8 years, 1 month ago (2012-10-23 18:52:42 UTC) #3
cmp
lgtm with nit https://codereview.chromium.org/11246004/diff/1/tests/gclient_test.py File tests/gclient_test.py (right): https://codereview.chromium.org/11246004/diff/1/tests/gclient_test.py#newcode339 tests/gclient_test.py:339: options.deps_os = "unix" nit: single quotes ...
8 years, 1 month ago (2012-10-23 18:54:55 UTC) #4
Siva Chandra
I added "# pylint: disable W0212" for one of the lines which accesses a protected ...
8 years, 1 month ago (2012-10-23 23:09:58 UTC) #5
Isaac (away)
M-A, I think you said it would be OK to move target_os into a local ...
8 years, 1 month ago (2012-10-23 23:39:31 UTC) #6
Siva Chandra
I am going to wait for cmp's and maruel's comments before I make further changes.
8 years, 1 month ago (2012-10-23 23:43:04 UTC) #7
M-A Ruel
https://codereview.chromium.org/11246004/diff/5002/gclient.py File gclient.py (right): https://codereview.chromium.org/11246004/diff/5002/gclient.py#newcode458 gclient.py:458: # Check if 'target_os' is present in the DEPS ...
8 years, 1 month ago (2012-10-23 23:53:30 UTC) #8
Siva Chandra
PTAL patch set 5.
8 years, 1 month ago (2012-10-24 23:31:04 UTC) #9
M-A Ruel
lgtm
8 years, 1 month ago (2012-10-24 23:33:36 UTC) #10
cmp
lgtm
8 years, 1 month ago (2012-10-24 23:37:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sivachandra@chromium.org/11246004/15001
8 years, 1 month ago (2012-10-24 23:40:06 UTC) #12
commit-bot: I haz the power
8 years, 1 month ago (2012-10-24 23:42:51 UTC) #13
Change committed as 163955

Powered by Google App Engine
This is Rietveld 408576698