Split out mojo_converters into its own target.
[chromium-blink-merge.git] / components / web_contents_delegate_android / BUILD.gn
blob541df1a81ca449f3e1cc975ffaaa3bb3e6eece1a
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/base",
28     "//ui/gfx",
29     "//ui/gfx/geometry",
30   ]
33 # GYP: //components/web_contents_delegate_android:web_contents_delegate_android_java
34 android_library("web_contents_delegate_android_java") {
35   deps = [
36     "//base:base_java",
37     "//ui/android:ui_java",
38     "//content/public/android:content_java",
39     "//content/public/android:content_java_resources",
40   ]
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") {
46   sources = [
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",
50   ]
51   jni_package = "web_contents_delegate_android"