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

Issue 2925863002: check_gn_headers: use pinned depot_tools (Closed)

Created:
3 years, 6 months ago by nodir
Modified:
3 years, 6 months ago
Reviewers:
Dirk Pranke, wychen
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

check_gn_headers: use pinned depot_tools build/check_gn_headers.py currently assumes depot_tools is in $PATH. This is false on some systems. Use the DEPS-pinned depot_tools instead. Bug: 729811 Review-Url: https://codereview.chromium.org/2925863002 Cr-Commit-Position: refs/heads/master@{#477559} Committed: https://chromium.googlesource.com/chromium/src/+/6a40e94018f930fd154f12a309b0a211e9e5f915

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix depot_tools path #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M build/check_gn_headers.py View 1 4 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
nodir
PTAL
3 years, 6 months ago (2017-06-06 15:54:15 UTC) #1
nodir
+wychen
3 years, 6 months ago (2017-06-06 21:40:44 UTC) #3
Dirk Pranke
lgtm
3 years, 6 months ago (2017-06-06 21:49:11 UTC) #4
wychen
Thanks for fixing this! Sorry I didn't notice LUCI bots are affected.
3 years, 6 months ago (2017-06-06 21:57:57 UTC) #7
wychen
https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py File build/check_gn_headers.py (right): https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py#newcode31 build/check_gn_headers.py:31: cmd = [os.path.join(DEPOT_TOOLS_DIR, 'ninja'), '-C', out_dir, '-t', 'deps'] I ...
3 years, 6 months ago (2017-06-07 01:27:03 UTC) #10
Dirk Pranke
https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py File build/check_gn_headers.py (right): https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py#newcode24 build/check_gn_headers.py:24: DEPOT_TOOLS_DIR = os.path.join(SRC_DIR, 'depot_tools') This needs to be os.path.join(SRC_DIR, ...
3 years, 6 months ago (2017-06-07 01:29:54 UTC) #11
wychen
lgtm with the third_party fix. https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py File build/check_gn_headers.py (right): https://codereview.chromium.org/2925863002/diff/1/build/check_gn_headers.py#newcode31 build/check_gn_headers.py:31: cmd = [os.path.join(DEPOT_TOOLS_DIR, 'ninja'), ...
3 years, 6 months ago (2017-06-07 01:32:21 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/2925863002/20001
3 years, 6 months ago (2017-06-07 04:24:35 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 05:49:16 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6a40e94018f930fd154f12a309b0...

Powered by Google App Engine
This is Rietveld 408576698