diff options
author | Gustav Sennton <gsennton@google.com> | 2017-11-15 14:05:13 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2017-11-15 14:05:13 +0000 |
commit | 50177af229fd26b591a8e6f5bc560ddbf4d3bf35 (patch) | |
tree | 9f71fed4dadda8194d3e9d5078659bcdb812bb16 /BUILD.gn | |
download | webview_support_interfaces-50177af229fd26b591a8e6f5bc560ddbf4d3bf35.tar.gz |
[WebView] Add directory for interfaces between support library and glue
We will build a set of interfaces to communicate between the WebView
support library (statically built into apps), and the WebView support
library glue layer (built into the WebView APK, loaded into app
processes at run-time).
To allow Chromium and the Android Support Library to share these
interfaces we put them in their own directory, and mirror that directory
publicly so that they can be referenced by the support library.
This CL creates the interface directory, and adds some examples of
interfaces.
BUG=755506
Change-Id: I3f7040c4ab88c7e0d26379aebc4b74fb53eee1de
Reviewed-on: https://chromium-review.googlesource.com/768712
Commit-Queue: Gustav Sennton <gsennton@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#516688}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b1ea1aff463b4c061a3c7f60894129bff89e8bb1
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn new file mode 100644 index 0000000..66f2fee --- /dev/null +++ b/BUILD.gn @@ -0,0 +1,19 @@ +# Copyright 2017 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/config.gni") +import("//build/config/android/rules.gni") + +android_library("boundary_interface_java") { + java_files = [ + "src/org/chromium/support_lib_boundary/VisualStateCallbackInterface.java", + "src/org/chromium/support_lib_boundary/WebSettingsInterface.java", + "src/org/chromium/support_lib_boundary/WebViewProvider.java", + "src/org/chromium/support_lib_boundary/WebViewProviderFactory.java", + ] + + # We can't use ANY deps here, the support library should be able to build + # these interfaces without any other chromium dependencies. + deps = [] +} |