diff --git a/cc/defs.bzl b/cc/defs.bzl index a141dbb4..11be6fde 100644 --- a/cc/defs.bzl +++ b/cc/defs.bzl @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library") - """Starlark rules for building C++ projects.""" load("//cc/private/rules_impl:cc_flags_supplier.bzl", _cc_flags_supplier = "cc_flags_supplier") @@ -105,8 +103,8 @@ def cc_proto_library(**attrs): **attrs: Rule attributes """ - # buildifier: disable=native-cc - cc_proto_library(**_add_tags(attrs)) + # buildifier: disable=native-cc-proto + native.cc_proto_library(**_add_tags(attrs)) def fdo_prefetch_hints(**attrs): """Bazel fdo_prefetch_hints rule.