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

Unified Diff: build/android/gyp/apk_install.py

Issue 23936004: This fixes the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 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
« no previous file with comments | « no previous file | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/apk_install.py
diff --git a/build/android/gyp/apk_install.py b/build/android/gyp/apk_install.py
index e308aabdb2271a1824b618994fc5a92ac9a80b7f..ef3032b088cf14e1607ef2a82acc4a131060c519 100755
--- a/build/android/gyp/apk_install.py
+++ b/build/android/gyp/apk_install.py
@@ -21,6 +21,7 @@ from util import md5_check
BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..')
sys.path.append(BUILD_ANDROID_DIR)
+from pylib import constants
from pylib.utils import apk_helper
def GetNewMetadata(device, apk_package):
@@ -62,6 +63,8 @@ def main(argv):
help='Path to build device configuration.')
parser.add_option('--stamp',
help='Path to touch on success.')
+ parser.add_option('--configuration-name',
+ help='The build CONFIGURATION_NAME')
options, _ = parser.parse_args()
device = build_device.GetBuildDeviceFromPath(
@@ -69,6 +72,8 @@ def main(argv):
if not device:
return
+ constants.SetBuildType(options.configuration_name)
+
serial_number = device.GetSerialNumber()
apk_package = apk_helper.GetPackageName(options.apk_path)
« no previous file with comments | « no previous file | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698