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") {
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",
21 ":web_contents_delegate_android_jni_headers",
23 "//content/public/browser",
24 "//content/public/common",
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") {
43 ":web_contents_delegate_android_java_resources",
45 "//ui/android:ui_java",
46 "//content/public/android:content_java",
47 "//content/public/android:content_java_resources",
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") {
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",
59 jni_package = "web_contents_delegate_android"