@@ -28,7 +28,7 @@ non_fbcode_target(_kind = executorch_generated_lib,
28
28
29
29
non_fbcode_target (_kind = fb_android_cxx_library ,
30
30
name = "executorch_jni" ,
31
- srcs = ["jni_layer.cpp" , "log.cpp" ],
31
+ srcs = ["jni_layer.cpp" , "log.cpp" , "jni_layer_runtime.cpp" ],
32
32
allow_jni_merging = False ,
33
33
compiler_flags = ET_JNI_COMPILER_FLAGS ,
34
34
soname = "libexecutorch.$(ext)" ,
@@ -49,7 +49,7 @@ non_fbcode_target(_kind = fb_android_cxx_library,
49
49
50
50
non_fbcode_target (_kind = fb_android_cxx_library ,
51
51
name = "executorch_jni_full" ,
52
- srcs = ["jni_layer.cpp" , "log.cpp" ],
52
+ srcs = ["jni_layer.cpp" , "log.cpp" , "jni_layer_runtime.cpp" ],
53
53
allow_jni_merging = False ,
54
54
compiler_flags = ET_JNI_COMPILER_FLAGS ,
55
55
soname = "libexecutorch.$(ext)" ,
@@ -74,6 +74,7 @@ non_fbcode_target(_kind = fb_android_cxx_library,
74
74
srcs = [
75
75
"jni_layer.cpp" ,
76
76
"jni_layer_llama.cpp" ,
77
+ "jni_layer_runtime.cpp" ,
77
78
],
78
79
allow_jni_merging = False ,
79
80
compiler_flags = ET_JNI_COMPILER_FLAGS + [
@@ -113,6 +114,10 @@ runtime.export_file(
113
114
name = "jni_layer.cpp" ,
114
115
)
115
116
117
+ runtime .export_file (
118
+ name = "jni_layer_runtime.cpp" ,
119
+ )
120
+
116
121
runtime .cxx_library (
117
122
name = "jni_headers" ,
118
123
exported_headers = [
0 commit comments