When "--define=MEDIAPIPE_NO_JNI=1" used in compilation, no implementation in libandroid.so is used.
PiperOrigin-RevId: 513580575
This commit is contained in:
parent
6796977a04
commit
02ee934b3e
|
@ -23,8 +23,13 @@ cc_library(
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
hdrs = ["asset_manager_util.h"],
|
hdrs = ["asset_manager_util.h"],
|
||||||
|
defines = select({
|
||||||
|
"//mediapipe/framework:android_no_jni": ["MEDIAPIPE_NO_JNI"],
|
||||||
|
"//conditions:default": [],
|
||||||
|
}),
|
||||||
linkopts = select({
|
linkopts = select({
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
|
"//mediapipe/framework:android_no_jni": [],
|
||||||
"//mediapipe:android": ["-landroid"],
|
"//mediapipe:android": ["-landroid"],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user