OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/internal_rules.gni") | 8 import("//build/config/android/internal_rules.gni") |
9 import("//build/config/compiler/compiler.gni") | 9 import("//build/config/compiler/compiler.gni") |
10 import("//build/config/dcheck_always_on.gni") | 10 import("//build/config/dcheck_always_on.gni") |
(...skipping 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1835 # Added emma to the target's classpath via its .build_config. | 1835 # Added emma to the target's classpath via its .build_config. |
1836 if (emma_coverage && !_emma_never_instrument) { | 1836 if (emma_coverage && !_emma_never_instrument) { |
1837 possible_config_deps += | 1837 possible_config_deps += |
1838 [ "//third_party/android_tools:emma_device_java" ] | 1838 [ "//third_party/android_tools:emma_device_java" ] |
1839 } | 1839 } |
1840 | 1840 |
1841 proguard_enabled = _proguard_enabled | 1841 proguard_enabled = _proguard_enabled |
1842 if (_proguard_enabled) { | 1842 if (_proguard_enabled) { |
1843 proguard_info = "$_proguard_output_jar_path.info" | 1843 proguard_info = "$_proguard_output_jar_path.info" |
1844 } | 1844 } |
| 1845 if (_enable_relocation_packing) { |
| 1846 enable_relocation_packing = "1" |
| 1847 } else { |
| 1848 enable_relocation_packing = "0" |
| 1849 } |
1845 | 1850 |
1846 # Don't depend on the runtime_deps target in order to avoid having to | 1851 # Don't depend on the runtime_deps target in order to avoid having to |
1847 # build the native libraries just to create the .build_config file. | 1852 # build the native libraries just to create the .build_config file. |
1848 # The dep is unnecessary since the runtime_deps file is created by gn gen | 1853 # The dep is unnecessary since the runtime_deps file is created by gn gen |
1849 # and the runtime_deps file is added to write_build_config.py's depfile. | 1854 # and the runtime_deps file is added to write_build_config.py's depfile. |
1850 if (_native_libs_deps != []) { | 1855 if (_native_libs_deps != []) { |
1851 shared_libraries_runtime_deps_file = _runtime_deps_file | 1856 shared_libraries_runtime_deps_file = _runtime_deps_file |
1852 } | 1857 } |
1853 if (_secondary_abi_native_libs_deps != []) { | 1858 if (_secondary_abi_native_libs_deps != []) { |
1854 secondary_abi_shared_libraries_runtime_deps_file = | 1859 secondary_abi_shared_libraries_runtime_deps_file = |
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3066 # because in practice they seem to contain classes required to be in the | 3071 # because in practice they seem to contain classes required to be in the |
3067 # classpath. | 3072 # classpath. |
3068 deps += _subjar_targets | 3073 deps += _subjar_targets |
3069 } | 3074 } |
3070 if (defined(_res_target_name)) { | 3075 if (defined(_res_target_name)) { |
3071 deps += [ ":$_res_target_name" ] | 3076 deps += [ ":$_res_target_name" ] |
3072 } | 3077 } |
3073 } | 3078 } |
3074 } | 3079 } |
3075 } | 3080 } |
OLD | NEW |