| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
| 6 # to build Android APKs in a consistent manner. | 6 # to build Android APKs in a consistent manner. |
| 7 # | 7 # |
| 8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
| 9 # { | 9 # { |
| 10 # 'target_name': 'my_package_apk', | 10 # 'target_name': 'my_package_apk', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 'dex_path': '<(intermediate_dir)/classes.dex', | 99 'dex_path': '<(intermediate_dir)/classes.dex', |
| 100 'emma_device_jar': '<(android_sdk_root)/tools/lib/emma_device.jar', | 100 'emma_device_jar': '<(android_sdk_root)/tools/lib/emma_device.jar', |
| 101 'android_manifest_path%': '<(java_in_dir)/AndroidManifest.xml', | 101 'android_manifest_path%': '<(java_in_dir)/AndroidManifest.xml', |
| 102 'push_stamp': '<(intermediate_dir)/push.stamp', | 102 'push_stamp': '<(intermediate_dir)/push.stamp', |
| 103 'link_stamp': '<(intermediate_dir)/link.stamp', | 103 'link_stamp': '<(intermediate_dir)/link.stamp', |
| 104 'package_resources_stamp': '<(intermediate_dir)/package_resources.stamp', | 104 'package_resources_stamp': '<(intermediate_dir)/package_resources.stamp', |
| 105 'unsigned_apk_path': '<(intermediate_dir)/<(apk_name)-unsigned.apk', | 105 'unsigned_apk_path': '<(intermediate_dir)/<(apk_name)-unsigned.apk', |
| 106 'final_apk_path%': '<(PRODUCT_DIR)/apks/<(apk_name).apk', | 106 'final_apk_path%': '<(PRODUCT_DIR)/apks/<(apk_name).apk', |
| 107 'incomplete_apk_path': '<(intermediate_dir)/<(apk_name)-incomplete.apk', | 107 'incomplete_apk_path': '<(intermediate_dir)/<(apk_name)-incomplete.apk', |
| 108 'apk_install_record': '<(intermediate_dir)/apk_install.record.stamp', | 108 'apk_install_record': '<(intermediate_dir)/apk_install.record.stamp', |
| 109 'device_intermediate_dir': '/data/local/tmp/chromium/<(_target_name)/<(CONFI
GURATION_NAME)', | 109 'device_intermediate_dir': '/data/data/org.chromium.gyp_managed_install/<(_t
arget_name)/<(CONFIGURATION_NAME)', |
| 110 'symlink_script_host_path': '<(intermediate_dir)/create_symlinks.sh', | 110 'symlink_script_host_path': '<(intermediate_dir)/create_symlinks.sh', |
| 111 'symlink_script_device_path': '<(device_intermediate_dir)/create_symlinks.sh
', | 111 'symlink_script_device_path': '<(device_intermediate_dir)/create_symlinks.sh
', |
| 112 'create_standalone_apk%': 1, | 112 'create_standalone_apk%': 1, |
| 113 'variables': { | 113 'variables': { |
| 114 'variables': { | 114 'variables': { |
| 115 'native_lib_target%': '', | 115 'native_lib_target%': '', |
| 116 'native_lib_version_name%': '', | 116 'native_lib_version_name%': '', |
| 117 'use_chromium_linker%' : 0, | 117 'use_chromium_linker%' : 0, |
| 118 'enable_chromium_linker_tests%': 0, | 118 'enable_chromium_linker_tests%': 0, |
| 119 'is_test_apk%': 0, | 119 'is_test_apk%': 0, |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 726 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
| 727 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 727 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
| 728 | 728 |
| 729 '-Dbasedir=.', | 729 '-Dbasedir=.', |
| 730 '-buildfile', | 730 '-buildfile', |
| 731 '<(DEPTH)/build/android/ant/apk-package.xml', | 731 '<(DEPTH)/build/android/ant/apk-package.xml', |
| 732 ] | 732 ] |
| 733 }, | 733 }, |
| 734 ], | 734 ], |
| 735 } | 735 } |
| OLD | NEW |