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/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") { |
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 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java", | 16 "java/src/org/chromium/content_shell/ShellMojoTestUtils.java", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 shared_library("libcontent_shell_content_view") { | 20 shared_library("libcontent_shell_content_view") { |
21 testonly = true | 21 testonly = true |
22 deps = [ | 22 deps = [ |
23 ":content_shell_jni_headers", | 23 ":content_shell_jni_headers", |
| 24 "//build/config/sanitizers:deps", |
24 "//content/shell:content_shell_lib", | 25 "//content/shell:content_shell_lib", |
25 "//content/shell:pak", | 26 "//content/shell:pak", |
26 "//components/crash/browser", | 27 "//components/crash/browser", |
27 "//skia", | 28 "//skia", |
28 "//media/base/android", | 29 "//media/base/android", |
29 ] | 30 ] |
30 sources = [ | 31 sources = [ |
31 "shell_library_loader.cc", | 32 "shell_library_loader.cc", |
32 ] | 33 ] |
33 } | 34 } |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 # GYP: //content/content_tests.gypi:chromium_android_linker_test | 211 # GYP: //content/content_tests.gypi:chromium_android_linker_test |
211 shared_library("linker_test") { | 212 shared_library("linker_test") { |
212 testonly = true | 213 testonly = true |
213 sources = [ | 214 sources = [ |
214 "linker_test_apk/chromium_linker_test_android.cc", | 215 "linker_test_apk/chromium_linker_test_android.cc", |
215 "linker_test_apk/chromium_linker_test_linker_tests.cc", | 216 "linker_test_apk/chromium_linker_test_linker_tests.cc", |
216 ] | 217 ] |
217 | 218 |
218 deps = [ | 219 deps = [ |
219 ":linker_test_jni_headers", | 220 ":linker_test_jni_headers", |
| 221 "//build/config/sanitizers:deps", |
220 "//content/shell:content_shell_lib", | 222 "//content/shell:content_shell_lib", |
221 | 223 |
222 # Required to include "content/public/browser/android/compositor.h" | 224 # Required to include "content/public/browser/android/compositor.h" |
223 # in chromium_linker_test_android.cc :-( | 225 # in chromium_linker_test_android.cc :-( |
224 "//skia", | 226 "//skia", |
225 "//third_party/re2", | 227 "//third_party/re2", |
226 ] | 228 ] |
227 } | 229 } |
228 | 230 |
229 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 231 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
230 generate_jni("linker_test_jni_headers") { | 232 generate_jni("linker_test_jni_headers") { |
231 testonly = true | 233 testonly = true |
232 jni_package = "content/shell" | 234 jni_package = "content/shell" |
233 sources = [ | 235 sources = [ |
234 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 236 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
235 ] | 237 ] |
236 } | 238 } |
237 } | 239 } |
OLD | NEW |