Index: android_webview/BUILD.gn |
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn |
index 6b17fd10dfd0f87cccd2d8d1f84752d3086f917a..89c5b88199ec9fa01f78492d4d52d952a32687e8 100644 |
--- a/android_webview/BUILD.gn |
+++ b/android_webview/BUILD.gn |
@@ -488,6 +488,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", |
@@ -526,13 +528,6 @@ source_set("common") { |
"//v8", |
] |
- if (enable_configuration_policy) { |
- deps += [ |
- "//components/policy:generated", |
- "//components/policy/core/browser", |
- ] |
- } |
- |
if (enable_spellcheck) { |
deps += [ |
"//components/spellcheck/browser", |
@@ -617,6 +612,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", |
@@ -628,10 +624,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" ] |
} |