From e27bbf15dcf5ab983c841a853eb3690144461ee2 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Wed, 18 Oct 2023 09:21:13 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 574497996 --- mediapipe/framework/formats/BUILD | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/mediapipe/framework/formats/BUILD b/mediapipe/framework/formats/BUILD index 8de14ecf3..5e9403736 100644 --- a/mediapipe/framework/formats/BUILD +++ b/mediapipe/framework/formats/BUILD @@ -482,30 +482,30 @@ cc_library( "-framework MetalKit", ], "//conditions:default": [], + # Option for vendor binaries to avoid linking libandroid.so. "//mediapipe/framework:android_no_jni": [], "//mediapipe:android": ["-landroid"], ":android_link_native_window": [ - "-lnativewindow", # Provides to vendor processes on Android API >= 26. + "-lnativewindow", # Provides to vendor binaries on Android API >= 26. ], }), deps = [ - "//mediapipe/framework:port", - "@com_google_absl//absl/container:flat_hash_map", - "@com_google_absl//absl/log:absl_check", - "@com_google_absl//absl/log:absl_log", - "@com_google_absl//absl/memory", - "@com_google_absl//absl/synchronization", - ] + select({ - "//mediapipe/gpu:disable_gpu": [], - "//conditions:default": [ - "//mediapipe/gpu:gl_base", - "//mediapipe/gpu:gl_context", - ], - }) + select({ - "//conditions:default": [], - "//mediapipe:android": [ - ], - }), + "//mediapipe/framework:port", + "@com_google_absl//absl/container:flat_hash_map", + "@com_google_absl//absl/log:absl_check", + "@com_google_absl//absl/log:absl_log", + "@com_google_absl//absl/memory", + "@com_google_absl//absl/synchronization", + ] + select({ + "//mediapipe/gpu:disable_gpu": [], + "//conditions:default": [ + "//mediapipe/gpu:gl_base", + "//mediapipe/gpu:gl_context", + ], + }) + + select({ + "//conditions:default": [], + }), ) cc_test(