Index: components/components_tests.gypi |
diff --git a/components/components_tests.gypi b/components/components_tests.gypi |
index 58b71513de3bbfb4bae9ab0a54a66b03800ed51d..61346d07a88af4794f075d682b510d7bff7956c8 100644 |
--- a/components/components_tests.gypi |
+++ b/components/components_tests.gypi |
@@ -49,6 +49,9 @@ |
'../skia/skia.gyp:skia', |
'navigation_interception', |
+ # Dependencies of policy |
+ 'policy_component', |
+ |
# Dependencies of sessions |
'../third_party/protobuf/protobuf.gyp:protobuf_lite', |
'sessions', |
@@ -93,6 +96,11 @@ |
'ldflags': ['-rdynamic'], |
}, |
}], |
+ ['configuration_policy==1', { |
+ 'sources': [ |
+ 'policy/core/common/policy_schema_unittest.cc', |
+ ], |
+ }], |
], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [4267, ], |