Index: build/android/buildbot/buildbot_functions.sh |
diff --git a/build/android/buildbot/buildbot_functions.sh b/build/android/buildbot/buildbot_functions.sh |
index 482ec9030934ed10b979da0f845c530d2d3df7a3..92d989ac135d6cb7d815ab0b47aad771f5a36a66 100755 |
--- a/build/android/buildbot/buildbot_functions.sh |
+++ b/build/android/buildbot/buildbot_functions.sh |
@@ -83,7 +83,8 @@ function bb_baseline_setup { |
bb_setup_goma_internal |
. build/android/envsetup.sh |
export GYP_DEFINES+=" fastbuild=1" |
- |
+ export GYP_DEFINES+=" $(bb_get_json_prop "$FACTORY_PROPERTIES" \ |
+ extra_gyp_defines)" |
# Should be called only after envsetup is done. |
bb_run_gclient_hooks |
} |
@@ -311,5 +312,5 @@ function bb_get_json_prop { |
local JSON="$1" |
local PROP="$2" |
- python -c "import json; print json.loads('$JSON').get('$PROP')" |
+ python -c "import json; print json.loads('$JSON').get('$PROP', '')" |
} |