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

Issue 1847333005: Add FromGNArgs() to gn_helpers. (Closed)

Created:
4 years, 8 months ago by Dirk Pranke
Modified:
4 years, 8 months ago
Reviewers:
brettw, hashimoto
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_gn_helpers_bools
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add FromGNArgs() to gn_helpers. This adds a method to convert a string containing a list of gn --args -like assignments to a python dict. (ToGNString() already supports the opposite direction). R=brettw@chromium.org, hashimoto@chromium.org BUG=561142 Committed: https://crrev.com/65d84dc0f629632d10687e2c85e8eea55362dc5d Cr-Commit-Position: refs/heads/master@{#385336}

Patch Set 1 #

Total comments: 2

Patch Set 2 : allow lists in args #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -0 lines) Patch
M build/gn_helpers.py View 1 3 chunks +60 lines, -0 lines 0 comments Download
M build/gn_helpers_unittest.py View 1 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Dirk Pranke
This is needed in the cros_chrome_sdk.py conversions between ChromeOS build args and GN args ; ...
4 years, 8 months ago (2016-04-02 00:01:03 UTC) #1
brettw
https://codereview.chromium.org/1847333005/diff/1/build/gn_helpers.py File build/gn_helpers.py (right): https://codereview.chromium.org/1847333005/diff/1/build/gn_helpers.py#newcode210 build/gn_helpers.py:210: val = self._ParseAllowTrailing(lists_are_allowed=False) It seems like you go through ...
4 years, 8 months ago (2016-04-05 19:25:28 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1847333005/diff/1/build/gn_helpers.py File build/gn_helpers.py (right): https://codereview.chromium.org/1847333005/diff/1/build/gn_helpers.py#newcode210 build/gn_helpers.py:210: val = self._ParseAllowTrailing(lists_are_allowed=False) On 2016/04/05 19:25:27, brettw wrote: > ...
4 years, 8 months ago (2016-04-05 19:28:42 UTC) #3
brettw
> But, yes, I can certainly just allow them for now and see what happens. ...
4 years, 8 months ago (2016-04-05 22:35:42 UTC) #4
Dirk Pranke
updated; please take another look?
4 years, 8 months ago (2016-04-05 23:31:23 UTC) #5
brettw
lgtm
4 years, 8 months ago (2016-04-05 23:32:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847333005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847333005/20001
4 years, 8 months ago (2016-04-05 23:32:39 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/200084)
4 years, 8 months ago (2016-04-05 23:35:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847333005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847333005/20001
4 years, 8 months ago (2016-04-05 23:38:05 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-06 00:08:22 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 00:10:49 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/65d84dc0f629632d10687e2c85e8eea55362dc5d
Cr-Commit-Position: refs/heads/master@{#385336}

Powered by Google App Engine
This is Rietveld 408576698