DescriptionRemove default value checking in GN, adds getenv function, reorders parameters to rebase_path.
This allows us to have the default value vary according to other parameters. This is what we need in many cases, so having this restriction just made things more complicated.
The getenv function will allow us to replace some Python scripts with a fast native function call.
The use of rebase path is pretty annoying. 99% of all callers want the "from" directory to be the current one. I reordered the parameters to move the from directory later so we can have a default value for it.
This will require a patch to change all current callers of rebase_path when new deps are pulled.
BUG=342937
R=viettrungluu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251821
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : Use base::Environment #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Messages
Total messages: 2 (0 generated)
|