File tree Expand file tree Collapse file tree 3 files changed +37
-8
lines changed
mediapipe/tasks/java/com/google/mediapipe/tasks/genai Expand file tree Collapse file tree 3 files changed +37
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- package =" com.google.mediapipe.tasks.genai" >
4
- <uses-sdk android : minSdkVersion =" 24"
5
- android : targetSdkVersion =" 34" />
2
+ <manifest
3
+ xmlns : android =" http://schemas.android.com/apk/res/android"
4
+ package =" com.google.mediapipe.tasks.genai" >
5
+ <uses-sdk
6
+ android : minSdkVersion =" 24"
7
+ android : targetSdkVersion =" 34" />
8
+ <application >
9
+ <!-- Applications that target Android S+ require explicit declaration of
10
+ any referenced vendor-provided libraries. -->
11
+ <uses-native-library
12
+ android : name =" libOpenCL.so"
13
+ android : required =" false" />
14
+ <uses-native-library
15
+ android : name =" libOpenCL-car.so"
16
+ android : required =" false" />
17
+ <uses-native-library
18
+ android : name =" libOpenCL-pixel.so"
19
+ android : required =" false" />
20
+ </application >
6
21
</manifest >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ android_library(
46
46
target = "//mediapipe/tasks/java/com/google/mediapipe/tasks/genai/llminference/jni/proto:llm_response_context_java_proto_lite" ,
47
47
),
48
48
],
49
+ exports_manifest = 1 ,
49
50
manifest = "AndroidManifest.xml" ,
50
51
deps = [
51
52
":libllm_inference_engine_jni_lib" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <manifest
3
+ xmlns : android =" http://schemas.android.com/apk/res/android"
3
4
package =" com.google.mediapipe.tasks.genai.llminference" >
4
-
5
- < uses-sdk android : minSdkVersion =" 21"
5
+ < uses-sdk
6
+ android : minSdkVersion =" 21"
6
7
android : targetSdkVersion =" 34" />
7
-
8
+ <application >
9
+ <!-- Applications that target Android S+ require explicit declaration of
10
+ any referenced vendor-provided libraries. -->
11
+ <uses-native-library
12
+ android : name =" libOpenCL.so"
13
+ android : required =" false" />
14
+ <uses-native-library
15
+ android : name =" libOpenCL-car.so"
16
+ android : required =" false" />
17
+ <uses-native-library
18
+ android : name =" libOpenCL-pixel.so"
19
+ android : required =" false" />
20
+ </application >
8
21
</manifest >
You can’t perform that action at this time.
0 commit comments