Skip to content

Commit 10c494e

Browse files
FbsourceTargetsToBuck Botmeta-codesync[bot]
authored andcommitted
Rename build files from TARGETS to BUCK (group ID: 3407902480605305541) (#19422)
Summary: Pull Request resolved: #19422 Reviewed By: bigfootjon Differential Revision: D104414913
1 parent 4413a5c commit 10c494e

4 files changed

Lines changed: 35 additions & 31 deletions

File tree

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
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/devtools/bundled_program/schema/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+
# Any targets that should be shared between fbcode and xplat must be defined in
14+
# targets.bzl. This file can contain fbcode-only targets.
15+
16+
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
17+
load(":targets.bzl", "define_common_targets")
18+
19+
20+
fbcode_target(_kind = define_common_targets,)
21+
22+
fbcode_target(_kind = runtime.python_library,
23+
name = "bundled_program_schema_py",
24+
srcs = [
25+
"__init__.py",
26+
"bundled_program_schema.py",
27+
],
28+
visibility = [
29+
"//executorch/devtools/bundled_program/...",
30+
"//executorch/devtools/etrecord/...",
31+
],
32+
deps = [
33+
"//executorch/exir:scalar_type",
34+
],
35+
)

devtools/bundled_program/schema/TARGETS

Lines changed: 0 additions & 24 deletions
This file was deleted.
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,)

devtools/etdump/data_sinks/tests/TARGETS

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

0 commit comments

Comments
 (0)