Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: content/shell/android/BUILD.gn

Issue 1120883002: [Android] Generate scripts at build time to run android tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jbudorick's nits. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build/module_args/v8.gni") 7 import("//build/module_args/v8.gni")
8 import("//third_party/icu/config.gni") 8 import("//third_party/icu/config.gni")
9 9
10 generate_jni("content_shell_jni_headers") { 10 generate_jni("content_shell_jni_headers") {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ":content_shell_apk_java", 140 ":content_shell_apk_java",
141 "//base:base_java", 141 "//base:base_java",
142 "//base:base_java_test_support", 142 "//base:base_java_test_support",
143 "//content/public/test/android:content_java_test_support", 143 "//content/public/test/android:content_java_test_support",
144 "//content/shell/android:content_shell_java", 144 "//content/shell/android:content_shell_java",
145 "//content/public/android:content_java", 145 "//content/public/android:content_java",
146 ] 146 ]
147 DEPRECATED_java_in_dir = "javatests/src" 147 DEPRECATED_java_in_dir = "javatests/src"
148 } 148 }
149 149
150 android_apk("content_shell_test_apk") { 150 instrumentation_test_apk("content_shell_test_apk") {
151 testonly = true
152 deps = [ 151 deps = [
153 "//content/public/android:content_javatests", 152 "//content/public/android:content_javatests",
154 "//base:base_javatests", 153 "//base:base_javatests",
155 "//net/android:net_javatests", 154 "//net/android:net_javatests",
156 "//testing/android/broker:broker_java",
157 ] 155 ]
158 datadeps = [ 156 datadeps = [
159 ":content_shell_apk", 157 ":content_shell_apk",
160 "//testing/android/driver:driver_apk",
161 ] 158 ]
162 apk_under_test = ":content_shell_apk" 159 apk_under_test = ":content_shell_apk"
163 apk_name = "ContentShellTest" 160 apk_name = "ContentShellTest"
164 android_manifest = "javatests/AndroidManifest.xml" 161 android_manifest = "javatests/AndroidManifest.xml"
162 isolate_file = "../../content_shell_test_apk.isolate"
165 } 163 }
166 164
167 if (current_cpu != "x64" && current_cpu != "arm64") { 165 if (current_cpu != "x64" && current_cpu != "arm64") {
168 chromium_linker_test_manifest = 166 chromium_linker_test_manifest =
169 "$target_gen_dir/linker_test_apk/AndroidManifest.xml" 167 "$target_gen_dir/linker_test_apk/AndroidManifest.xml"
170 168
171 jinja_template("chromium_linker_test_manifest") { 169 jinja_template("chromium_linker_test_manifest") {
172 testonly = true 170 testonly = true
173 input = "linker_test_apk/AndroidManifest.xml.jinja2" 171 input = "linker_test_apk/AndroidManifest.xml.jinja2"
174 output = chromium_linker_test_manifest 172 output = chromium_linker_test_manifest
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 218
221 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers 219 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers
222 generate_jni("linker_test_jni_headers") { 220 generate_jni("linker_test_jni_headers") {
223 testonly = true 221 testonly = true
224 jni_package = "content/shell" 222 jni_package = "content/shell"
225 sources = [ 223 sources = [
226 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav a", 224 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav a",
227 ] 225 ]
228 } 226 }
229 } 227 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698