@@ -33,43 +33,40 @@ def define_common_targets():
3333 )
3434
3535 runtime .cxx_library (
36- name = "runtime" ,
37- srcs = glob (
38- [
39- "*.cpp" ,
40- "backends/*.cpp" ,
41- "backends/htpbackend/*.cpp" ,
42- "backends/htpbackend/aarch64/*.cpp" ,
43- ],
44- exclude = ["Logging.cpp" ],
45- ),
46- exported_headers = glob (
47- [
48- "*.h" ,
49- "backends/*.h" ,
50- "backends/htpbackend/*.h" ,
51- ],
52- exclude = ["Logging.h" ],
53- ),
54- define_static_target = True ,
55- link_whole = True , # needed for executorch/examples/models/llama2:main to register QnnBackend
56- platforms = [ANDROID ],
57- visibility = ["@EXECUTORCH_CLIENTS" ],
58- resources = {
59- "qnn_lib" : "fbsource//third-party/qualcomm/qnn/qnn-2.25:qnn_offline_compile_libs" ,
60- },
61- deps = [
62- "fbsource//third-party/qualcomm/qnn:api" ,
63- ":logging" ,
64- "//executorch/backends/qualcomm:schema" ,
65- "//executorch/backends/qualcomm/aot/ir:qcir_utils" ,
66- "//executorch/backends/qualcomm/aot/wrappers:wrappers" ,
67- "//executorch/runtime/backend:interface" ,
68- "//executorch/runtime/core:core" ,
69- "//executorch/extension/tensor:tensor" ,
36+ name = "runtime" ,
37+ srcs = glob (
38+ [
39+ "*.cpp" ,
40+ "backends/*.cpp" ,
41+ "backends/htpbackend/*.cpp" ,
42+ "backends/htpbackend/aarch64/*.cpp" ,
7043 ],
71- exported_deps = [
72- "//executorch/runtime/core/exec_aten/util:scalar_type_util" ,
73- "//executorch/runtime/core:event_tracer" ,
44+ exclude = ["Logging.cpp" ],
45+ ),
46+ exported_headers = glob (
47+ [
48+ "*.h" ,
49+ "backends/*.h" ,
50+ "backends/htpbackend/*.h" ,
7451 ],
52+ exclude = ["Logging.h" ],
53+ ),
54+ define_static_target = True ,
55+ link_whole = True , # needed for executorch/examples/models/llama2:main to register QnnBackend
56+ platforms = [ANDROID ],
57+ visibility = ["@EXECUTORCH_CLIENTS" ],
58+ deps = [
59+ "fbsource//third-party/qualcomm/qnn:api" ,
60+ ":logging" ,
61+ "//executorch/backends/qualcomm:schema" ,
62+ "//executorch/backends/qualcomm/aot/ir:qcir_utils" ,
63+ "//executorch/backends/qualcomm/aot/wrappers:wrappers" ,
64+ "//executorch/runtime/backend:interface" ,
65+ "//executorch/runtime/core:core" ,
66+ "//executorch/extension/tensor:tensor" ,
67+ ],
68+ exported_deps = [
69+ "//executorch/runtime/core/exec_aten/util:scalar_type_util" ,
70+ "//executorch/runtime/core:event_tracer" ,
71+ ],
7572 )
0 commit comments