From 50177af229fd26b591a8e6f5bc560ddbf4d3bf35 Mon Sep 17 00:00:00 2001 From: Gustav Sennton Date: Wed, 15 Nov 2017 14:05:13 +0000 Subject: [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 Reviewed-by: Richard Coles Cr-Original-Commit-Position: refs/heads/master@{#516688} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: b1ea1aff463b4c061a3c7f60894129bff89e8bb1 --- BUILD.gn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 BUILD.gn (limited to 'BUILD.gn') 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 = [] +} -- cgit v1.2.3