1 # Copyright 2018 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/android/channel.gni")
6 import("//build/config/android/config.gni")
7 import("//weblayer/variables.gni")
10 # Show a launcher icon to open WebView developer UI. This is enabled by
11 # default for all prestable builds. The icon for Monochrome is shown
12 # dynamically at runtime if Monochrome is the current selected system WebView
13 # implementation or hidden otherwise.
14 webview_devui_show_icon = android_channel != "stable"
17 system_webview_android_manifest =
18 "$root_gen_dir/android_webview/system_webview_apk/AndroidManifest.xml"
19 trichrome_webview_android_manifest =
20 "$root_gen_dir/android_webview/trichrome_webview_apk/AndroidManifest.xml"
21 trichrome_webview_64_32_android_manifest = "$root_gen_dir/android_webview/trichrome_webview_64_32_apk/AndroidManifest.xml"
22 trichrome_webview_32_android_manifest =
23 "$root_gen_dir/android_webview/trichrome_webview_32_apk/AndroidManifest.xml"
25 upstream_only_webview_deps = [
26 "//android_webview:platform_service_bridge_upstream_implementation_java",
27 "//android_webview/nonembedded:icon_resources",
30 if (webview_includes_weblayer) {
31 upstream_only_webview_deps +=
32 [ "//weblayer/browser/java:gms_bridge_upstream_impl_java" ]
35 webview_product_config_java_package = "org.chromium.android_webview"