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 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 | 1172 |
1173 _version_code = "1" | 1173 _version_code = "1" |
1174 if (defined(invoker.version_code)) { | 1174 if (defined(invoker.version_code)) { |
1175 _version_code = invoker.version_code | 1175 _version_code = invoker.version_code |
1176 } | 1176 } |
1177 | 1177 |
1178 _version_name = "Developer Build" | 1178 _version_name = "Developer Build" |
1179 if (defined(invoker.version_name)) { | 1179 if (defined(invoker.version_name)) { |
1180 _version_name = invoker.version_name | 1180 _version_name = invoker.version_name |
1181 } | 1181 } |
1182 _keystore_path = android_default_keystore_path | 1182 _keystore_path = android_keystore_path |
1183 _keystore_name = android_default_keystore_name | 1183 _keystore_name = android_keystore_name |
1184 _keystore_password = android_default_keystore_password | 1184 _keystore_password = android_keystore_password |
1185 | 1185 |
1186 if (defined(invoker.keystore_path)) { | 1186 if (defined(invoker.keystore_path)) { |
1187 _keystore_path = invoker.keystore_path | 1187 _keystore_path = invoker.keystore_path |
1188 _keystore_name = invoker.keystore_name | 1188 _keystore_name = invoker.keystore_name |
1189 _keystore_password = invoker.keystore_password | 1189 _keystore_password = invoker.keystore_password |
1190 } | 1190 } |
1191 | 1191 |
1192 _srcjar_deps = [] | 1192 _srcjar_deps = [] |
1193 if (defined(invoker.srcjar_deps)) { | 1193 if (defined(invoker.srcjar_deps)) { |
1194 _srcjar_deps += invoker.srcjar_deps | 1194 _srcjar_deps += invoker.srcjar_deps |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 | 2005 |
2006 # TODO(GYP): implement this. | 2006 # TODO(GYP): implement this. |
2007 template("uiautomator_test") { | 2007 template("uiautomator_test") { |
2008 set_sources_assignment_filter([]) | 2008 set_sources_assignment_filter([]) |
2009 forward_variables_from(invoker, [ "testonly" ]) | 2009 forward_variables_from(invoker, [ "testonly" ]) |
2010 assert(target_name != "") | 2010 assert(target_name != "") |
2011 assert(invoker.deps != [] || true) | 2011 assert(invoker.deps != [] || true) |
2012 group(target_name) { | 2012 group(target_name) { |
2013 } | 2013 } |
2014 } | 2014 } |
OLD | NEW |