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

Issue 655343002: GN: Move configs for single-use Linux packages close to usage (Closed)

Created:
6 years, 2 months ago by Chris Masone
Modified:
6 years, 2 months ago
Reviewers:
jamesr, brettw, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GN: Move configs for single-use Linux packages close to usage Several configs in the Linux GN build are used in only one place. Defining these configs in build/config/linux/BUILD.gn makes them get resolved on all Linux-derived platforms, during both target builds and host-tool builds. This doesn't work on CrOS, which does not need or want the packages references by these configs. gconf is used in multiple places, so moving the config won't work. Instead, the gconf config is only resolved when building for a Linux target. BUG=None TEST=GN build for Linux and CrOS R=jamesr Committed: https://crrev.com/0a9e4ca5dc612260424fe103846af9ae145efcd9 Cr-Commit-Position: refs/heads/master@{#299903}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address jamesr comments #

Total comments: 2

Patch Set 3 : is_linux -> is_desktop_linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -20 lines) Patch
M build/config/linux/BUILD.gn View 1 1 chunk +9 lines, -17 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/BUILD.gn View 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
Chris Masone
6 years, 2 months ago (2014-10-15 22:28:53 UTC) #1
jamesr
https://codereview.chromium.org/655343002/diff/1/build/config/linux/BUILD.gn File build/config/linux/BUILD.gn (right): https://codereview.chromium.org/655343002/diff/1/build/config/linux/BUILD.gn#newcode124 build/config/linux/BUILD.gn:124: if (current_toolchain == host_toolchain && host_toolchain == default_toolchain) { ...
6 years, 2 months ago (2014-10-15 22:46:21 UTC) #2
Chris Masone
https://codereview.chromium.org/655343002/diff/1/build/config/linux/BUILD.gn File build/config/linux/BUILD.gn (right): https://codereview.chromium.org/655343002/diff/1/build/config/linux/BUILD.gn#newcode124 build/config/linux/BUILD.gn:124: if (current_toolchain == host_toolchain && host_toolchain == default_toolchain) { ...
6 years, 2 months ago (2014-10-15 22:52:50 UTC) #4
jamesr
lgtm https://codereview.chromium.org/655343002/diff/20001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/655343002/diff/20001/chrome/browser/BUILD.gn#newcode16 chrome/browser/BUILD.gn:16: if (is_linux) { nit: might as well make ...
6 years, 2 months ago (2014-10-15 22:53:47 UTC) #5
Chris Masone
+brett and sky for OWNERS review. https://codereview.chromium.org/655343002/diff/20001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/655343002/diff/20001/chrome/browser/BUILD.gn#newcode16 chrome/browser/BUILD.gn:16: if (is_linux) { ...
6 years, 2 months ago (2014-10-15 23:17:50 UTC) #7
sky
LGTM
6 years, 2 months ago (2014-10-16 00:00:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655343002/40001
6 years, 2 months ago (2014-10-16 00:13:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/17918)
6 years, 2 months ago (2014-10-16 00:49:52 UTC) #12
Chris Masone
Ah, thought sky was an owner for all these files. Brett? On Wednesday, October 15, ...
6 years, 2 months ago (2014-10-16 00:55:47 UTC) #13
jamesr
On 2014/10/16 00:55:47, Chris Masone wrote: > Ah, thought sky was an owner for all ...
6 years, 2 months ago (2014-10-16 00:56:48 UTC) #14
Chris Masone
Oh, thanks! I'm on my phone. On Wednesday, October 15, 2014, <jamesr@chromium.org> wrote: > On ...
6 years, 2 months ago (2014-10-16 00:57:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655343002/40001
6 years, 2 months ago (2014-10-16 01:00:25 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/17918)
6 years, 2 months ago (2014-10-16 01:50:13 UTC) #19
Chris Masone
Hm. I guess Brett's still needed for one of these, per the bot. Build/config/linux/BUILD.gn I ...
6 years, 2 months ago (2014-10-16 14:46:48 UTC) #20
brettw
lgtm
6 years, 2 months ago (2014-10-16 16:36:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655343002/40001
6 years, 2 months ago (2014-10-16 16:37:12 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-16 16:40:59 UTC) #25
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 16:41:44 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0a9e4ca5dc612260424fe103846af9ae145efcd9
Cr-Commit-Position: refs/heads/master@{#299903}

Powered by Google App Engine
This is Rietveld 408576698