chromium/android_webview/glue/BUILD.gn

# Copyright 2015 The Chromium Authors
# 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")

android_library("glue_java") {
  resources_package = "org.chromium.android_webview"
  deps = [
    "//android_webview:android_webview_product_config_java",
    "//android_webview:browser_java",
    "//android_webview:common_java",
    "//android_webview:resources",
    "//android_webview/support_library/boundary_interfaces:boundary_interface_java",
    "//android_webview/support_library/callback:callback_java",
    "//base:base_java",
    "//base/version_info/android:version_constants_java",
    "//build/android:build_java",
    "//components/content_capture/android:java",
    "//components/embedder_support/android:application_java",
    "//components/embedder_support/android:util_java",
    "//content/public/android:content_java",
    "//content/public/android:content_util_java",
    "//net/android:net_java",
    "//third_party/androidx:androidx_annotation_annotation_java",
    "//third_party/jni_zero:jni_zero_java",
    "//ui/android:ui_no_recycler_view_java",
    "//url:gurl_java",
  ]

  alternative_android_sdk_dep =
      "//third_party/android_sdk:public_framework_system_java"

  sources = [
    "java/src/com/android/webview/chromium/AndroidXProcessGlobalConfig.java",
    "java/src/com/android/webview/chromium/ApiImplementationLogger.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/DrawFunctor.java",
    "java/src/com/android/webview/chromium/DrawGLFunctor.java",
    "java/src/com/android/webview/chromium/GeolocationPermissionsAdapter.java",
    "java/src/com/android/webview/chromium/GlueApiHelperForOMR1.java",
    "java/src/com/android/webview/chromium/GlueApiHelperForP.java",
    "java/src/com/android/webview/chromium/GlueApiHelperForQ.java",
    "java/src/com/android/webview/chromium/GlueApiHelperForR.java",
    "java/src/com/android/webview/chromium/GraphicsUtils.java",
    "java/src/com/android/webview/chromium/PacProcessorImpl.java",
    "java/src/com/android/webview/chromium/PrefetchCallback.java",
    "java/src/com/android/webview/chromium/Profile.java",
    "java/src/com/android/webview/chromium/ProfileStore.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/SharedStatics.java",
    "java/src/com/android/webview/chromium/SharedTracingControllerAdapter.java",
    "java/src/com/android/webview/chromium/SharedWebViewChromium.java",
    "java/src/com/android/webview/chromium/SharedWebViewContentsClientAdapter.java",
    "java/src/com/android/webview/chromium/SharedWebViewRendererClientAdapter.java",
    "java/src/com/android/webview/chromium/SplitApkWorkaround.java",
    "java/src/com/android/webview/chromium/TracingControllerAdapter.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/WebViewChromium.java",
    "java/src/com/android/webview/chromium/WebViewChromiumAwInit.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/WebViewChromiumFactoryProviderForP.java",
    "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForQ.java",
    "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForR.java",
    "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForS.java",
    "java/src/com/android/webview/chromium/WebViewChromiumFactoryProviderForT.java",
    "java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java",
    "java/src/com/android/webview/chromium/WebViewDatabaseAdapter.java",
    "java/src/com/android/webview/chromium/WebViewLibraryPreloader.java",
    "java/src/com/android/webview/chromium/WebViewRenderProcessAdapter.java",
    "java/src/com/android/webview/chromium/WebViewRenderProcessClientAdapter.java",
    "java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java",
  ]
}