blob: 6a320ea4a85a12e7bf77ff28dc4be42b53833a07 [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",
]
if (webview_includes_weblayer) {
upstream_only_webview_deps += [ "//weblayer/browser/java:upstream_java" ]
}
webview_jinja_variables = [ "use_isolated_splits=$weblayer_in_split" ]
webview_product_config_java_package = "org.chromium.android_webview"