33 "ANDROID" ,
44)
55load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
6+ load ("@fbsource//xplat/executorch/backends/qualcomm/qnn_version.bzl" , "get_qnn_library_verision" )
67
78PYTHON_MODULE_NAME = "PyQnnManagerAdaptor"
89
@@ -32,7 +33,7 @@ def define_common_targets():
3233 "//executorch/backends/qualcomm:schema" ,
3334 "//executorch/backends/qualcomm/aot/ir:qcir_utils" ,
3435 "//executorch/backends/qualcomm/runtime:runtime" ,
35- "fbsource//third-party/qualcomm/qnn:api" ,
36+ "fbsource//third-party/qualcomm/qnn/qnn-{0} :api" . format ( get_qnn_library_verision ()) ,
3637 ],
3738 external_deps = [
3839 "pybind11" ,
@@ -65,7 +66,7 @@ def define_common_targets():
6566 "//executorch/backends/qualcomm:schema" ,
6667 "//executorch/backends/qualcomm/aot/ir:qcir_utils" ,
6768 "//executorch/backends/qualcomm/runtime:runtime" ,
68- "fbsource//third-party/qualcomm/qnn:api" ,
69+ "fbsource//third-party/qualcomm/qnn/qnn-{0} :api" . format ( get_qnn_library_verision ()) ,
6970 ],
7071 external_deps = [
7172 "pybind11" ,
@@ -92,7 +93,7 @@ def define_common_targets():
9293 "//executorch/backends/qualcomm:schema" ,
9394 "//executorch/backends/qualcomm/aot/ir:qcir_utils" ,
9495 "//executorch/backends/qualcomm/runtime:runtime" ,
95- "fbsource//third-party/qualcomm/qnn:api" ,
96+ "fbsource//third-party/qualcomm/qnn/qnn-{0} :api" . format ( get_qnn_library_verision ()) ,
9697 ],
9798 external_deps = [
9899 "pybind11" ,
0 commit comments