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("//third_party/android_platform/config.gni") | 8 import("//third_party/android_platform/config.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 | 10 |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1094 template("java_prebuilt") { | 1094 template("java_prebuilt") { |
1095 set_sources_assignment_filter([]) | 1095 set_sources_assignment_filter([]) |
1096 java_prebuilt_impl(target_name) { | 1096 java_prebuilt_impl(target_name) { |
1097 jar_path = invoker.jar_path | 1097 jar_path = invoker.jar_path |
1098 if (defined(invoker.testonly)) { | 1098 if (defined(invoker.testonly)) { |
1099 testonly = invoker.testonly | 1099 testonly = invoker.testonly |
1100 } | 1100 } |
1101 if (defined(invoker.deps)) { | 1101 if (defined(invoker.deps)) { |
1102 deps = invoker.deps | 1102 deps = invoker.deps |
1103 } | 1103 } |
| 1104 if (defined(invoker.data_deps)) { |
| 1105 data_deps = invoker.data_deps |
| 1106 } |
1104 if (defined(invoker.proguard_config)) { | 1107 if (defined(invoker.proguard_config)) { |
1105 proguard_config = invoker.proguard_config | 1108 proguard_config = invoker.proguard_config |
1106 } | 1109 } |
1107 if (defined(invoker.proguard_preprocess)) { | 1110 if (defined(invoker.proguard_preprocess)) { |
1108 proguard_preprocess = invoker.proguard_preprocess | 1111 proguard_preprocess = invoker.proguard_preprocess |
1109 } | 1112 } |
1110 } | 1113 } |
1111 } | 1114 } |
1112 | 1115 |
1113 # Declare an Android library target | 1116 # Declare an Android library target |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 java_prebuilt_impl(target_name) { | 1274 java_prebuilt_impl(target_name) { |
1272 jar_path = invoker.jar_path | 1275 jar_path = invoker.jar_path |
1273 supports_android = true | 1276 supports_android = true |
1274 requires_android = true | 1277 requires_android = true |
1275 if (defined(invoker.testonly)) { | 1278 if (defined(invoker.testonly)) { |
1276 testonly = invoker.testonly | 1279 testonly = invoker.testonly |
1277 } | 1280 } |
1278 if (defined(invoker.deps)) { | 1281 if (defined(invoker.deps)) { |
1279 deps = invoker.deps | 1282 deps = invoker.deps |
1280 } | 1283 } |
| 1284 if (defined(invoker.data_deps)) { |
| 1285 data_deps = invoker.data_deps |
| 1286 } |
1281 if (defined(invoker.proguard_config)) { | 1287 if (defined(invoker.proguard_config)) { |
1282 proguard_config = invoker.proguard_config | 1288 proguard_config = invoker.proguard_config |
1283 } | 1289 } |
1284 if (defined(invoker.proguard_preprocess)) { | 1290 if (defined(invoker.proguard_preprocess)) { |
1285 proguard_preprocess = invoker.proguard_preprocess | 1291 proguard_preprocess = invoker.proguard_preprocess |
1286 } | 1292 } |
1287 } | 1293 } |
1288 } | 1294 } |
1289 | 1295 |
1290 # Declare an Android apk target | 1296 # Declare an Android apk target |
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2196 template("uiautomator_test") { | 2202 template("uiautomator_test") { |
2197 set_sources_assignment_filter([]) | 2203 set_sources_assignment_filter([]) |
2198 if (defined(invoker.testonly)) { | 2204 if (defined(invoker.testonly)) { |
2199 testonly = invoker.testonly | 2205 testonly = invoker.testonly |
2200 } | 2206 } |
2201 assert(target_name != "") | 2207 assert(target_name != "") |
2202 assert(invoker.deps != [] || true) | 2208 assert(invoker.deps != [] || true) |
2203 group(target_name) { | 2209 group(target_name) { |
2204 } | 2210 } |
2205 } | 2211 } |
OLD | NEW |