fixup! Upload upstream chromium 85.0.4183.93
[platform/framework/web/chromium-efl.git] / android_webview / variables.gni
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.
4
5 import("//build/config/android/channel.gni")
6 import("//build/config/android/config.gni")
7 import("//weblayer/variables.gni")
8
9 declare_args() {
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"
15 }
16
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"
24
25 upstream_only_webview_deps = [
26   "//android_webview:platform_service_bridge_upstream_implementation_java",
27   "//android_webview/nonembedded:icon_resources",
28 ]
29
30 if (webview_includes_weblayer) {
31   upstream_only_webview_deps +=
32       [ "//weblayer/browser/java:gms_bridge_upstream_impl_java" ]
33 }
34
35 webview_product_config_java_package = "org.chromium.android_webview"