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,30 +482,30 @@ 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 = [
"//mediapipe/framework:port", "//mediapipe/framework:port",
"@com_google_absl//absl/container:flat_hash_map", "@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/log:absl_check", "@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/log:absl_log", "@com_google_absl//absl/log:absl_log",
"@com_google_absl//absl/memory", "@com_google_absl//absl/memory",
"@com_google_absl//absl/synchronization", "@com_google_absl//absl/synchronization",
] + select({ ] + select({
"//mediapipe/gpu:disable_gpu": [], "//mediapipe/gpu:disable_gpu": [],
"//conditions:default": [ "//conditions:default": [
"//mediapipe/gpu:gl_base", "//mediapipe/gpu:gl_base",
"//mediapipe/gpu:gl_context", "//mediapipe/gpu:gl_context",
], ],
}) + select({ }) +
"//conditions:default": [], select({
"//mediapipe:android": [ "//conditions:default": [],
], }),
}),
) )
cc_test( cc_test(