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

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

Issue 561623002: GN: Enable blink and (nearly) all of content in android build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 content_jni_gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("../../content_jni.gypi") ],
10 "scope",
11 [ "../../content_jni.gypi" ])
12
8 android_aidl("common_aidl") { 13 android_aidl("common_aidl") {
9 interface_file = "java/src/org/chromium/content/common/common.aidl" 14 interface_file = "java/src/org/chromium/content/common/common.aidl"
10 import_include = "java/src" 15 import_include = "java/src"
11 sources = [ 16 sources = [
12 "java/src/org/chromium/content/common/IChildProcessCallback.aidl", 17 "java/src/org/chromium/content/common/IChildProcessCallback.aidl",
13 "java/src/org/chromium/content/common/IChildProcessService.aidl", 18 "java/src/org/chromium/content/common/IChildProcessService.aidl",
14 ] 19 ]
15 } 20 }
16 21
17 android_resources("content_java_resources") { 22 android_resources("content_java_resources") {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template", 198 "java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template",
194 "java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template", 199 "java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template",
195 ] 200 ]
196 package_name = "org/chromium/content/common" 201 package_name = "org/chromium/content/common"
197 inputs = [ 202 inputs = [
198 "//content/browser/gamepad/canonical_axis_index_list.h", 203 "//content/browser/gamepad/canonical_axis_index_list.h",
199 "//content/browser/gamepad/canonical_button_index_list.h", 204 "//content/browser/gamepad/canonical_button_index_list.h",
200 ] 205 ]
201 } 206 }
202 207
203 generate_jar_jni("content_jni_headers") { 208 generate_jar_jni("jar_jni") {
204 jni_package = "content" 209 jni_package = "content"
205 classes = [ 210 classes = [
211 "java/util/HashSet.class",
206 "android/view/MotionEvent.class", 212 "android/view/MotionEvent.class",
207 "java/util/HashSet.class",
208 ] 213 ]
209 } 214 }
210 215
216 generate_jni("content_jni_headers") {
217 sources = rebase_path(content_jni_gypi_values.sources, "", "../..")
218 jni_package = "content"
219 }
220
221 group("jni") {
222 deps = [
223 ":content_jni_headers",
224 ":jar_jni",
225 ]
226 }
227
211 android_library("content_javatests") { 228 android_library("content_javatests") {
212 deps = [ 229 deps = [
213 "//base:base_java", 230 "//base:base_java",
214 "//base:base_java_test_support", 231 "//base:base_java_test_support",
215 "//content/public/test/android:content_java_test_support", 232 "//content/public/test/android:content_java_test_support",
216 "//content/shell/android:content_shell_java", 233 "//content/shell/android:content_shell_java",
217 "//content/shell/android:content_shell_apk_java", 234 "//content/shell/android:content_shell_apk_java",
218 "//content/shell/android:content_shell_test_java", 235 "//content/shell/android:content_shell_test_java",
219 "//media/base/android:media_java", 236 "//media/base/android:media_java",
220 "//net/android:net_java", 237 "//net/android:net_java",
221 "//net/android:net_java_test_support", 238 "//net/android:net_java_test_support",
222 "//ui/android:ui_java", 239 "//ui/android:ui_java",
223 ":content_java", 240 ":content_java",
224 ] 241 ]
225 242
226 DEPRECATED_java_in_dir = "javatests/src" 243 DEPRECATED_java_in_dir = "javatests/src"
227 } 244 }
228 245
229 246
230 # TODO(GYP): content_icudata 247 # TODO(GYP): content_icudata
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698