Index: build/android/gyp/push_libraries.py |
diff --git a/build/android/gyp/push_libraries.py b/build/android/gyp/push_libraries.py |
index 349e0cbafc621c697be218da546d9b0d079306bc..a2060c6655e1a879c16dfc67cbefddbf570a0a98 100755 |
--- a/build/android/gyp/push_libraries.py |
+++ b/build/android/gyp/push_libraries.py |
@@ -13,6 +13,11 @@ import optparse |
import os |
import sys |
+BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), os.pardir) |
+sys.path.append(BUILD_ANDROID_DIR) |
+ |
+from pylib import constants |
+ |
from util import build_device |
from util import build_utils |
from util import md5_check |
@@ -57,10 +62,13 @@ def main(argv): |
parser.add_option('--stamp', help='Path to touch on success.') |
parser.add_option('--build-device-configuration', |
help='Path to build device configuration.') |
+ parser.add_option('--configuration-name', |
+ help='The build CONFIGURATION_NAME') |
options, _ = parser.parse_args() |
required_options = ['libraries_dir', 'device_dir', 'libraries_json'] |
build_utils.CheckOptions(options, parser, required=required_options) |
+ constants.SetBuildType(options.configuration_name) |
DoPush(options) |