Skip to content

Commit bba1233

Browse files
FbsourceTargetsToBuck Botmeta-codesync[bot]
authored andcommitted
Rename build files from TARGETS to BUCK (group ID: 706341641191688314)
Reviewed By: bigfootjon Differential Revision: D104415372
1 parent 9889c7c commit bba1233

7 files changed

Lines changed: 28 additions & 20 deletions

File tree

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
2+
oncall("executorch")
13
# Any targets that should be shared between fbcode and xplat must be defined in
24
# targets.bzl. This file can contain xplat-only targets.
35

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

6-
oncall("executorch")
78

8-
define_common_targets()
9+
non_fbcode_target(_kind = define_common_targets,)
10+
11+
# !!!! fbcode/executorch/backends/qualcomm/aot/wrappers/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+
load(":targets.bzl", "define_common_targets")
14+
15+
16+
fbcode_target(_kind = define_common_targets,)

backends/qualcomm/aot/wrappers/TARGETS

Lines changed: 0 additions & 5 deletions
This file was deleted.

backends/qualcomm/builders/BUCK

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1+
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
12
load(":targets.bzl", "define_common_targets")
23

34
oncall("executorch")
45

5-
define_common_targets()
6+
non_fbcode_target(_kind = define_common_targets,)
7+
8+
# !!!! fbcode/executorch/backends/qualcomm/builders/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
9+
10+
load(":targets.bzl", "define_common_targets")
11+
12+
13+
fbcode_target(_kind = define_common_targets,)

backends/qualcomm/builders/TARGETS

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
12
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
23

3-
runtime.python_library(
4+
fbcode_target(_kind = runtime.python_library,
45
name = "utils",
56
srcs = ["utils.py"],
67
deps = [
@@ -11,7 +12,7 @@ runtime.python_library(
1112
]
1213
)
1314

14-
runtime.python_library(
15+
fbcode_target(_kind = runtime.python_library,
1516
name = "qnn_intermediate_debugger",
1617
srcs = [
1718
"format_outputs.py",

backends/qualcomm/partition/BUCK

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
2+
load(":targets.bzl", "define_common_targets")
3+
4+
oncall("executorch")
5+
6+
fbcode_target(_kind = define_common_targets,)

backends/qualcomm/partition/TARGETS

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)