Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Issue 939753003: Fix buggy usage of global variables in the build system (Closed)

Created:
5 years, 10 months ago by blundell
Modified:
5 years, 10 months ago
Reviewers:
jamesr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, Nick Bray (chromium)
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M build/module_args/mojo.gni View 1 chunk +6 lines, -6 lines 0 comments Download
M mojo/public/mojo.gni View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
blundell
5 years, 10 months ago (2015-02-18 20:52:39 UTC) #2
jamesr
lgtm
5 years, 10 months ago (2015-02-18 21:05:40 UTC) #3
blundell
Nick, I'm just waiting to land https://codereview.chromium.org/944843002/ in Chromium and then I'll land this.
5 years, 10 months ago (2015-02-20 13:03:18 UTC) #4
blundell
5 years, 10 months ago (2015-02-20 20:27:05 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c2261135ee590acd78d6903ae09a5c9bdec4f523 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698