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

Issue 1883283002: Start disabling GYP by default in runhooks in some configurations. (Closed)

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

Description

Start disabling GYP by default in runhooks in some configurations. The grand GYP disabling is beginning ... We want to turn of GYP by default in runhooks for configurations that should only be using GN now. For now we will only turnxs it off when gyp_chromium is passed the --running-as-hook flag (which runhooks will now pass), so invoking build/gyp_chromium will explicitly run. Also, you can set the env var GYP_CHROMIUM_NO_ACTION=0 and it will explicitly run (setting that var to =1 will explicitly *not* run and exit early). This CL takes a conservative first step and turns it off for Linux hosts that have no GYP_DEFINES set (including command line -D flags and values pulled in from any supplemental files, chromium.gyp_env, or ~/.gyp/include.gypi). Subsequent CLs will start broadening this. R=thakis@chromium.org, brettw@chromium.org, scottmg@chromium.org BUG=432967 Committed: https://crrev.com/4d1f42d07135d10b5e5dc156c64cd76fde6aec79 Cr-Commit-Position: refs/heads/master@{#387481}

Patch Set 1 #

Patch Set 2 : whoops, delete hook arg before invoking gyp #

Total comments: 1

Patch Set 3 : tweak messages #

Patch Set 4 : more message tweaking #

Total comments: 1

Patch Set 5 : use variable rather than string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/gyp_chromium.py View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
brettw
lgtm https://codereview.chromium.org/1883283002/diff/20001/build/gyp_chromium.py File build/gyp_chromium.py (right): https://codereview.chromium.org/1883283002/diff/20001/build/gyp_chromium.py#newcode334 build/gyp_chromium.py:334: print 'If you really want to run this, ...
4 years, 8 months ago (2016-04-14 21:35:15 UTC) #1
Dirk Pranke
On 2016/04/14 21:35:15, brettw wrote: > "run it" -> "run build/gyp_chromium.py" > Most people don't ...
4 years, 8 months ago (2016-04-14 21:37:18 UTC) #2
Dirk Pranke
4 years, 8 months ago (2016-04-14 21:39:41 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/1883283002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883283002/60001
4 years, 8 months ago (2016-04-14 21:40:31 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/211520)
4 years, 8 months ago (2016-04-14 22:23:00 UTC) #9
scottmg
lgtm https://codereview.chromium.org/1883283002/diff/60001/build/gyp_chromium.py File build/gyp_chromium.py (right): https://codereview.chromium.org/1883283002/diff/60001/build/gyp_chromium.py#newcode326 build/gyp_chromium.py:326: if ('--running-as-hook' in args and Maybe running_as_hook = ...
4 years, 8 months ago (2016-04-14 22:29:57 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883283002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883283002/60001
4 years, 8 months ago (2016-04-14 22:30:15 UTC) #12
Dirk Pranke
On 2016/04/14 22:29:57, scottmg wrote: > lgtm > > https://codereview.chromium.org/1883283002/diff/60001/build/gyp_chromium.py > File build/gyp_chromium.py (right): > ...
4 years, 8 months ago (2016-04-14 22:36:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883283002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883283002/80001
4 years, 8 months ago (2016-04-14 22:41:27 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-15 00:03:07 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 00:06:24 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4d1f42d07135d10b5e5dc156c64cd76fde6aec79
Cr-Commit-Position: refs/heads/master@{#387481}

Powered by Google App Engine
This is Rietveld 408576698