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

Unified Diff: build/android/pylib/remote/device/dummy/dummy.gyp

Issue 1590243003: [Android] Rework multidex and enable multidex for unit_tests_apk. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed Created 4 years, 11 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 | « build/android/java_cpp_template.gypi ('k') | build/apk_browsertest.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/remote/device/dummy/dummy.gyp
diff --git a/build/android/pylib/remote/device/dummy/dummy.gyp b/build/android/pylib/remote/device/dummy/dummy.gyp
index b003edcd86950d84562dfe457c2b57f128bbe5f6..46e2d484f151029a215e1337c6e2b484ab9dea31 100644
--- a/build/android/pylib/remote/device/dummy/dummy.gyp
+++ b/build/android/pylib/remote/device/dummy/dummy.gyp
@@ -7,13 +7,18 @@
# APK, so we build a dummy APK to upload as the app.
{
+ 'variables': {
+ 'remote_device_dummy_apk_name': 'remote_device_dummy',
+ 'remote_device_dummy_apk_path': '<(PRODUCT_DIR)/apks/<(remote_device_dummy_apk_name).apk',
+ },
'targets': [
{
# GN: //build/android/pylib/remote/device/dummy:remote_device_dummy_apk
'target_name': 'remote_device_dummy_apk',
'type': 'none',
'variables': {
- 'apk_name': 'remote_device_dummy',
+ 'apk_name': '<(remote_device_dummy_apk_name)',
+ 'final_apk_path': '<(remote_device_dummy_apk_path)',
'java_in_dir': '.',
'android_manifest_path': '../../../../../../build/android/AndroidManifest.xml',
},
@@ -21,5 +26,22 @@
'../../../../../../build/java_apk.gypi',
]
},
+ {
+ 'target_name': 'require_remote_device_dummy_apk',
+ 'message': 'Making sure <(remote_device_dummy_apk_path) has been built.',
+ 'type': 'none',
+ 'variables': {
+ 'required_file': '<(PRODUCT_DIR)/remote_device_dummy_apk/<(remote_device_dummy_apk_name).apk.required',
+ },
+ 'inputs': [
+ '<(remote_device_dummy_apk_path)',
+ ],
+ 'outputs': [
+ '<(required_file)',
+ ],
+ 'action': [
+ 'python', '../../build/android/gyp/touch.py', '<(required_file)',
+ ],
+ }
]
}
« no previous file with comments | « build/android/java_cpp_template.gypi ('k') | build/apk_browsertest.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698