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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 227 |
227 shared_library("linker_test") { | 228 shared_library("linker_test") { |
228 testonly = true | 229 testonly = true |
229 sources = [ | 230 sources = [ |
230 "linker_test_apk/chromium_linker_test_android.cc", | 231 "linker_test_apk/chromium_linker_test_android.cc", |
231 "linker_test_apk/chromium_linker_test_linker_tests.cc", | 232 "linker_test_apk/chromium_linker_test_linker_tests.cc", |
232 ] | 233 ] |
233 | 234 |
234 deps = [ | 235 deps = [ |
235 ":linker_test_jni_headers", | 236 ":linker_test_jni_headers", |
| 237 "//base/test:test_support_main_stub", |
236 "//build/config/sanitizers:deps", | 238 "//build/config/sanitizers:deps", |
237 "//content/shell:content_shell_lib", | 239 "//content/shell:content_shell_lib", |
238 | 240 |
239 # Required to include "content/public/browser/android/compositor.h" | 241 # Required to include "content/public/browser/android/compositor.h" |
240 # in chromium_linker_test_android.cc :-( | 242 # in chromium_linker_test_android.cc :-( |
241 "//skia", | 243 "//skia", |
242 "//third_party/re2", | 244 "//third_party/re2", |
243 ] | 245 ] |
244 } | 246 } |
245 | 247 |
(...skipping 10 matching lines...) Expand all Loading... |
256 testonly = true | 258 testonly = true |
257 deps = [ | 259 deps = [ |
258 ":content_shell_java", | 260 ":content_shell_java", |
259 "//base:base_java", | 261 "//base:base_java", |
260 "//content/public/android:content_java", | 262 "//content/public/android:content_java", |
261 "//testing/android/native_test:native_test_java", | 263 "//testing/android/native_test:native_test_java", |
262 "//ui/android:ui_java", | 264 "//ui/android:ui_java", |
263 ] | 265 ] |
264 java_files = [ "browsertests/src/org/chromium/content_shell/browsertests/Conte
ntShellBrowserTestActivity.java" ] | 266 java_files = [ "browsertests/src/org/chromium/content_shell/browsertests/Conte
ntShellBrowserTestActivity.java" ] |
265 } | 267 } |
OLD | NEW |