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",
33 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_java
34 android_library("web_contents_delegate_android_java") {
37 "//ui/android:ui_java",
38 "//content/public/android:content_java",
39 "//content/public/android:content_java_resources",
41 DEPRECATED_java_in_dir = "android/java/src"
44 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers
45 generate_jni("web_contents_delegate_android_jni_headers") {
47 "android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java",
48 "android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java",
49 "android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java",
51 jni_package = "web_contents_delegate_android"