@@ -28,7 +28,7 @@ non_fbcode_target(_kind = executorch_generated_lib,
2828
2929non_fbcode_target (_kind = fb_android_cxx_library ,
3030 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" ],
3232 allow_jni_merging = False ,
3333 compiler_flags = ET_JNI_COMPILER_FLAGS ,
3434 soname = "libexecutorch.$(ext)" ,
@@ -49,7 +49,7 @@ non_fbcode_target(_kind = fb_android_cxx_library,
4949
5050non_fbcode_target (_kind = fb_android_cxx_library ,
5151 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" ],
5353 allow_jni_merging = False ,
5454 compiler_flags = ET_JNI_COMPILER_FLAGS ,
5555 soname = "libexecutorch.$(ext)" ,
@@ -71,7 +71,7 @@ non_fbcode_target(_kind = fb_android_cxx_library,
7171
7272non_fbcode_target (_kind = fb_android_cxx_library ,
7373 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" ],
7575 allow_jni_merging = False ,
7676 compiler_flags = ET_JNI_COMPILER_FLAGS + [
7777 "-DEXECUTORCH_BUILD_EXTENSION_TRAINING" ,
@@ -102,7 +102,6 @@ non_fbcode_target(_kind = fb_android_cxx_library,
102102 "jni_layer.cpp" ,
103103 "jni_layer_llama.cpp" ,
104104 "jni_layer_runtime.cpp" ,
105- "jni_helper.cpp" ,
106105 ],
107106 allow_jni_merging = False ,
108107 compiler_flags = ET_JNI_COMPILER_FLAGS + [
@@ -146,14 +145,9 @@ runtime.export_file(
146145 name = "jni_layer_runtime.cpp" ,
147146)
148147
149- runtime .export_file (
150- name = "jni_helper.cpp" ,
151- )
152-
153148runtime .cxx_library (
154149 name = "jni_headers" ,
155150 exported_headers = [
156151 "jni_layer_constants.h" ,
157- "jni_helper.h" ,
158152 ]
159153)
0 commit comments