diff options
Diffstat (limited to 'components/web_contents_delegate_android')
-rw-r--r-- | components/web_contents_delegate_android/BUILD.gn | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/components/web_contents_delegate_android/BUILD.gn b/components/web_contents_delegate_android/BUILD.gn new file mode 100644 index 0000000..541df1a --- /dev/null +++ b/components/web_contents_delegate_android/BUILD.gn @@ -0,0 +1,52 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/android/rules.gni") + +# GYP: //components/web_contents_delegate_android:web_contents_delegate_android +static_library("web_contents_delegate_android") { + sources = [ + "color_chooser_android.cc", + "color_chooser_android.h", + "component_jni_registrar.cc", + "component_jni_registrar.h", + "validation_message_bubble_android.cc", + "validation_message_bubble_android.h", + "web_contents_delegate_android.cc", + "web_contents_delegate_android.h", + ] + + deps = [ + ":web_contents_delegate_android_jni_headers", + "//base", + "//content/public/browser", + "//content/public/common", + "//net", + "//skia", + "//ui/base", + "//ui/gfx", + "//ui/gfx/geometry", + ] +} + +# GYP: //components/web_contents_delegate_android:web_contents_delegate_android_java +android_library("web_contents_delegate_android_java") { + deps = [ + "//base:base_java", + "//ui/android:ui_java", + "//content/public/android:content_java", + "//content/public/android:content_java_resources", + ] + DEPRECATED_java_in_dir = "android/java/src" +} + +# GYP: //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers +generate_jni("web_contents_delegate_android_jni_headers") { + sources = [ + "android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java", + "android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java", + "android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java", + ] + jni_package = "web_contents_delegate_android" +} |