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

Issue 2288273002: Fix imports in gcc_toolchain.gni to not rely on //tools. (Closed)

Created:
4 years, 3 months ago by estevenson
Modified:
4 years, 3 months ago
CC:
chromium-reviews, Michael Achenbach
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix imports in gcc_toolchain.gni to not rely on //tools. Importing //tools into gcc_toolchain.gni breaks certain downstream projects that include //build but not //tools. This CL changes gcc_toolchain.gni to only rely on files within //build. BUG=641981 Committed: https://crrev.com/47f910a6e58b633bd902adce24feecf26901f84d Cr-Commit-Position: refs/heads/master@{#415113}

Patch Set 1 #

Patch Set 2 : Check to make sure enable_resource_whitelist_generation is defined. #

Total comments: 1

Patch Set 3 : Address dpranke comments #

Total comments: 2

Patch Set 4 : Add missing import to grit_rule.gni #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M build/config/android/config.gni View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_repack_locales.gni View 1 chunk +0 lines, -1 line 0 comments Download
M tools/grit/grit_rule.gni View 1 2 3 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
estevenson
Hi Dirk, ptal!
4 years, 3 months ago (2016-08-29 16:19:33 UTC) #3
Dirk Pranke
lgtm w/ suggested change. https://codereview.chromium.org/2288273002/diff/20001/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/2288273002/diff/20001/build/toolchain/gcc_toolchain.gni#newcode223 build/toolchain/gcc_toolchain.gni:223: enable_resource_whitelist_generation This should just import("//build/config/android/config.gni") ...
4 years, 3 months ago (2016-08-29 16:33:00 UTC) #4
estevenson
Ptal Dirk! https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni#newcode5 build/toolchain/gcc_toolchain.gni:5: import("//build/config/android/config.gni") Hiding this behind is_android would require ...
4 years, 3 months ago (2016-08-29 17:41:13 UTC) #5
Dirk Pranke
https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni#newcode5 build/toolchain/gcc_toolchain.gni:5: import("//build/config/android/config.gni") On 2016/08/29 17:41:12, estevenson wrote: > Hiding this ...
4 years, 3 months ago (2016-08-29 18:15:11 UTC) #6
Michael Achenbach
lgtm, thanks for fixing!
4 years, 3 months ago (2016-08-29 18:15:30 UTC) #8
estevenson
On 2016/08/29 18:15:11, Dirk Pranke wrote: > https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni > File build/toolchain/gcc_toolchain.gni (right): > > https://codereview.chromium.org/2288273002/diff/40001/build/toolchain/gcc_toolchain.gni#newcode5 ...
4 years, 3 months ago (2016-08-29 18:22:12 UTC) #11
estevenson
On 2016/08/29 18:22:12, estevenson wrote: > On 2016/08/29 18:15:11, Dirk Pranke wrote: > > > ...
4 years, 3 months ago (2016-08-29 18:22:56 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/2288273002/40001
4 years, 3 months ago (2016-08-29 18:27:48 UTC) #13
estevenson
4 years, 3 months ago (2016-08-29 18:56:50 UTC) #14
Dirk Pranke
still lgtm.
4 years, 3 months ago (2016-08-29 19:10:04 UTC) #16
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/2288273002/60001
4 years, 3 months ago (2016-08-30 00:01:11 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 04:46:31 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 04:48:34 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/47f910a6e58b633bd902adce24feecf26901f84d
Cr-Commit-Position: refs/heads/master@{#415113}

Powered by Google App Engine
This is Rietveld 408576698