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/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/toolchain/toolchain.gni") | 10 import("//build/toolchain/toolchain.gni") |
(...skipping 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1725 ] | 1725 ] |
1726 | 1726 |
1727 defines = [] | 1727 defines = [] |
1728 if (enable_multidex) { | 1728 if (enable_multidex) { |
1729 defines += [ "ENABLE_MULTIDEX" ] | 1729 defines += [ "ENABLE_MULTIDEX" ] |
1730 } | 1730 } |
1731 if (is_java_debug || dcheck_always_on) { | 1731 if (is_java_debug || dcheck_always_on) { |
1732 defines += [ "_DCHECK_IS_ON" ] | 1732 defines += [ "_DCHECK_IS_ON" ] |
1733 } | 1733 } |
1734 defines += [ | 1734 defines += [ |
1735 "COMPRESSED_ASSETS_LIST=" + | 1735 "COMPRESSED_LOCALE_LIST=" + |
1736 "@FileArg($_rebased_build_config:compressed_assets_java_list)", | 1736 "@FileArg($_rebased_build_config:compressed_locales_java_list)", |
1737 "UNCOMPRESSED_ASSETS_LIST=" + | 1737 "UNCOMPRESSED_LOCALE_LIST=" + |
1738 "@FileArg($_rebased_build_config:uncompressed_assets_java_list)", | 1738 "@FileArg($_rebased_build_config:uncompressed_locales_java_list)", |
1739 ] | 1739 ] |
1740 } | 1740 } |
1741 _srcjar_deps += [ ":${_template_name}__build_config_java" ] | 1741 _srcjar_deps += [ ":${_template_name}__build_config_java" ] |
1742 } | 1742 } |
1743 | 1743 |
1744 java_target = "${_template_name}__java" | 1744 java_target = "${_template_name}__java" |
1745 java_library_impl(java_target) { | 1745 java_library_impl(java_target) { |
1746 forward_variables_from(invoker, | 1746 forward_variables_from(invoker, |
1747 [ | 1747 [ |
1748 "chromium_code", | 1748 "chromium_code", |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2750 # because in practice they seem to contain classes required to be in the | 2750 # because in practice they seem to contain classes required to be in the |
2751 # classpath. | 2751 # classpath. |
2752 deps += _subjar_targets | 2752 deps += _subjar_targets |
2753 } | 2753 } |
2754 if (defined(_res_target_name)) { | 2754 if (defined(_res_target_name)) { |
2755 deps += [ ":$_res_target_name" ] | 2755 deps += [ ":$_res_target_name" ] |
2756 } | 2756 } |
2757 } | 2757 } |
2758 } | 2758 } |
2759 } | 2759 } |
OLD | NEW |