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" ] |
} |
} |