DescriptionFix buggy usage of global variables in the build system
//build/module_args/mojo.gni defined variables whose values were then
modified in //mojo/public/mojo.gni. This is not a legit practice in GN.
GN doesn't complain as long as the variable isn't actually set to a
different value, but barfs once the variable's value is actually changed
in the second file (which is why this took a little while to shake itself
out).
The remedy is to use different variable names in the two files.
R=jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/c2261135ee590acd78d6903ae09a5c9bdec4f523
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|