| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 { | |
| 5 'variables': { | |
| 6 'variables': { | |
| 7 'native_lib_placeholders_file%': '', | |
| 8 'chrome_apk_use_relocation_packer%': 1, | |
| 9 'conditions': [ | |
| 10 # Chromium linker crashes on component builds on Android 4.4. See | |
| 11 # b/11379966 | |
| 12 # Chromium linker causes instrumentation to return incorrect results. | |
| 13 ['android_must_copy_system_libraries == 0 and order_profiling == 0', { | |
| 14 'chrome_apk_use_chromium_linker%': 1, | |
| 15 'chrome_apk_load_library_from_zip%': 1, | |
| 16 }, { | |
| 17 'chrome_apk_use_chromium_linker%': 0, | |
| 18 'chrome_apk_load_library_from_zip%': 0, | |
| 19 }], | |
| 20 ], | |
| 21 }, | |
| 22 'asset_location': '<(PRODUCT_DIR)/assets/<(package_name)', | |
| 23 'java_in_dir_suffix': '/src_dummy', | |
| 24 'native_lib_version_name': '<(version_full)', | |
| 25 'proguard_enabled': 'true', | |
| 26 'proguard_flags_paths': ['<(DEPTH)/chrome/android/java/proguard.flags'], | |
| 27 'additional_input_paths' : ['<@(chrome_android_pak_output_resources)'], | |
| 28 'use_chromium_linker': '<(chrome_apk_use_chromium_linker)', | |
| 29 'conditions': [ | |
| 30 ['android_must_copy_system_libraries == 0 and "<(native_lib_placeholders_f
ile)" != ""', { | |
| 31 'native_lib_placeholders': ['<!@(cat <(native_lib_placeholders_file))'], | |
| 32 }], | |
| 33 # Pack relocations where the chromium linker is enabled. Packing is a | |
| 34 # no-op if this is not a Release build. | |
| 35 # TODO: Enable packed relocations for x64. See: b/20532404 | |
| 36 ['chrome_apk_use_chromium_linker == 1 and target_arch != "x64"', { | |
| 37 'use_relocation_packer': '<(chrome_apk_use_relocation_packer)', | |
| 38 }], | |
| 39 ], | |
| 40 'run_findbugs': 0, | |
| 41 }, | |
| 42 'includes': [ '../../build/java_apk.gypi' ], | |
| 43 } | |
| OLD | NEW |