| 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 '<(strip_stamp)', | 351 '<(strip_stamp)', |
| 352 ], | 352 ], |
| 353 'stamp': '<(version_stamp)' | 353 'stamp': '<(version_stamp)' |
| 354 }, | 354 }, |
| 355 'includes': ['../build/android/insert_chromium_version.gypi'], | 355 'includes': ['../build/android/insert_chromium_version.gypi'], |
| 356 }, | 356 }, |
| 357 { | 357 { |
| 358 'action_name': 'pack_arm_relocations', | 358 'action_name': 'pack_arm_relocations', |
| 359 'variables': { | 359 'variables': { |
| 360 'conditions': [ | 360 'conditions': [ |
| 361 ['use_chromium_linker == 1 and use_relocation_packer == 1', { | 361 ['use_chromium_linker == 1 and use_relocation_packer == 1 and prof
iling != 1', { |
| 362 'enable_packing': 1, | 362 'enable_packing': 1, |
| 363 }, { | 363 }, { |
| 364 'enable_packing': 0, | 364 'enable_packing': 0, |
| 365 }], | 365 }], |
| 366 ], | 366 ], |
| 367 'exclude_packing_list': [ | 367 'exclude_packing_list': [ |
| 368 '<(libchromium_android_linker)', | 368 '<(libchromium_android_linker)', |
| 369 ], | 369 ], |
| 370 'ordered_libraries_file%': '<(ordered_libraries_file)', | 370 'ordered_libraries_file%': '<(ordered_libraries_file)', |
| 371 'stripped_libraries_dir%': '<(stripped_libraries_dir)', | 371 'stripped_libraries_dir%': '<(stripped_libraries_dir)', |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 '-DEMMA_INSTRUMENT=<(emma_instrument)', | 912 '-DEMMA_INSTRUMENT=<(emma_instrument)', |
| 913 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', | 913 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', |
| 914 | 914 |
| 915 '-Dbasedir=.', | 915 '-Dbasedir=.', |
| 916 '-buildfile', | 916 '-buildfile', |
| 917 '<(DEPTH)/build/android/ant/apk-package.xml', | 917 '<(DEPTH)/build/android/ant/apk-package.xml', |
| 918 ] | 918 ] |
| 919 }, | 919 }, |
| 920 ], | 920 ], |
| 921 } | 921 } |
| OLD | NEW |