From 40c8e0919deb0c4a9aae3e77a39cc21b8e50be90 Mon Sep 17 00:00:00 2001 From: Adrian Kuegel Date: Mon, 15 Jul 2024 23:01:16 -0700 Subject: [PATCH] Reference @google_com_fuzztest inside the cc_fuzztest_grammar_library. PiperOrigin-RevId: 652707836 --- build_defs/cc_fuzztest_grammar_library.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_defs/cc_fuzztest_grammar_library.bzl b/build_defs/cc_fuzztest_grammar_library.bzl index bdf529984..0deafbacd 100644 --- a/build_defs/cc_fuzztest_grammar_library.bzl +++ b/build_defs/cc_fuzztest_grammar_library.bzl @@ -37,7 +37,7 @@ def cc_fuzztest_grammar_library(name, srcs, top_level_rule = None, insert_whites """ output_file_name = name + ".h" - cmd = "$(location //tools:grammar_domain_code_generator)" + \ + cmd = "$(location @com_google_fuzztest//tools:grammar_domain_code_generator)" + \ " --output_header_file_path " + "$(@D)/" + output_file_name + \ (" --insert_whitespace" if insert_whitespace else " --noinsert_whitespace") + \ " --input_grammar_files " + "`echo $(SRCS) | tr ' ' ','`" @@ -50,11 +50,11 @@ def cc_fuzztest_grammar_library(name, srcs, top_level_rule = None, insert_whites outs = [output_file_name], cmd = cmd, heuristic_label_expansion = False, - tools = ["//tools:grammar_domain_code_generator"], + tools = ["@com_google_fuzztest//tools:grammar_domain_code_generator"], ) native.cc_library( name = name, hdrs = [output_file_name], - deps = ["//fuzztest:domain"], + deps = ["@com_google_fuzztest//fuzztest:domain"], )