Internal change PiperOrigin-RevId: 530379695 Change-Id: I92a2bb6c69a9bb2de7cad66b2e83b1f54b50c033
diff --git a/mpact/sim/decoder/mpact_sim_isa.bzl b/mpact/sim/decoder/mpact_sim_isa.bzl index 064a366..1a30198 100644 --- a/mpact/sim/decoder/mpact_sim_isa.bzl +++ b/mpact/sim/decoder/mpact_sim_isa.bzl
@@ -102,7 +102,7 @@ outs = out_files, cmd = command, heuristic_label_expansion = 0, - tools = ["//external:decoder_gen"], + tools = ["@@com_google_mpact-sim//mpact/sim/decoder:decoder_gen"], ) # The rule for the lib that is built from the generated sources. @@ -166,7 +166,7 @@ outs = out_files, cmd = command, heuristic_label_expansion = 0, - tools = ["//external:bin_format_gen"], + tools = ["@@com_google_mpact-sim//mpact/sim/decoder:bin_format_gen"], ) # The rule for the lib that is built from the generated sources. @@ -195,7 +195,7 @@ # a bash array from $(SRCS), then instead of using $(SRCS) in the command, it # uses only the first element of that array. def _make_isa_tool_invocation_command(num_srcs, prefix, isa_name): - cmd = "ARR=($(SRCS)); $(location //external:decoder_gen) " + cmd = "ARR=($(SRCS)); $(location @@com_google_mpact-sim//mpact/sim/decoder:decoder_gen) " # Add the sources that are not in includes. for i in range(0, num_srcs): @@ -210,7 +210,7 @@ # those that will be included, the command includes creating a bash array from $(SRCS), then # instead of using $(SRCS) in the command, it uses only the first element of that array. def _make_bin_tool_invocation_command(num_srcs, prefix, decoder_name): - cmd = "ARR=($(SRCS)); $(location //external:bin_format_gen) " + cmd = "ARR=($(SRCS)); $(location @@com_google_mpact-sim//mpact/sim/decoder:bin_format_gen) " # Add the sources that are not in includes. for i in range(0, num_srcs):