Internal change

PiperOrigin-RevId: 512777889
This commit is contained in:
Sebastian Schmidt 2023-02-27 17:32:09 -08:00 committed by Copybara-Service
parent bfddb32358
commit 06dd003113

View File

@ -13,6 +13,7 @@
# limitations under the License.
#
load("@bazel_skylib//lib:selects.bzl", "selects")
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
load("//mediapipe/framework:mediapipe_register_type.bzl", "mediapipe_register_type")
@ -23,6 +24,14 @@ package(
licenses(["notice"])
selects.config_setting_group(
name = "ios_or_disable_gpu",
match_any = [
"//mediapipe/gpu:disable_gpu",
"//mediapipe:ios",
],
)
mediapipe_proto_library(
name = "detection_proto",
srcs = ["detection.proto"],
@ -336,9 +345,7 @@ cc_library(
"//conditions:default": [
"//mediapipe/gpu:gl_texture_buffer",
],
"//mediapipe:ios": [
],
"//mediapipe/gpu:disable_gpu": [],
"ios_or_disable_gpu": [],
}) + select({
"//conditions:default": [],
"//mediapipe:apple": [