| Index: components/policy/core/common/BUILD.gn
|
| diff --git a/components/policy/core/common/BUILD.gn b/components/policy/core/common/BUILD.gn
|
| index 8e64691835cd639e1f6dc1dc04c2ec1566a339ff..1efe00e8d24271695464ddb8556a19d508d17768 100644
|
| --- a/components/policy/core/common/BUILD.gn
|
| +++ b/components/policy/core/common/BUILD.gn
|
| @@ -260,8 +260,11 @@ source_set("unit_tests") {
|
| }
|
|
|
| deps = [
|
| - "//components/policy:policy_component_test_support",
|
| "//testing/gmock",
|
| "//testing/gtest",
|
| ]
|
| +
|
| + if (enable_configuration_policy) {
|
| + deps += [ "//components/policy:policy_component_test_support" ]
|
| + }
|
| }
|
|
|