diff options
author | Vijay Pai <vpai@google.com> | 2017-04-14 17:19:52 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2017-04-20 22:21:01 +0000 |
commit | f74eaa69575f2570d18dbc37acafb60670f06fe5 (patch) | |
tree | 3582de1775337fe6a1a7fef84ae302c79d121257 /bazel/generate_cc.bzl | |
parent | a935ae1505c768ca0ce6ea981af1fb03c56052d7 (diff) |
Fix up protobuf submodule name to match bazel expectation
Diffstat (limited to 'bazel/generate_cc.bzl')
-rw-r--r-- | bazel/generate_cc.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bazel/generate_cc.bzl b/bazel/generate_cc.bzl index f3961f0a41..35c2983b54 100644 --- a/bazel/generate_cc.bzl +++ b/bazel/generate_cc.bzl @@ -35,10 +35,10 @@ def generate_cc_impl(ctx): well_known_proto_files = [] if ctx.attr.well_known_protos: f = ctx.attr.well_known_protos.files.to_list()[0].dirname - if f != "external/submodule_protobuf/src/google/protobuf": - print("Error: Only @submodule_protobuf//:well_known_protos is supported") + if f != "external/com_google_protobuf/src/google/protobuf": + print("Error: Only @com_google_protobuf//:well_known_protos is supported") else: - # f points to "external/submodule_protobuf/src/google/protobuf" + # f points to "external/com_google_protobuf/src/google/protobuf" # add -I argument to protoc so it knows where to look for the proto files. arguments += ["-I{0}".format(f + "/../..")] well_known_proto_files = [f for f in ctx.attr.well_known_protos.files] |