Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions backends/nxp/tests/TARGETS → backends/nxp/tests/BUCK
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load("@fbcode_macros//build_defs:python_pytest.bzl", "python_pytest")

oncall("executorch")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "models",
srcs = [
"models.py",
Expand All @@ -13,7 +14,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "executorch_pipeline",
srcs = [
"executorch_pipeline.py",
Expand All @@ -29,7 +30,7 @@ runtime.python_library(
]
)

python_pytest(
fbcode_target(_kind = python_pytest,
name = "test_quantizer",
srcs = [
"test_quantizer.py",
Expand All @@ -41,7 +42,7 @@ python_pytest(
],
)

python_pytest(
fbcode_target(_kind = python_pytest,
name = "test_neutron_backend",
srcs = [
"test_neutron_backend.py",
Expand Down
22 changes: 20 additions & 2 deletions backends/qualcomm/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
oncall("executorch")
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain xplat-only targets.

load(":targets.bzl", "define_common_targets")

oncall("executorch")

define_common_targets()
non_fbcode_target(_kind = define_common_targets,)

# !!!! fbcode/executorch/backends/qualcomm/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!

load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load(":targets.bzl", "define_common_targets")


fbcode_target(_kind = define_common_targets,)

fbcode_target(_kind = runtime.python_library,
name = "preprocess",
srcs = ["qnn_preprocess.py"],
visibility = ["PUBLIC"],
deps = [
"//executorch/backends/qualcomm/_passes:passes",
],
)
15 changes: 0 additions & 15 deletions backends/qualcomm/TARGETS

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

oncall("executorch")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "passes",
srcs = glob([
"*.py",
Expand Down
10 changes: 9 additions & 1 deletion backends/qualcomm/aot/python/BUCK
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load(":targets.bzl", "define_common_targets")

oncall("executorch")

define_common_targets()
non_fbcode_target(_kind = define_common_targets,)

# !!!! fbcode/executorch/backends/qualcomm/aot/python/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!

load(":targets.bzl", "define_common_targets")


fbcode_target(_kind = define_common_targets,)
5 changes: 0 additions & 5 deletions backends/qualcomm/aot/python/TARGETS

This file was deleted.

Loading