| Index: build/java_apk.gypi
|
| diff --git a/build/java_apk.gypi b/build/java_apk.gypi
|
| index bfe8d9c1c3f39008ef7ba0a0199632104776a658..aa85de6d661134df5d62b8871a9abcfbdbf6b3b2 100644
|
| --- a/build/java_apk.gypi
|
| +++ b/build/java_apk.gypi
|
| @@ -84,6 +84,8 @@
|
| 'dex_path': '<(intermediate_dir)/classes.dex',
|
| 'android_manifest': '<(java_in_dir)/AndroidManifest.xml',
|
| 'codegen_input_paths': [],
|
| + 'final_apk_path': '<(PRODUCT_DIR)/apks/<(apk_name).apk',
|
| + 'apk_install_stamp': '<(intermediate_dir)/apk_install.stamp',
|
| },
|
| 'sources': [
|
| '<@(native_libs_paths)',
|
| @@ -157,6 +159,28 @@
|
| },
|
| ],
|
| }],
|
| + ['android_managed_install == 1', {
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'apk_install_<(_target_name)',
|
| + 'message': 'Installing <(apk_name).apk',
|
| + 'inputs': [
|
| + '<(DEPTH)/build/android/pylib/build_utils.py',
|
| + '<(DEPTH)/build/android/apk_install.py',
|
| + '<(final_apk_path)',
|
| + ],
|
| + 'outputs': [
|
| + '<(apk_install_stamp)'
|
| + ],
|
| + 'action': [
|
| + 'python', '<(DEPTH)/build/android/apk_install.py',
|
| + '--android-sdk-tools=<(android_sdk_tools)',
|
| + '--apk-path=<(final_apk_path)',
|
| + '--stamp=<(apk_install_stamp)'
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| ],
|
| 'actions': [
|
| {
|
| @@ -362,7 +386,7 @@
|
| }],
|
| ],
|
| 'outputs': [
|
| - '<(PRODUCT_DIR)/apks/<(apk_name).apk',
|
| + '<(final_apk_path)',
|
| ],
|
| 'action': [
|
| 'ant', '-quiet',
|
|
|