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

Issue 2512043002: Move the GN exec_script whitelist for //build into //build. (Closed)

Created:
4 years, 1 month ago by Dirk Pranke
Modified:
4 years, 1 month ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the GN exec_script whitelist for //build into //build. This change moves the list of files that are allowed to call exec_script() into a variable in a file in the //build directory, so that the list can be shared more easily by other repos that are pulling in //build via DEPS but have their own custom dotfile. R=brettw@chromium.org, machenbach@chromium.org BUG=617873 Committed: https://crrev.com/1cfa53187039597e5cdaa302cab1921a57060dce Cr-Commit-Position: refs/heads/master@{#433764}

Patch Set 1 #

Total comments: 5

Patch Set 2 : actually add the //build file #

Patch Set 3 : tweak comment, remove skia file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -49 lines) Patch
M .gn View 1 2 2 chunks +35 lines, -49 lines 0 comments Download
A build/dotfile_settings.gni View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Dirk Pranke
thoughts? https://codereview.chromium.org/2512043002/diff/1/.gn File .gn (right): https://codereview.chromium.org/2512043002/diff/1/.gn#newcode223 .gn:223: build_dot_gn.exec_script_whitelist + [ We could generalize this pattern ...
4 years, 1 month ago (2016-11-17 23:26:37 UTC) #2
mtklein_C
Ok by me on behalf of Skia. We have a custom .gn but don't pull ...
4 years, 1 month ago (2016-11-18 00:19:43 UTC) #3
jochen (gone - plz use gerrit)
I defer to machenbach for v8
4 years, 1 month ago (2016-11-18 08:11:29 UTC) #4
kjellander_chromium
I like this approach! Many times we've had to change our .gn file due to ...
4 years, 1 month ago (2016-11-18 12:23:02 UTC) #5
brettw
https://codereview.chromium.org/2512043002/diff/1/.gn File .gn (right): https://codereview.chromium.org/2512043002/diff/1/.gn#newcode220 .gn:220: import("//build/dot_gn.gni") I'd prefer this goes at the top. I ...
4 years, 1 month ago (2016-11-18 22:12:00 UTC) #6
brettw
Did you forget to "git add" the .gni file?
4 years, 1 month ago (2016-11-18 22:12:07 UTC) #7
Dirk Pranke
On 2016/11/18 22:12:07, brettw (ping on IM after 24h) wrote: > Did you forget to ...
4 years, 1 month ago (2016-11-18 22:37:15 UTC) #8
Dirk Pranke
Okay, I didn't even have a copy of the file in my local repo. Very ...
4 years, 1 month ago (2016-11-19 04:59:46 UTC) #9
Dirk Pranke
https://codereview.chromium.org/2512043002/diff/1/.gn File .gn (right): https://codereview.chromium.org/2512043002/diff/1/.gn#newcode243 .gn:243: "//third_party/skia/gn/shared_sources.gni", On 2016/11/18 00:19:43, mtklein_C wrote: > FWIW, this ...
4 years, 1 month ago (2016-11-19 05:03:58 UTC) #10
Michael Achenbach
LGTM, I like it!
4 years, 1 month ago (2016-11-21 10:18:48 UTC) #11
brettw
lgtm
4 years, 1 month ago (2016-11-21 16:11:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512043002/40001
4 years, 1 month ago (2016-11-21 17:37:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/184926)
4 years, 1 month ago (2016-11-21 19:03:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512043002/40001
4 years, 1 month ago (2016-11-22 01:36:34 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-22 03:08:24 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 03:09:55 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1cfa53187039597e5cdaa302cab1921a57060dce
Cr-Commit-Position: refs/heads/master@{#433764}

Powered by Google App Engine
This is Rietveld 408576698