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

Unified Diff: scripts/slave/recipe_modules/chromium/config.py

Issue 17635005: Make blink_trybot recipe work on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium/config.py
diff --git a/scripts/slave/recipe_modules/chromium/config.py b/scripts/slave/recipe_modules/chromium/config.py
index cd1a8cc2f26990c8fc0b70c4e5907aa3146fcb08..52daacb8044ad3f30683093655740792623aef31 100644
--- a/scripts/slave/recipe_modules/chromium/config.py
+++ b/scripts/slave/recipe_modules/chromium/config.py
@@ -62,7 +62,8 @@ HostPlatformValue = object()
# Schema for config items in this module.
def BaseConfig(HOST_PLATFORM=None, HOST_ARCH=None, HOST_BITS=None,
TARGET_PLATFORM=None, TARGET_ARCH=HostPlatformValue,
- TARGET_BITS=HostPlatformValue, BUILD_CONFIG=norm_build_config()):
+ TARGET_BITS=HostPlatformValue, BUILD_CONFIG=norm_build_config(),
+ **_kwargs):
agable 2013/06/25 15:55:28 why?
iannucci 2013/06/25 21:22:09 Because when you set_config(..., SOME_OPTION=Data)
assert HOST_PLATFORM and HOST_ARCH and HOST_BITS
TARGET_PLATFORM = TARGET_PLATFORM or HOST_PLATFORM
TARGET_ARCH = HOST_ARCH if TARGET_ARCH is HostPlatformValue else TARGET_ARCH
@@ -79,7 +80,7 @@ def BaseConfig(HOST_PLATFORM=None, HOST_ARCH=None, HOST_BITS=None,
GYP_GENERATORS = SetConfig(str, ','.join),
GYP_GENERATOR_FLAGS = DictConfig(
lambda i: ('%s=%s' % i), ' '.join, (str,int)),
- GYP_MSVS_VERSION = SimpleConfig(str, empty_val="", required=False),
+ GYP_MSVS_VERSION = SimpleConfig(str, required=False),
),
build_dir = SimpleConfig(str),

Powered by Google App Engine
This is Rietveld 408576698