@@ -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" , "jni_layer_runtime.cpp" , "jni_helper.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" , "jni_layer_runtime.cpp" , "jni_helper.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)" ,
@@ -71,7 +71,7 @@ non_fbcode_target(_kind = fb_android_cxx_library,
71
71
72
72
non_fbcode_target (_kind = fb_android_cxx_library ,
73
73
name = "executorch_training_jni" ,
74
- srcs = ["jni_layer.cpp" , "log.cpp" , "jni_layer_runtime.cpp" , "jni_layer_training.cpp" , "jni_helper.cpp" ],
74
+ srcs = ["jni_layer.cpp" , "log.cpp" , "jni_layer_runtime.cpp" , "jni_layer_training.cpp" ],
75
75
allow_jni_merging = False ,
76
76
compiler_flags = ET_JNI_COMPILER_FLAGS + [
77
77
"-DEXECUTORCH_BUILD_EXTENSION_TRAINING" ,
@@ -102,7 +102,6 @@ non_fbcode_target(_kind = fb_android_cxx_library,
102
102
"jni_layer.cpp" ,
103
103
"jni_layer_llama.cpp" ,
104
104
"jni_layer_runtime.cpp" ,
105
- "jni_helper.cpp" ,
106
105
],
107
106
allow_jni_merging = False ,
108
107
compiler_flags = ET_JNI_COMPILER_FLAGS + [
@@ -146,14 +145,9 @@ runtime.export_file(
146
145
name = "jni_layer_runtime.cpp" ,
147
146
)
148
147
149
- runtime .export_file (
150
- name = "jni_helper.cpp" ,
151
- )
152
-
153
148
runtime .cxx_library (
154
149
name = "jni_headers" ,
155
150
exported_headers = [
156
151
"jni_layer_constants.h" ,
157
- "jni_helper.h" ,
158
152
]
159
153
)
0 commit comments