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("//build/toolchain/toolchain.gni") | 8 import("//build/toolchain/toolchain.gni") |
9 import("//third_party/android_platform/config.gni") | 9 import("//third_party/android_platform/config.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1109 } | 1109 } |
1110 if (defined(invoker.data_deps)) { | 1110 if (defined(invoker.data_deps)) { |
1111 data_deps = invoker.data_deps | 1111 data_deps = invoker.data_deps |
1112 } | 1112 } |
1113 if (defined(invoker.proguard_config)) { | 1113 if (defined(invoker.proguard_config)) { |
1114 proguard_config = invoker.proguard_config | 1114 proguard_config = invoker.proguard_config |
1115 } | 1115 } |
1116 if (defined(invoker.proguard_preprocess)) { | 1116 if (defined(invoker.proguard_preprocess)) { |
1117 proguard_preprocess = invoker.proguard_preprocess | 1117 proguard_preprocess = invoker.proguard_preprocess |
1118 } | 1118 } |
1119 if (defined(invoker.main_class)) { | |
jbudorick
2015/08/23 02:56:08
This will definitely need a rebase, and you'll pro
mikecase (-- gone --)
2015/08/24 17:16:21
It seems I can get rid of changing this file since
| |
1120 main_class = invoker.main_class | |
1121 } | |
1119 } | 1122 } |
1120 } | 1123 } |
1121 | 1124 |
1122 # Declare an Android library target | 1125 # Declare an Android library target |
1123 # | 1126 # |
1124 # This target creates an Android library containing java code and Android | 1127 # This target creates an Android library containing java code and Android |
1125 # resources. | 1128 # resources. |
1126 # | 1129 # |
1127 # Variables | 1130 # Variables |
1128 # deps: Specifies the dependencies of this target. Java targets in this list | 1131 # 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... | |
2226 template("uiautomator_test") { | 2229 template("uiautomator_test") { |
2227 set_sources_assignment_filter([]) | 2230 set_sources_assignment_filter([]) |
2228 if (defined(invoker.testonly)) { | 2231 if (defined(invoker.testonly)) { |
2229 testonly = invoker.testonly | 2232 testonly = invoker.testonly |
2230 } | 2233 } |
2231 assert(target_name != "") | 2234 assert(target_name != "") |
2232 assert(invoker.deps != [] || true) | 2235 assert(invoker.deps != [] || true) |
2233 group(target_name) { | 2236 group(target_name) { |
2234 } | 2237 } |
2235 } | 2238 } |
OLD | NEW |