blob: c7bc8d10f0190a178fdc3e8f60b198f6e8a34d00 [file] [log] [blame]
# Copyright 2018 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/channel.gni")
import("//build/config/android/config.gni")
import("//weblayer/variables.gni")
declare_args() {
# Show a launcher icon to open WebView developer UI. This is enabled by
# default for all prestable builds. The icon for Monochrome is shown
# dynamically at runtime if Monochrome is the current selected system WebView
# implementation or hidden otherwise.
webview_devui_show_icon = android_channel != "stable"
}
upstream_only_webview_deps = [
"//android_webview:platform_service_bridge_upstream_implementation_java",
"//android_webview/nonembedded:icon_resources",
"//components/environment_integrity/android:integrity_service_bridge_public_impl_java",
]
if (webview_includes_weblayer) {
upstream_only_webview_deps += [ "//weblayer/browser/java:upstream_java" ]
}
webview_product_config_java_package = "org.chromium.android_webview"