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") { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "$root_build_dir/natives_blob.bin", | 102 "$root_build_dir/natives_blob.bin", |
103 "$root_build_dir/snapshot_blob.bin", | 103 "$root_build_dir/snapshot_blob.bin", |
104 ] | 104 ] |
105 deps += [ "//v8" ] | 105 deps += [ "//v8" ] |
106 } | 106 } |
107 } | 107 } |
108 | 108 |
109 android_apk("content_shell_apk") { | 109 android_apk("content_shell_apk") { |
110 use_chromium_linker = true | 110 use_chromium_linker = true |
111 testonly = true | 111 testonly = true |
112 datadeps = [ | 112 data_deps = [ |
113 # "//tools/android/forwarder", | 113 # "//tools/android/forwarder", |
114 ] | 114 ] |
115 deps = [ | 115 deps = [ |
116 ":content_shell_apk_resources", | 116 ":content_shell_apk_resources", |
117 ":content_shell_java", | 117 ":content_shell_java", |
118 ":content_shell_apk_java", | 118 ":content_shell_apk_java", |
119 ":libcontent_shell_content_view", | 119 ":libcontent_shell_content_view", |
120 ":copy_content_shell_assets", | 120 ":copy_content_shell_assets", |
121 "//base:base_java", | 121 "//base:base_java", |
122 "//content/public/android:content_java", | 122 "//content/public/android:content_java", |
(...skipping 27 matching lines...) Expand all Loading... |
150 } | 150 } |
151 | 151 |
152 android_apk("content_shell_test_apk") { | 152 android_apk("content_shell_test_apk") { |
153 testonly = true | 153 testonly = true |
154 deps = [ | 154 deps = [ |
155 "//content/public/android:content_javatests", | 155 "//content/public/android:content_javatests", |
156 "//base:base_javatests", | 156 "//base:base_javatests", |
157 "//net/android:net_javatests", | 157 "//net/android:net_javatests", |
158 "//testing/android/broker:broker_java", | 158 "//testing/android/broker:broker_java", |
159 ] | 159 ] |
160 datadeps = [ | 160 data_deps = [ |
161 ":content_shell_apk", | 161 ":content_shell_apk", |
162 "//testing/android/driver:driver_apk", | 162 "//testing/android/driver:driver_apk", |
163 ] | 163 ] |
164 apk_under_test = ":content_shell_apk" | 164 apk_under_test = ":content_shell_apk" |
165 apk_name = "ContentShellTest" | 165 apk_name = "ContentShellTest" |
166 android_manifest = "javatests/AndroidManifest.xml" | 166 android_manifest = "javatests/AndroidManifest.xml" |
167 } | 167 } |
168 | 168 |
169 if (current_cpu != "x64" && current_cpu != "arm64") { | 169 if (current_cpu != "x64" && current_cpu != "arm64") { |
170 chromium_linker_test_manifest = | 170 chromium_linker_test_manifest = |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers | 223 # GYP: //content/content_tests.gypi:chromium_android_linker_test_jni_headers |
224 generate_jni("linker_test_jni_headers") { | 224 generate_jni("linker_test_jni_headers") { |
225 testonly = true | 225 testonly = true |
226 jni_package = "content/shell" | 226 jni_package = "content/shell" |
227 sources = [ | 227 sources = [ |
228 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", | 228 "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.jav
a", |
229 ] | 229 ] |
230 } | 230 } |
231 } | 231 } |
OLD | NEW |