| 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1108 } | 1108 } |
| 1109 if (defined(invoker.data_deps)) { | 1109 if (defined(invoker.data_deps)) { |
| 1110 data_deps = invoker.data_deps | 1110 data_deps = invoker.data_deps |
| 1111 } | 1111 } |
| 1112 if (defined(invoker.proguard_config)) { | 1112 if (defined(invoker.proguard_config)) { |
| 1113 proguard_config = invoker.proguard_config | 1113 proguard_config = invoker.proguard_config |
| 1114 } | 1114 } |
| 1115 if (defined(invoker.proguard_preprocess)) { | 1115 if (defined(invoker.proguard_preprocess)) { |
| 1116 proguard_preprocess = invoker.proguard_preprocess | 1116 proguard_preprocess = invoker.proguard_preprocess |
| 1117 } | 1117 } |
| 1118 if (defined(invoker.main_class)) { |
| 1119 main_class = invoker.main_class |
| 1120 } |
| 1118 } | 1121 } |
| 1119 } | 1122 } |
| 1120 | 1123 |
| 1121 # Declare an Android library target | 1124 # Declare an Android library target |
| 1122 # | 1125 # |
| 1123 # This target creates an Android library containing java code and Android | 1126 # This target creates an Android library containing java code and Android |
| 1124 # resources. | 1127 # resources. |
| 1125 # | 1128 # |
| 1126 # Variables | 1129 # Variables |
| 1127 # deps: Specifies the dependencies of this target. Java targets in this list | 1130 # deps: Specifies the dependencies of this target. Java targets in this list |
| (...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2225 template("uiautomator_test") { | 2228 template("uiautomator_test") { |
| 2226 set_sources_assignment_filter([]) | 2229 set_sources_assignment_filter([]) |
| 2227 if (defined(invoker.testonly)) { | 2230 if (defined(invoker.testonly)) { |
| 2228 testonly = invoker.testonly | 2231 testonly = invoker.testonly |
| 2229 } | 2232 } |
| 2230 assert(target_name != "") | 2233 assert(target_name != "") |
| 2231 assert(invoker.deps != [] || true) | 2234 assert(invoker.deps != [] || true) |
| 2232 group(target_name) { | 2235 group(target_name) { |
| 2233 } | 2236 } |
| 2234 } | 2237 } |
| OLD | NEW |