| 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 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1919 ":$java_target", | 1919 ":$java_target", |
| 1920 ] | 1920 ] |
| 1921 } | 1921 } |
| 1922 } | 1922 } |
| 1923 | 1923 |
| 1924 if (_proguard_enabled) { | 1924 if (_proguard_enabled) { |
| 1925 _proguard_configs = [ _generated_proguard_config ] | 1925 _proguard_configs = [ _generated_proguard_config ] |
| 1926 if (defined(invoker.proguard_configs)) { | 1926 if (defined(invoker.proguard_configs)) { |
| 1927 _proguard_configs += invoker.proguard_configs | 1927 _proguard_configs += invoker.proguard_configs |
| 1928 } | 1928 } |
| 1929 if (enable_multidex) { |
| 1930 _proguard_configs += [ "//build/android/multidex.flags" ] |
| 1931 } |
| 1929 assert(_proguard_configs != []) # Mark as used. | 1932 assert(_proguard_configs != []) # Mark as used. |
| 1930 _proguard_target = "${_template_name}__proguard" | 1933 _proguard_target = "${_template_name}__proguard" |
| 1931 proguard(_proguard_target) { | 1934 proguard(_proguard_target) { |
| 1932 forward_variables_from(invoker, | 1935 forward_variables_from(invoker, |
| 1933 [ | 1936 [ |
| 1934 "alternative_android_sdk_jar", | 1937 "alternative_android_sdk_jar", |
| 1935 "deps", | 1938 "deps", |
| 1936 "proguard_jar_path", | 1939 "proguard_jar_path", |
| 1937 ]) | 1940 ]) |
| 1938 if (!defined(deps)) { | 1941 if (!defined(deps)) { |
| (...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2893 # because in practice they seem to contain classes required to be in the | 2896 # because in practice they seem to contain classes required to be in the |
| 2894 # classpath. | 2897 # classpath. |
| 2895 deps += _subjar_targets | 2898 deps += _subjar_targets |
| 2896 } | 2899 } |
| 2897 if (defined(_res_target_name)) { | 2900 if (defined(_res_target_name)) { |
| 2898 deps += [ ":$_res_target_name" ] | 2901 deps += [ ":$_res_target_name" ] |
| 2899 } | 2902 } |
| 2900 } | 2903 } |
| 2901 } | 2904 } |
| 2902 } | 2905 } |
| OLD | NEW |