From da3646840951a04dd4df5ae92fde923f2bcc188e Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Sat, 12 Nov 2022 10:12:07 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 488065083 --- mediapipe/framework/encode_binary_proto.bzl | 4 ++-- third_party/flatbuffers/build_defs.bzl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mediapipe/framework/encode_binary_proto.bzl b/mediapipe/framework/encode_binary_proto.bzl index 6807a94f9..e849d971f 100644 --- a/mediapipe/framework/encode_binary_proto.bzl +++ b/mediapipe/framework/encode_binary_proto.bzl @@ -123,7 +123,7 @@ _encode_binary_proto = rule( "_proto_compiler": attr.label( executable = True, default = Label(PROTOC), - cfg = "host", + cfg = "exec", ), "deps": attr.label_list( providers = [[ProtoInfo], ["proto"]], @@ -194,7 +194,7 @@ generate_proto_descriptor_set = rule( "_proto_compiler": attr.label( executable = True, default = Label(PROTOC), - cfg = "host", + cfg = "exec", ), "deps": attr.label_list( providers = [[ProtoInfo], ["proto"]], diff --git a/third_party/flatbuffers/build_defs.bzl b/third_party/flatbuffers/build_defs.bzl index 3f2cd2939..75accefc9 100644 --- a/third_party/flatbuffers/build_defs.bzl +++ b/third_party/flatbuffers/build_defs.bzl @@ -361,7 +361,7 @@ _gen_flatbuffer_srcs = rule( "_flatc": attr.label( default = Label("@flatbuffers//:flatc"), executable = True, - cfg = "host", + cfg = "exec", ), }, output_to_genfiles = True,