DescriptionGN: 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 #
Messages
Total messages: 26 (8 generated)
|