# Copyright 2015 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("//android_webview/system_webview_apk_tmpl.gni") import("//android_webview/variables.gni") import("//build/config/android/config.gni") import("//build/config/android/rules.gni") import("generate_resource_rewriter.gni") import("glue.gni") generate_resource_rewriter("glue_resource_rewriter") { # Change deps? please modify glue_library_deps variable. deps = glue_library_deps package_name = "com.android.webview.chromium" } android_library("glue") { # Change deps? please modify glue_library_deps variable. deps = glue_library_deps srcjar_deps = [ ":glue_resource_rewriter" ] alternative_android_sdk_dep = "//third_party/android_system_sdk:public_framework_system_java" java_files = [ "java/src/com/android/webview/chromium/SharedStatics.java", "java/src/com/android/webview/chromium/CallbackConverter.java", "java/src/com/android/webview/chromium/ContentSettingsAdapter.java", "java/src/com/android/webview/chromium/CookieManagerAdapter.java", "java/src/com/android/webview/chromium/DrawGLFunctor.java", "java/src/com/android/webview/chromium/FontPreloadingWorkaround.java", "java/src/com/android/webview/chromium/GeolocationPermissionsAdapter.java", "java/src/com/android/webview/chromium/GraphicsUtils.java", "java/src/com/android/webview/chromium/MonochromeLibraryPreloader.java", "java/src/com/android/webview/chromium/SafeBrowsingResponseAdapter.java", "java/src/com/android/webview/chromium/ServiceWorkerClientAdapter.java", "java/src/com/android/webview/chromium/ServiceWorkerControllerAdapter.java", "java/src/com/android/webview/chromium/ServiceWorkerSettingsAdapter.java", "java/src/com/android/webview/chromium/TokenBindingManagerAdapter.java", "java/src/com/android/webview/chromium/WebBackForwardListChromium.java", "java/src/com/android/webview/chromium/WebHistoryItemChromium.java", "java/src/com/android/webview/chromium/WebIconDatabaseAdapter.java", "java/src/com/android/webview/chromium/WebMessagePortAdapter.java", "java/src/com/android/webview/chromium/WebResourceErrorAdapter.java", "java/src/com/android/webview/chromium/WebResourceRequestAdapter.java", "java/src/com/android/webview/chromium/WebStorageAdapter.java", "java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java", "java/src/com/android/webview/chromium/WebViewApplication.java", "java/src/com/android/webview/chromium/WebViewChromiumAwInit.java", "java/src/com/android/webview/chromium/WebViewChromium.java", "java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java", "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForO.java", "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForOMR1.java", "java/src/com/android/webview/chromium/SharedWebViewChromium.java", "java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java", "java/src/com/android/webview/chromium/WebViewDatabaseAdapter.java", "java/src/com/android/webview/chromium/WebViewDelegateFactory.java", ] android_manifest_for_lint = system_webview_android_manifest }