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

Issue 1618243004: Use gn_helpers to deserialize GN lists. (Closed)

Created:
4 years, 11 months ago by brettw
Modified:
4 years, 10 months ago
Reviewers:
Dirk Pranke, msw, slan
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use gn_helpers to deserialize GN lists. The Android build code doesn't properly unescape the GN lists, use the official Python GN parser instead of ast for the zip script. Document what should be done for build_utils, but don't fix it due to cast shell build errors as explained in the comment I added. Update mojo zip script to use the gn helpers. BUG=573132, 571022 Committed: https://crrev.com/81687d8362fd2dbf0acab8f1deee5b91ee1e5a49 Cr-Commit-Position: refs/heads/master@{#372461}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Revert zip change #

Patch Set 7 : Put back depfile #

Patch Set 8 : #

Total comments: 13

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -72 lines) Patch
M build/android/gyp/util/build_utils.py View 1 1 chunk +11 lines, -0 lines 0 comments Download
M build/config/zip.gni View 1 3 4 5 6 3 chunks +27 lines, -24 lines 0 comments Download
M build/gn_helpers.py View 1 chunk +13 lines, -1 line 0 comments Download
M components/policy/BUILD.gn View 1 2 chunks +6 lines, -16 lines 0 comments Download
M mojo/public/mojo_application.gni View 1 2 3 4 5 6 7 2 chunks +8 lines, -24 lines 0 comments Download
D mojo/public/tools/gn/zip.py View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 54 (23 generated)
brettw
4 years, 11 months ago (2016-01-22 19:30:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/1
4 years, 11 months ago (2016-01-22 19:33:46 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/11805)
4 years, 11 months ago (2016-01-22 20:01:39 UTC) #6
brettw
Looks like this isn't right. Will do another pass.
4 years, 11 months ago (2016-01-22 20:20:22 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/40001
4 years, 11 months ago (2016-01-22 20:53:57 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/11893)
4 years, 11 months ago (2016-01-22 22:17:46 UTC) #12
brettw
This is ready to review now.
4 years, 11 months ago (2016-01-22 23:27:07 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/60001
4 years, 11 months ago (2016-01-22 23:29:51 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/12002)
4 years, 11 months ago (2016-01-23 00:25:32 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/80001
4 years, 11 months ago (2016-01-25 19:16:25 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/12458) android_chromium_gn_compile_rel on ...
4 years, 11 months ago (2016-01-25 19:54:08 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/100001
4 years, 11 months ago (2016-01-25 20:24:03 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/120001
4 years, 11 months ago (2016-01-25 20:59:30 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/12527) android_chromium_gn_compile_rel on ...
4 years, 11 months ago (2016-01-25 21:46:39 UTC) #27
brettw
I'm having trouble figuring out what's up with Android. I'm going to split this up.
4 years, 11 months ago (2016-01-27 00:05:45 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/140001
4 years, 10 months ago (2016-01-28 23:57:21 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 01:34:19 UTC) #33
brettw
Okay, this is ready!
4 years, 10 months ago (2016-01-29 02:32:03 UTC) #34
brettw
I think agrieve may be out -> dpranke
4 years, 10 months ago (2016-01-29 20:56:24 UTC) #36
Dirk Pranke
+msw for a question ... https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py#newcode90 build/android/gyp/util/build_utils.py:90: # this function. ick. ...
4 years, 10 months ago (2016-01-29 21:01:56 UTC) #38
brettw
https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py#newcode90 build/android/gyp/util/build_utils.py:90: # this function. On 2016/01/29 21:01:56, Dirk Pranke wrote: ...
4 years, 10 months ago (2016-01-29 21:10:21 UTC) #39
Dirk Pranke
lgtm. Mike, Stephen, can you maybe help with my questions, below? https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): ...
4 years, 10 months ago (2016-01-29 21:38:42 UTC) #41
brettw
https://codereview.chromium.org/1618243004/diff/140001/mojo/public/tools/gn/zip.py File mojo/public/tools/gn/zip.py (right): https://codereview.chromium.org/1618243004/diff/140001/mojo/public/tools/gn/zip.py#newcode1 mojo/public/tools/gn/zip.py:1: #!/usr/bin/env python I filed a bug https://code.google.com/p/chromium/issues/detail?id=582594 and added ...
4 years, 10 months ago (2016-01-29 21:48:15 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618243004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618243004/160001
4 years, 10 months ago (2016-01-29 21:49:56 UTC) #45
msw
rubber stamp lgtm (to at least avoid unchecking your cq bit) https://codereview.chromium.org/1618243004/diff/140001/mojo/public/tools/gn/zip.py File mojo/public/tools/gn/zip.py (right): ...
4 years, 10 months ago (2016-01-29 21:59:38 UTC) #46
slan
https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/1618243004/diff/140001/build/android/gyp/util/build_utils.py#newcode90 build/android/gyp/util/build_utils.py:90: # this function. On 2016/01/29 21:38:42, Dirk Pranke wrote: ...
4 years, 10 months ago (2016-01-29 22:37:57 UTC) #47
brettw
On 2016/01/29 22:37:57, slan wrote: > Sure. Brett, to which script are you referring? The ...
4 years, 10 months ago (2016-01-29 22:46:46 UTC) #48
slan
On 2016/01/29 22:46:46, brettw wrote: > stare at the errors :) That's what I do ...
4 years, 10 months ago (2016-01-29 22:49:42 UTC) #49
brettw
On 2016/01/29 22:49:42, slan wrote: > On 2016/01/29 22:46:46, brettw wrote: > > stare at ...
4 years, 10 months ago (2016-01-29 23:10:13 UTC) #50
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-01-29 23:23:17 UTC) #52
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 23:24:06 UTC) #54
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/81687d8362fd2dbf0acab8f1deee5b91ee1e5a49
Cr-Commit-Position: refs/heads/master@{#372461}

Powered by Google App Engine
This is Rietveld 408576698