Skip to content
Open
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
35 changes: 34 additions & 1 deletion backends/xnnpack/serialization/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load(":targets.bzl", "define_common_targets")

define_common_targets()
oncall("executorch")
non_fbcode_target(_kind = define_common_targets,)

# !!!! fbcode/executorch/backends/xnnpack/serialization/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 = "xnnpack_schema",
srcs = [
"xnnpack_graph_schema.py",
],
visibility = ["PUBLIC"],
)

fbcode_target(_kind = runtime.python_library,
name = "xnnpack_serializer",
srcs = [
"xnnpack_graph_serialize.py",
],
resources = [
"schema.fbs",
],
visibility = ["PUBLIC"],
deps = [
":xnnpack_schema",
"//executorch/exir/_serialize:lib",
],
)
29 changes: 0 additions & 29 deletions backends/xnnpack/serialization/TARGETS

This file was deleted.

15 changes: 13 additions & 2 deletions codegen/test/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
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")


non_fbcode_target(_kind = define_common_targets,)

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

# 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()
fbcode_target(_kind = define_common_targets,)
8 changes: 0 additions & 8 deletions codegen/test/TARGETS

This file was deleted.

12 changes: 10 additions & 2 deletions codegen/tools/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
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/codegen/tools/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,is_fbcode = True)
5 changes: 0 additions & 5 deletions codegen/tools/TARGETS

This file was deleted.

15 changes: 13 additions & 2 deletions configurations/BUCK
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
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/configurations/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!

# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.

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


fbcode_target(_kind = define_common_targets,)
8 changes: 0 additions & 8 deletions configurations/TARGETS

This file was deleted.

Loading