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

Issue 2161063003: 🎫 Fail write_build_config.py if current_toolchain != default_toolchain (Closed)

Created:
4 years, 5 months ago by agrieve
Modified:
4 years, 4 months ago
Reviewers:
michaelbai, brettw
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

Fail write_build_config.py if current_toolchain != default_toolchain There are a few spots in the Android templates that assume appending __build_config to a given target label will result in the label for a write_build_config action. When toolchains exist in a label, appending like this doesn't work. E.g.: :some_label(//toolchain)__build_config Previously, we added a GN assert to enforce default toolchain, but that was too strict, as it made it so no other targets that are defined in the same BUILD.gn file could use a non-default toolchain. This change make the error a build-time error rather than a gn gen error. BUG=629371 Committed: https://crrev.com/83bcd862038586061feea4b390ac524ab0a9a358 Cr-Commit-Position: refs/heads/master@{#408576}

Patch Set 1 #

Patch Set 2 : Fix build deps #

Total comments: 2

Patch Set 3 : add comment #

Patch Set 4 : put back _java target removed from test() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -19 lines) Patch
M build/android/gyp/write_build_config.py View 1 chunk +4 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M device/vr/BUILD.gn View 1 1 chunk +0 lines, -4 lines 0 comments Download
M media/capture/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M ui/gl/BUILD.gn View 1 1 chunk +1 line, -4 lines 0 comments Download
M ui/shell_dialogs/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 51 (28 generated)
agrieve
On 2016/07/19 14:16:58, agrieve wrote: > The CQ bit was checked by mailto:agrieve@chromium.org to run ...
4 years, 5 months ago (2016-07-19 14:17:02 UTC) #4
michaelbai
On 2016/07/19 14:17:02, agrieve wrote: > On 2016/07/19 14:16:58, agrieve wrote: > > The CQ ...
4 years, 5 months ago (2016-07-19 18:13:30 UTC) #8
agrieve
On 2016/07/19 18:13:30, michaelbai wrote: > On 2016/07/19 14:17:02, agrieve wrote: > > On 2016/07/19 ...
4 years, 5 months ago (2016-07-20 02:17:37 UTC) #9
agrieve
Looks like there were some native targets that depended on java targets unnecessarily. +brettw: Please ...
4 years, 5 months ago (2016-07-25 17:43:39 UTC) #15
brettw
If we know a step is going to fail, can we just make that a ...
4 years, 4 months ago (2016-07-26 19:24:50 UTC) #16
agrieve
On 2016/07/26 19:24:50, brettw (ping on IM after 24h) wrote: > If we know a ...
4 years, 4 months ago (2016-07-26 20:05:48 UTC) #17
brettw
lgtm https://codereview.chromium.org/2161063003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/2161063003/diff/20001/build/config/android/internal_rules.gni#newcode337 build/config/android/internal_rules.gni:337: _msg = [ Can you add a comment ...
4 years, 4 months ago (2016-07-26 20:29:48 UTC) #18
agrieve
https://codereview.chromium.org/2161063003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/2161063003/diff/20001/build/config/android/internal_rules.gni#newcode337 build/config/android/internal_rules.gni:337: _msg = [ On 2016/07/26 20:29:48, brettw (ping on ...
4 years, 4 months ago (2016-07-27 02:27:13 UTC) #19
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/2161063003/40001
4 years, 4 months ago (2016-07-27 02:27:40 UTC) #22
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/111304)
4 years, 4 months ago (2016-07-27 03:38:03 UTC) #24
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/2161063003/40001
4 years, 4 months ago (2016-07-27 13:52:36 UTC) #26
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/111544)
4 years, 4 months ago (2016-07-27 14:55:43 UTC) #28
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/2161063003/40001
4 years, 4 months ago (2016-07-27 19:06:00 UTC) #30
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/111744)
4 years, 4 months ago (2016-07-27 20:18:02 UTC) #32
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/2161063003/40001
4 years, 4 months ago (2016-07-28 00:34:06 UTC) #34
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/112006)
4 years, 4 months ago (2016-07-28 01:42:07 UTC) #36
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/2161063003/40001
4 years, 4 months ago (2016-07-28 13:39:31 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/103632)
4 years, 4 months ago (2016-07-28 13:48:56 UTC) #40
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/2161063003/40001
4 years, 4 months ago (2016-07-29 01:35:13 UTC) #42
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/112746)
4 years, 4 months ago (2016-07-29 02:39:17 UTC) #44
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/2161063003/60001
4 years, 4 months ago (2016-07-29 02:56:29 UTC) #47
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-29 04:26:35 UTC) #49
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 04:28:24 UTC) #51
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/83bcd862038586061feea4b390ac524ab0a9a358
Cr-Commit-Position: refs/heads/master@{#408576}

Powered by Google App Engine
This is Rietveld 408576698