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 Review URL: https://codereview.chromium.org/655343002 Cr-Commit-Position: refs/heads/master@{#299903}
Showing
Please register or sign in to comment