DescriptionGN: Change gen command syntax, support relative dirs.
This removes the default "gen" command so that "gn" by itself does nothing (it prints a short help message).
The "gen" command now takes as an argument the output directory to use, and I removed the --output flag except for the "gyp" command (which will be needed until we update gyp_chromium).
Updates the base build file to keep in sync with recent changes.
True relative directories are now supported, so that the directories given to the gen command can be relative to the current one. It also supports relative directories for the desc and refs command. This allows you to be in the base directory and say "gn desc :base" and it will resolve the ":base" label relative to the current directory in the source tree.
R=dpranke@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252040
Patch Set 1 #Patch Set 2 : desc #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : Change in build file writing #
Total comments: 6
Patch Set 6 : review comments fixes #
Messages
Total messages: 4 (0 generated)
|