Commit e11838b2 authored by Clark DuVall's avatar Clark DuVall Committed by Commit Bot

Move system_webview_apk_target to declare_args()

This allows overriding it in gn args, which is necessary to use the
correct WebView target on official bots.

Bug: 1054351
Change-Id: I7564595657490faba7b18c9bcc55ede21d3bffc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2187858Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#766543}
parent 2d50c791
......@@ -118,10 +118,6 @@ if (is_android || is_chromeos) {
}
}
if (!defined(system_webview_apk_target)) {
system_webview_apk_target = "//android_webview:system_webview_apk"
}
webview_public_framework_dep =
"//third_party/android_sdk:public_framework_system_java"
if (!defined(webview_framework_dep)) {
......@@ -212,6 +208,9 @@ if (is_android || is_chromeos) {
# Controls whether proguard obfuscation is enabled for targets
# configured to use it.
enable_proguard_obfuscation = true
# The target to use as the system WebView implementation.
system_webview_apk_target = "//android_webview:system_webview_apk"
}
# We need a second declare_args block to make sure we are using the overridden
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment