No public description

PiperOrigin-RevId: 574497996
This commit is contained in:
MediaPipe Team 2023-10-18 09:21:13 -07:00 committed by Copybara-Service
parent d006304f6a
commit e27bbf15dc

View File

@ -482,10 +482,11 @@ cc_library(
"-framework MetalKit", "-framework MetalKit",
], ],
"//conditions:default": [], "//conditions:default": [],
# Option for vendor binaries to avoid linking libandroid.so.
"//mediapipe/framework:android_no_jni": [], "//mediapipe/framework:android_no_jni": [],
"//mediapipe:android": ["-landroid"], "//mediapipe:android": ["-landroid"],
":android_link_native_window": [ ":android_link_native_window": [
"-lnativewindow", # Provides <android/hardware_buffer.h> to vendor processes on Android API >= 26. "-lnativewindow", # Provides <android/hardware_buffer.h> to vendor binaries on Android API >= 26.
], ],
}), }),
deps = [ deps = [
@ -501,10 +502,9 @@ cc_library(
"//mediapipe/gpu:gl_base", "//mediapipe/gpu:gl_base",
"//mediapipe/gpu:gl_context", "//mediapipe/gpu:gl_context",
], ],
}) + select({ }) +
select({
"//conditions:default": [], "//conditions:default": [],
"//mediapipe:android": [
],
}), }),
) )