Update V8 to version 4.5.32.
[chromium-blink-merge.git] / components / web_contents_delegate_android / BUILD.gn
blob56ee8de191b4ef13dff2011dd775c35715318a73
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
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
7 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android
8 static_library("web_contents_delegate_android") {
9   sources = [
10     "color_chooser_android.cc",
11     "color_chooser_android.h",
12     "component_jni_registrar.cc",
13     "component_jni_registrar.h",
14     "validation_message_bubble_android.cc",
15     "validation_message_bubble_android.h",
16     "web_contents_delegate_android.cc",
17     "web_contents_delegate_android.h",
18   ]
20   deps = [
21     ":web_contents_delegate_android_jni_headers",
22     "//base",
23     "//content/public/browser",
24     "//content/public/common",
25     "//net",
26     "//skia",
27     "//ui/android",
28     "//ui/base",
29     "//ui/gfx",
30     "//ui/gfx/geometry",
31   ]
34 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_java
35 android_resources("web_contents_delegate_android_java_resources") {
36   custom_package = "org.chromium.components.web_contents_delegate_android"
37   resource_dirs = [ "android/java/res" ]
40 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_java
41 android_library("web_contents_delegate_android_java") {
42   deps = [
43     ":web_contents_delegate_android_java_resources",
44     "//base:base_java",
45     "//ui/android:ui_java",
46     "//content/public/android:content_java",
47     "//content/public/android:content_java_resources",
48   ]
49   DEPRECATED_java_in_dir = "android/java/src"
52 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers
53 generate_jni("web_contents_delegate_android_jni_headers") {
54   sources = [
55     "android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java",
56     "android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java",
57     "android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java",
58   ]
59   jni_package = "web_contents_delegate_android"