29 lines
777 B
Python
29 lines
777 B
Python
objc_library(
|
|
name = "posetracking_gpu_solution",
|
|
srcs = glob([
|
|
"*.h",
|
|
"*.mm",
|
|
]),
|
|
hdrs = [
|
|
"PoseTracking.h",
|
|
"PoseTrackingOptions.h",
|
|
],
|
|
copts = [
|
|
"-Wno-shorten-64-to-32",
|
|
],
|
|
sdk_frameworks = ["Accelerate"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//mediapipe/objc:mediapipe_framework_ios",
|
|
"//mediapipe/objc:mediapipe_input_sources_ios",
|
|
"//mediapipe/objc:mediapipe_layer_renderer",
|
|
] + select({
|
|
"//mediapipe:ios_i386": [],
|
|
"//mediapipe:ios_x86_64": [],
|
|
"//conditions:default": [
|
|
"//mediapipe/graphs/pose_tracking:pose_tracking_gpu_deps",
|
|
"//mediapipe/framework/formats:landmark_cc_proto",
|
|
],
|
|
}),
|
|
)
|