Skip to content

Commit fea397a

Browse files
committed
Android use new llm runner deps
1 parent 108d29d commit fea397a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

extension/android/CMakeLists.txt

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -168,27 +168,8 @@ endif()
168168

169169
if(EXECUTORCH_BUILD_LLAMA_JNI)
170170
target_sources(executorch_jni PRIVATE jni/jni_layer_llama.cpp jni/log.cpp)
171-
list(APPEND link_libraries llama_runner llava_runner)
171+
list(APPEND link_libraries extension_llm_runner)
172172
target_compile_definitions(executorch_jni PUBLIC EXECUTORCH_BUILD_LLAMA_JNI=1)
173-
add_subdirectory(
174-
${EXECUTORCH_ROOT}/examples/models/llava/runner
175-
${CMAKE_CURRENT_BINARY_DIR}/../../examples/models/llava/runner
176-
)
177-
178-
add_subdirectory(
179-
${EXECUTORCH_ROOT}/examples/models/llama/runner
180-
${CMAKE_CURRENT_BINARY_DIR}/../../examples/models/llama/runner
181-
)
182-
183-
target_sources(
184-
executorch_jni
185-
PRIVATE ${EXECUTORCH_ROOT}/extension/llm/runner/llm_runner_helper.cpp
186-
)
187-
188-
target_include_directories(
189-
executorch_jni PRIVATE ${EXECUTORCH_ROOT}/extension/llm/runner
190-
)
191-
192173
if(QNN_SDK_ROOT)
193174
target_sources(
194175
executorch_jni

0 commit comments

Comments
 (0)