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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 '<(DEPTH)/base/base.gyp:chromium_android_linker', | 181 '<(DEPTH)/base/base.gyp:chromium_android_linker', |
182 ], | 182 ], |
183 }], | 183 }], |
184 ['native_lib_target != ""', { | 184 ['native_lib_target != ""', { |
185 'variables': { | 185 'variables': { |
186 'generated_src_dirs': [ '<(native_libraries_java_dir)' ], | 186 'generated_src_dirs': [ '<(native_libraries_java_dir)' ], |
187 'native_libs_paths': [ | 187 'native_libs_paths': [ |
188 '<(SHARED_LIB_DIR)/<(native_lib_target).>(android_product_extension)' | 188 '<(SHARED_LIB_DIR)/<(native_lib_target).>(android_product_extension)' |
189 ], | 189 ], |
190 'package_input_paths': [ | 190 'package_input_paths': [ |
191 '<(apk_package_native_libs_dir)/<(android_app_abi)/<(android_gdbserver
_executable)', | 191 '<(apk_package_native_libs_dir)/<(android_app_abi)/gdbserver', |
192 ], | 192 ], |
193 }, | 193 }, |
194 'copies': [ | 194 'copies': [ |
195 { | 195 { |
196 # gdbserver is always copied into the APK's native libs dir. The ant | 196 # gdbserver is always copied into the APK's native libs dir. The ant |
197 # build scripts (apkbuilder task) will only include it in a debug | 197 # build scripts (apkbuilder task) will only include it in a debug |
198 # build. | 198 # build. |
199 'destination': '<(apk_package_native_libs_dir)/<(android_app_abi)', | 199 'destination': '<(apk_package_native_libs_dir)/<(android_app_abi)', |
200 'files': [ | 200 'files': [ |
201 '<(android_gdbserver)', | 201 '<(android_gdbserver)', |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 755 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
756 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 756 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
757 | 757 |
758 '-Dbasedir=.', | 758 '-Dbasedir=.', |
759 '-buildfile', | 759 '-buildfile', |
760 '<(DEPTH)/build/android/ant/apk-package.xml', | 760 '<(DEPTH)/build/android/ant/apk-package.xml', |
761 ] | 761 ] |
762 }, | 762 }, |
763 ], | 763 ], |
764 } | 764 } |
OLD | NEW |