DescriptionAdd support for a 'default' target to GN.
Many build systems (including make and ninja) have the
concept of a "default" target that should be built if
you don't specify something explicitly to build: in
make, it's the first target found in the Makefile; in ninja
it is the target declared with the "default" directive, and
if that isn't found, the first target in the ninja file.
This CL adds the ability to set the "default" target
in the GN file; if it isn't set, we use GN's prior behavior,
which is to use "all" as the default target, and build
everything.
R=brettw@chromium.org
BUG=440644
Committed: https://crrev.com/576ecade9157d40a85f5b7b8b724199dedd2a006
Cr-Commit-Position: refs/heads/master@{#307770}
Patch Set 1 #
Messages
Total messages: 12 (3 generated)
|