Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1461)

Unified Diff: components/policy/BUILD.gn

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | third_party/protobuf/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | third_party/protobuf/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698