Descriptiongn: make gn gen preserve import statements passed in --args
Previously, gn gen would expand all imports and only record the final
arg keyvalue pairs in args.gn, if called as gn gen --args='import...'.
Now the actual import statement will be recorded. This allows avoiding
a manual args.gn edit of you want an actual import statement there, for
example if the imported gni houses a predefined set of default args
that you want to follow, and want to re-gn when it changes.
R=brettw@chromium.org,dpranke@chromium.org
BUG=588513
Committed: https://crrev.com/9f58d6d943aa2c6bd32be6dbe85a130b8c75efe5
Cr-Commit-Position: refs/heads/master@{#412687}
Patch Set 1 #Patch Set 2 : order #
Total comments: 2
Patch Set 3 : fixes #
Messages
Total messages: 8 (3 generated)
|