Index: components/policy/BUILD.gn |
diff --git a/components/policy/BUILD.gn b/components/policy/BUILD.gn |
index 696c816333e16542ca3c660f8ce4dc6437e3a358..bf7ceca0df574078cdf66dadacc47c33013ecf53 100644 |
--- a/components/policy/BUILD.gn |
+++ b/components/policy/BUILD.gn |
@@ -192,10 +192,7 @@ component("cloud_policy_proto_generated_compile") { |
] |
} |
proto_library("cloud_policy_proto_generated_compile_proto") { |
- visibility = [ |
- ":cloud_policy_proto_generated_compile", |
- ":chrome_settings_proto_generated_compile", |
- ] |
+ visibility = [ ":cloud_policy_proto_generated_compile" ] |
sources = [ |
cloud_policy_proto_path, |
] |
@@ -212,28 +209,16 @@ proto_library("cloud_policy_proto_generated_compile_proto") { |
} |
# This target builds the "full" protobuf, used for tests only. |
-component("chrome_settings_proto_generated_compile") { |
- testonly = true |
- public_deps = [ |
- ":chrome_settings_proto_generated_compile_proto", |
- ":cloud_policy_proto_generated_compile_proto", |
- ] |
-} |
-proto_library("chrome_settings_proto_generated_compile_proto") { |
+proto_library("chrome_settings_proto") { |
testonly = true |
- visibility = [ ":chrome_settings_proto_generated_compile" ] |
sources = [ |
chrome_settings_proto_path, |
] |
- |
proto_out_dir = "components/policy/proto" |
- cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:" |
- cc_include = "components/policy/proto/policy_proto_export.h" |
- component_build_force_source_set = true |
- defines = [ "POLICY_PROTO_COMPILATION" ] |
deps = [ |
":cloud_policy_code_generate", |
+ ":cloud_policy_proto_generated_compile", |
] |
} |