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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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)', |
202 '<@(extra_native_libs)', | |
203 ], | 202 ], |
204 }, | 203 }, |
205 ], | 204 ], |
206 'actions': [ | 205 'actions': [ |
207 { | 206 { |
208 'variables': { | 207 'variables': { |
209 'conditions': [ | 208 'conditions': [ |
210 ['use_chromium_linker == 1', { | 209 ['use_chromium_linker == 1', { |
211 'variables': { | 210 'variables': { |
212 'linker_input_libraries': [ | 211 'linker_input_libraries': [ |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 754 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
756 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 755 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
757 | 756 |
758 '-Dbasedir=.', | 757 '-Dbasedir=.', |
759 '-buildfile', | 758 '-buildfile', |
760 '<(DEPTH)/build/android/ant/apk-package.xml', | 759 '<(DEPTH)/build/android/ant/apk-package.xml', |
761 ] | 760 ] |
762 }, | 761 }, |
763 ], | 762 ], |
764 } | 763 } |
OLD | NEW |