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

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

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_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 "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 "//build/config/sanitizers:deps",
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 "//components/crash/content/browser", 28 "//media/base/android",
28 "//skia", 29 "//skia",
29 "//media/base/android",
30 ] 30 ]
31 sources = [ 31 sources = [
32 "shell_library_loader.cc", 32 "shell_library_loader.cc",
33 ] 33 ]
34 } 34 }
35 35
36 android_resources("content_shell_java_resources") { 36 android_resources("content_shell_java_resources") {
37 testonly = true 37 testonly = true
38 resource_dirs = [ "java/res" ] 38 resource_dirs = [ "java/res" ]
39 custom_package = "org.chromium.content_shell" 39 custom_package = "org.chromium.content_shell"
40 } 40 }
41 41
42 android_library("content_shell_java") { 42 android_library("content_shell_java") {
43 testonly = true 43 testonly = true
44 deps = [ 44 deps = [
45 ":content_shell_java_resources",
45 "//base:base_java", 46 "//base:base_java",
46 "//content/public/android:content_java", 47 "//content/public/android:content_java",
47 "//media/base/android:media_java", 48 "//media/base/android:media_java",
48 "//mojo/public/java:system", 49 "//mojo/public/java:system",
49 "//net/android:net_java", 50 "//net/android:net_java",
50 "//ui/android:ui_java", 51 "//ui/android:ui_java",
51 ":content_shell_java_resources",
52 ] 52 ]
53 DEPRECATED_java_in_dir = "java/src" 53 DEPRECATED_java_in_dir = "java/src"
54 } 54 }
55 55
56 content_shell_manifest = 56 content_shell_manifest =
57 "$target_gen_dir/content_shell_manifest/AndroidManifest.xml" 57 "$target_gen_dir/content_shell_manifest/AndroidManifest.xml"
58 58
59 jinja_template("content_shell_manifest") { 59 jinja_template("content_shell_manifest") {
60 testonly = true 60 testonly = true
61 input = "shell_apk/AndroidManifest.xml.jinja2" 61 input = "shell_apk/AndroidManifest.xml.jinja2"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 android_manifest = content_shell_manifest 119 android_manifest = content_shell_manifest
120 native_libs = [ "libcontent_shell_content_view.so" ] 120 native_libs = [ "libcontent_shell_content_view.so" ]
121 121
122 # TODO(GYP) 122 # TODO(GYP)
123 #'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'], 123 #'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
124 } 124 }
125 125
126 android_library("content_shell_test_java") { 126 android_library("content_shell_test_java") {
127 testonly = true 127 testonly = true
128 deps = [ 128 deps = [
129 ":content_shell_apk_java",
129 ":content_shell_java", 130 ":content_shell_java",
130 ":content_shell_apk_java",
131 "//base:base_java", 131 "//base:base_java",
132 "//base:base_java_test_support", 132 "//base:base_java_test_support",
133 "//content/public/android:content_java",
133 "//content/public/test/android:content_java_test_support", 134 "//content/public/test/android:content_java_test_support",
134 "//content/shell/android:content_shell_java", 135 "//content/shell/android:content_shell_java",
135 "//content/public/android:content_java",
136 ] 136 ]
137 DEPRECATED_java_in_dir = "javatests/src" 137 DEPRECATED_java_in_dir = "javatests/src"
138 } 138 }
139 139
140 instrumentation_test_apk("content_shell_test_apk") { 140 instrumentation_test_apk("content_shell_test_apk") {
141 deps = [ 141 deps = [
142 "//base:base_javatests",
142 "//content/public/android:content_javatests", 143 "//content/public/android:content_javatests",
143 "//base:base_javatests",
144 "//net/android:net_javatests", 144 "//net/android:net_javatests",
145 ] 145 ]
146 data_deps = [ 146 data_deps = [
147 ":content_shell_apk", 147 ":content_shell_apk",
148 ] 148 ]
149 apk_under_test = ":content_shell_apk" 149 apk_under_test = ":content_shell_apk"
150 apk_name = "ContentShellTest" 150 apk_name = "ContentShellTest"
151 android_manifest = "javatests/AndroidManifest.xml" 151 android_manifest = "javatests/AndroidManifest.xml"
152 isolate_file = "../../content_shell_test_apk.isolate" 152 isolate_file = "../../content_shell_test_apk.isolate"
153 } 153 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 testonly = true 227 testonly = true
228 deps = [ 228 deps = [
229 ":content_shell_java", 229 ":content_shell_java",
230 "//base:base_java", 230 "//base:base_java",
231 "//content/public/android:content_java", 231 "//content/public/android:content_java",
232 "//testing/android/native_test:native_test_java", 232 "//testing/android/native_test:native_test_java",
233 "//ui/android:ui_java", 233 "//ui/android:ui_java",
234 ] 234 ]
235 DEPRECATED_java_in_dir = "browsertests/src" 235 DEPRECATED_java_in_dir = "browsertests/src"
236 } 236 }
OLDNEW
« components/BUILD.gn ('K') | « content/shell/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698