Index: android_webview/BUILD.gn |
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn |
index 1d91d4ec611b1feb2171731a34bd464440b96c76..3abb70c1cc5b13988495588fc8b8294b3a211fb1 100644 |
--- a/android_webview/BUILD.gn |
+++ b/android_webview/BUILD.gn |
@@ -486,6 +486,8 @@ source_set("common") { |
"//components/metrics:profiler", |
"//components/metrics:ui", |
"//components/navigation_interception", |
+ "//components/policy:generated", |
+ "//components/policy/core/browser", |
"//components/prefs", |
"//components/printing/browser", |
"//components/printing/common", |
@@ -524,13 +526,6 @@ source_set("common") { |
"//v8", |
] |
- if (enable_configuration_policy) { |
- deps += [ |
- "//components/policy:generated", |
- "//components/policy/core/browser", |
- ] |
- } |
- |
if (enable_spellcheck) { |
deps += [ |
"//components/spellcheck/browser", |
@@ -615,6 +610,7 @@ android_library("android_webview_java") { |
"//base:base_java", |
"//components/autofill/android:autofill_java", |
"//components/navigation_interception/android:navigation_interception_java", |
+ "//components/policy/android:policy_java", |
"//components/web_contents_delegate_android:web_contents_delegate_android_java", |
"//components/web_restrictions:web_restrictions_java", |
"//content/public/android:content_java", |
@@ -626,10 +622,6 @@ android_library("android_webview_java") { |
google_play_services_resources, |
] |
- if (enable_configuration_policy) { |
- deps += [ "//components/policy/android:policy_java" ] |
- } |
- |
if (enable_spellcheck) { |
deps += [ "//components/spellcheck/browser/android:java" ] |
} |