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("//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_overrides/v8.gni") | 7 import("//build_overrides/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") { |
11 jni_package = "content/shell" | 11 jni_package = "content/shell" |
12 sources = [ | 12 sources = [ |
13 "java/src/org/chromium/content_shell/Shell.java", | 13 "java/src/org/chromium/content_shell/Shell.java", |
14 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java", | 14 "java/src/org/chromium/content_shell/ShellLayoutTestUtils.java", |
15 "java/src/org/chromium/content_shell/ShellManager.java", | 15 "java/src/org/chromium/content_shell/ShellManager.java", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 shared_library("libcontent_shell_content_view") { | 19 shared_library("libcontent_shell_content_view") { |
20 testonly = true | 20 testonly = true |
21 deps = [ | 21 deps = [ |
22 ":content_shell_jni_headers", | 22 ":content_shell_jni_headers", |
| 23 "//base/test:test_support_main_stub", |
23 "//build/config/sanitizers:deps", | 24 "//build/config/sanitizers:deps", |
24 "//components/crash/content/browser", | 25 "//components/crash/content/browser", |
25 "//content/shell:content_shell_lib", | 26 "//content/shell:content_shell_lib", |
26 "//content/shell:pak", | 27 "//content/shell:pak", |
27 "//media/base/android", | 28 "//media/base/android", |
28 "//skia", | 29 "//skia", |
29 ] | 30 ] |
30 sources = [ | 31 sources = [ |
31 "shell_library_loader.cc", | 32 "shell_library_loader.cc", |
32 ] | 33 ] |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 206 |
206 shared_library("linker_test") { | 207 shared_library("linker_test") { |
207 testonly = true | 208 testonly = true |
208 sources = [ | 209 sources = [ |
209 "linker_test_apk/chromium_linker_test_android.cc", | 210 "linker_test_apk/chromium_linker_test_android.cc", |
210 "linker_test_apk/chromium_linker_test_linker_tests.cc", | 211 "linker_test_apk/chromium_linker_test_linker_tests.cc", |
211 ] | 212 ] |
212 | 213 |
213 deps = [ | 214 deps = [ |
214 ":linker_test_jni_headers", | 215 ":linker_test_jni_headers", |
| 216 "//base/test:test_support_main_stub", |
215 "//build/config/sanitizers:deps", | 217 "//build/config/sanitizers:deps", |
216 "//content/shell:content_shell_lib", | 218 "//content/shell:content_shell_lib", |
217 | 219 |
218 # Required to include "content/public/browser/android/compositor.h" | 220 # Required to include "content/public/browser/android/compositor.h" |
219 # in chromium_linker_test_android.cc :-( | 221 # in chromium_linker_test_android.cc :-( |
220 "//skia", | 222 "//skia", |
221 "//third_party/re2", | 223 "//third_party/re2", |
222 ] | 224 ] |
223 } | 225 } |
224 | 226 |
(...skipping 10 matching lines...) Expand all Loading... |
235 testonly = true | 237 testonly = true |
236 deps = [ | 238 deps = [ |
237 ":content_shell_java", | 239 ":content_shell_java", |
238 "//base:base_java", | 240 "//base:base_java", |
239 "//content/public/android:content_java", | 241 "//content/public/android:content_java", |
240 "//testing/android/native_test:native_test_java", | 242 "//testing/android/native_test:native_test_java", |
241 "//ui/android:ui_java", | 243 "//ui/android:ui_java", |
242 ] | 244 ] |
243 java_files = [ "browsertests/src/org/chromium/content_shell/browsertests/Conte
ntShellBrowserTestActivity.java" ] | 245 java_files = [ "browsertests/src/org/chromium/content_shell/browsertests/Conte
ntShellBrowserTestActivity.java" ] |
244 } | 246 } |
OLD | NEW |