|
| 1 | +load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") |
| 2 | +oncall("executorch") |
1 | 3 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
2 | 4 | # All rights reserved. |
3 | 5 | # |
|
6 | 8 |
|
7 | 9 | load("targets.bzl", "define_common_targets") |
8 | 10 |
|
9 | | -oncall("executorch") |
10 | 11 |
|
11 | | -define_common_targets() |
| 12 | +non_fbcode_target(_kind = define_common_targets,) |
| 13 | + |
| 14 | +# !!!! fbcode/executorch/backends/cortex_m/test/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!! |
| 15 | + |
| 16 | +# Copyright (c) Meta Platforms, Inc. and affiliates. |
| 17 | +# All rights reserved. |
| 18 | +# |
| 19 | +# This source code is licensed under the BSD-style license found in the |
| 20 | +# LICENSE file in the root directory of this source tree. |
| 21 | + |
| 22 | +load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest") |
| 23 | +load("targets.bzl", "define_common_targets") |
| 24 | + |
| 25 | +fbcode_target(_kind = python_unittest, |
| 26 | + name="test_replace_quant_nodes", |
| 27 | + srcs=[ |
| 28 | + "test_helpers_passes_utils.py", |
| 29 | + "test_replace_quant_nodes.py", |
| 30 | + ], |
| 31 | + deps=[ |
| 32 | + "//pytorch/ao:torchao", # @manual |
| 33 | + "//caffe2:torch", |
| 34 | + "//executorch/backends/cortex_m/passes:replace_quant_nodes_pass", |
| 35 | + "//executorch/backends/cortex_m/ops:ops", |
| 36 | + ], |
| 37 | +) |
| 38 | + |
| 39 | +fbcode_target(_kind = define_common_targets,) |
0 commit comments