| 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 import("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
| 8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
| 9 import("//tools/relocation_packer/config.gni") | 9 import("//tools/relocation_packer/config.gni") |
| 10 | 10 |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 if (defined(invoker.chromium_code)) { chromium_code = invoker.chromium_code
} | 841 if (defined(invoker.chromium_code)) { chromium_code = invoker.chromium_code
} |
| 842 if (defined(invoker.datadeps)) { deps = invoker.datadeps } | 842 if (defined(invoker.datadeps)) { deps = invoker.datadeps } |
| 843 if (defined(invoker.deps)) { deps = invoker.deps } | 843 if (defined(invoker.deps)) { deps = invoker.deps } |
| 844 if (defined(invoker.jar_excluded_patterns)) { jar_excluded_patterns = invoke
r.jar_excluded_patterns } | 844 if (defined(invoker.jar_excluded_patterns)) { jar_excluded_patterns = invoke
r.jar_excluded_patterns } |
| 845 if (defined(invoker.java_files)) { java_files = invoker.java_files } | 845 if (defined(invoker.java_files)) { java_files = invoker.java_files } |
| 846 if (defined(invoker.proguard_config)) { proguard_config = invoker.proguard_c
onfig } | 846 if (defined(invoker.proguard_config)) { proguard_config = invoker.proguard_c
onfig } |
| 847 if (defined(invoker.proguard_preprocess)) { proguard_preprocess = invoker.pr
oguard_preprocess } | 847 if (defined(invoker.proguard_preprocess)) { proguard_preprocess = invoker.pr
oguard_preprocess } |
| 848 if (defined(invoker.srcjar_deps)) { srcjar_deps = invoker.srcjar_deps } | 848 if (defined(invoker.srcjar_deps)) { srcjar_deps = invoker.srcjar_deps } |
| 849 if (defined(invoker.srcjars)) { srcjars = invoker.srcjars } | 849 if (defined(invoker.srcjars)) { srcjars = invoker.srcjars } |
| 850 if (defined(invoker.testonly)) { testonly = invoker.testonly } | 850 if (defined(invoker.testonly)) { testonly = invoker.testonly } |
| 851 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 851 if (defined(invoker.dex_path)) { dex_path = invoker.dex_path } | 852 if (defined(invoker.dex_path)) { dex_path = invoker.dex_path } |
| 852 | 853 |
| 853 supports_android = true | 854 supports_android = true |
| 854 requires_android = true | 855 requires_android = true |
| 855 | 856 |
| 856 if (!defined(jar_excluded_patterns)) { jar_excluded_patterns = [] } | 857 if (!defined(jar_excluded_patterns)) { jar_excluded_patterns = [] } |
| 857 jar_excluded_patterns += [ | 858 jar_excluded_patterns += [ |
| 858 "*/R.class", "*/R##*.class", | 859 "*/R.class", "*/R##*.class", |
| 859 "*/Manifest.class", "*/Manifest##*.class", | 860 "*/Manifest.class", "*/Manifest##*.class", |
| 860 ] | 861 ] |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 } | 1494 } |
| 1494 | 1495 |
| 1495 # TODO(GYP): implement this. | 1496 # TODO(GYP): implement this. |
| 1496 template("uiautomator_test") { | 1497 template("uiautomator_test") { |
| 1497 if (defined(invoker.testonly)) { testonly = invoker.testonly } | 1498 if (defined(invoker.testonly)) { testonly = invoker.testonly } |
| 1498 assert(target_name != "") | 1499 assert(target_name != "") |
| 1499 assert(invoker.deps != [] || true) | 1500 assert(invoker.deps != [] || true) |
| 1500 group(target_name) { | 1501 group(target_name) { |
| 1501 } | 1502 } |
| 1502 } | 1503 } |
| OLD | NEW |