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

Unified Diff: third_party/protobuf/proto_library.gni

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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 | « third_party/protobuf/BUILD.gn ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/proto_library.gni
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index f228f653cf3d2a40a1504195dc14468b24df33a5..40fb80fc2d7329de788874e0021ea39427616c0c 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -140,15 +140,15 @@ template("proto_library") {
configs += invoker.extra_configs
}
- direct_dependent_configs = [ "//third_party/protobuf:using_proto" ]
+ public_configs = [ "//third_party/protobuf:using_proto" ]
+ public_deps = [
+ # The generated headers reference headers within protobuf_lite, so
+ # dependencies must be able to find those headers too.
+ "//third_party/protobuf:protobuf_lite",
+ ]
deps = [
":$action_name",
- "//third_party/protobuf:protobuf_lite",
]
-
- # The generated headers reference headers within protobuf_lite, so
- # dependencies must be able to find those headers too.
- forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ]
}
}
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698