variables.gni 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. import("//build/config/android/channel.gni")
  5. import("//build/config/android/config.gni")
  6. import("//weblayer/variables.gni")
  7. declare_args() {
  8. # Show a launcher icon to open WebView developer UI. This is enabled by
  9. # default for all prestable builds. The icon for Monochrome is shown
  10. # dynamically at runtime if Monochrome is the current selected system WebView
  11. # implementation or hidden otherwise.
  12. webview_devui_show_icon = android_channel != "stable"
  13. }
  14. system_webview_android_manifest =
  15. "$root_gen_dir/android_webview/system_webview_apk/AndroidManifest.xml"
  16. system_webview_64_android_manifest =
  17. "$root_gen_dir/android_webview/system_webview_64_apk/AndroidManifest.xml"
  18. trichrome_webview_android_manifest =
  19. "$root_gen_dir/android_webview/trichrome_webview_apk/AndroidManifest.xml"
  20. trichrome_webview_64_android_manifest =
  21. "$root_gen_dir/android_webview/trichrome_webview_64_apk/AndroidManifest.xml"
  22. trichrome_webview_64_32_android_manifest = "$root_gen_dir/android_webview/trichrome_webview_64_32_apk/AndroidManifest.xml"
  23. trichrome_webview_32_android_manifest =
  24. "$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",
  28. ]
  29. if (webview_includes_weblayer) {
  30. upstream_only_webview_deps += [ "//weblayer/browser/java:upstream_java" ]
  31. }
  32. webview_jinja_variables = [ "use_isolated_splits=$weblayer_in_split" ]
  33. webview_product_config_java_package = "org.chromium.android_webview"