Index: chrome/app/BUILD.gn |
diff --git a/chrome/app/BUILD.gn b/chrome/app/BUILD.gn |
index 92bb6433c274b92438e992c79131d190442cf2b1..b3fc333d7a250c156d24cd2996077d631707bb3c 100644 |
--- a/chrome/app/BUILD.gn |
+++ b/chrome/app/BUILD.gn |
@@ -322,7 +322,6 @@ source_set("test_support") { |
deps = [ |
"//base", |
"//chrome/browser", |
- "//chrome/browser/policy:path_parser", |
"//chrome/child", |
"//chrome/common", |
"//chrome/plugin", |
@@ -353,6 +352,10 @@ source_set("test_support") { |
deps += [ "//chrome/browser/chromeos" ] |
} |
+ if (enable_configuration_policy) { |
+ deps += [ "//chrome/browser/policy:path_parser" ] |
+ } |
+ |
if (enable_pdf) { |
deps += [ "//pdf" ] |
} |