@@ -33,43 +33,43 @@ def define_common_targets():
33
33
)
34
34
35
35
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" ,
70
43
],
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" ,
74
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" ,
70
+ ],
71
+ exported_deps = [
72
+ "//executorch/runtime/core/exec_aten/util:scalar_type_util" ,
73
+ "//executorch/runtime/core:event_tracer" ,
74
+ ],
75
75
)
0 commit comments