diff options
-rw-r--r-- | etc/import.prebuilt/TARGETS.grpc | 5 | ||||
-rw-r--r-- | rules/CC/proto/RULES | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/etc/import.prebuilt/TARGETS.grpc b/etc/import.prebuilt/TARGETS.grpc index 0e5f5e81..ff2ff176 100644 --- a/etc/import.prebuilt/TARGETS.grpc +++ b/etc/import.prebuilt/TARGETS.grpc @@ -83,4 +83,9 @@ , "private-ldflags": ["-lgrpc++_codegen_base_src"] , "deps": ["grpc++"] } +, "grpc++_codegen_base_src": + { "type": ["@", "rules", "CC", "library"] + , "hdrs": [["include", "grpcpp"]] + , "private-ldflags": ["-lgrpc++_codegen_base_src"] + } } diff --git a/rules/CC/proto/RULES b/rules/CC/proto/RULES index d1cfc4e5..af484b0c 100644 --- a/rules/CC/proto/RULES +++ b/rules/CC/proto/RULES @@ -57,6 +57,7 @@ , "defaults": [["./", "..", "defaults"]] , "proto-deps": [ ["@", "grpc", "", "grpc++_codegen_proto"] + , ["@", "grpc", "", "grpc++_codegen_base_src"] , ["@", "protoc", "", "C++ runtime"] ] , "well_known_protos": [["@", "protoc", "", "well_known_protos"]] |