Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / android / chrome_apk.gypi
blobfeee8a2bcd792ce67e4d8f5015a6d47369fc4fdb
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.
5   'variables': {
6     'variables': {
7       'native_lib_placeholders_file%': '',
8       'chrome_apk_use_relocation_packer%': 1,
9       'conditions': [
10         # Use the chromium linker unless cygprofile instrumentation is active.
11         # Chromium linker causes instrumentation to return incorrect results.
12         ['order_profiling == 0', {
13           'chrome_apk_use_chromium_linker%': 1,
14           'chrome_apk_load_library_from_zip%': 1,
15         }, {
16           'chrome_apk_use_chromium_linker%': 0,
17           'chrome_apk_load_library_from_zip%': 0,
18         }],
19       ],
20     },
21     'asset_location': '<(PRODUCT_DIR)/assets/<(package_name)',
22     'java_in_dir_suffix': '/src_dummy',
23     'native_lib_version_name': '<(version_full)',
24     'proguard_enabled': 'true',
25     'proguard_flags_paths': ['<(DEPTH)/chrome/android/java/proguard.flags'],
26     'additional_input_paths' : ['<@(chrome_android_pak_output_resources)'],
27     'conditions': [
28       ['android_must_copy_system_libraries == 0', {
29         # Only enable the chromium linker on regular builds, since the
30         # component build crashes on Android 4.4. See b/11379966
31         'use_chromium_linker': '<(chrome_apk_use_chromium_linker)',
32         'conditions': [
33           ['"<(native_lib_placeholders_file)" != ""', {
34             'native_lib_placeholders': ['<!@(cat <(native_lib_placeholders_file))'],
35           }],
36           # Pack relocations where the chromium linker is enabled. Packing is
37           # a no-op if this is not a Release build.
38           # TODO: Enable packed relocations for x64. See: b/20532404
39           ['chrome_apk_use_chromium_linker == 1 and target_arch != "x64"', {
40             'use_relocation_packer': '<(chrome_apk_use_relocation_packer)',
41           }],
42         ],
43       }],
44     ],
45     'run_findbugs': 0,
46   },
47   'includes': [ '../../build/java_apk.gypi' ],