|
| 1 | +# Copyright 2025 Arm Limited and/or its affiliates. |
| 2 | +# |
| 3 | +# This source code is licensed under the BSD-style license found in the |
| 4 | +# LICENSE file in the root directory of this source tree. |
| 5 | + |
| 6 | +# @noautodeps |
| 7 | +load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") |
| 8 | + |
| 9 | +runtime.python_library( |
| 10 | + name = "arm_recipe_types", |
| 11 | + srcs = ["arm_recipe_types.py"], |
| 12 | + deps = [ |
| 13 | + "//executorch/export:lib", |
| 14 | + ], |
| 15 | +) |
| 16 | + |
| 17 | +runtime.python_library( |
| 18 | + name = "arm_recipe", |
| 19 | + srcs = ["recipe.py"], |
| 20 | + deps = [ |
| 21 | + "//executorch/backends/arm:arm_compile_spec", |
| 22 | + "//executorch/backends/arm:_factory", |
| 23 | + "//executorch/exir:pass_manager", |
| 24 | + "//executorch/exir:lib", |
| 25 | + "//executorch/export:lib", |
| 26 | + ], |
| 27 | +) |
| 28 | + |
| 29 | +runtime.python_library( |
| 30 | + name = "arm_recipe_provider", |
| 31 | + srcs = ["arm_recipe_provider.py"], |
| 32 | + deps = [ |
| 33 | + ":arm_recipe", |
| 34 | + ":arm_recipe_types", |
| 35 | + "//executorch/backends/arm/quantizer:lib", |
| 36 | + "//executorch/backends/arm/test:common", |
| 37 | + "//executorch/backends/arm:_factory", |
| 38 | + "//executorch/export:lib", |
| 39 | + ], |
| 40 | +) |
| 41 | + |
| 42 | +runtime.python_library( |
| 43 | + name = "lib", |
| 44 | + srcs = ["__init__.py"], |
| 45 | + deps = [ |
| 46 | + ":arm_recipe", |
| 47 | + ":arm_recipe_provider", |
| 48 | + ":arm_recipe_types", |
| 49 | + "//executorch/export:lib", |
| 50 | + ], |
| 51 | +) |
0 commit comments