diff --git a/backends/qualcomm/aot/wrappers/BUCK b/backends/qualcomm/aot/wrappers/BUCK index 1e8cc179228..2d908d26fe8 100644 --- a/backends/qualcomm/aot/wrappers/BUCK +++ b/backends/qualcomm/aot/wrappers/BUCK @@ -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/backends/qualcomm/aot/wrappers/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,) diff --git a/backends/qualcomm/aot/wrappers/TARGETS b/backends/qualcomm/aot/wrappers/TARGETS deleted file mode 100644 index 0a42614a385..00000000000 --- a/backends/qualcomm/aot/wrappers/TARGETS +++ /dev/null @@ -1,5 +0,0 @@ -load(":targets.bzl", "define_common_targets") - -oncall("executorch") - -define_common_targets() diff --git a/backends/qualcomm/builders/BUCK b/backends/qualcomm/builders/BUCK index 0a42614a385..e44c1bd8517 100644 --- a/backends/qualcomm/builders/BUCK +++ b/backends/qualcomm/builders/BUCK @@ -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/builders/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,) diff --git a/backends/qualcomm/builders/TARGETS b/backends/qualcomm/builders/TARGETS deleted file mode 100644 index 0a42614a385..00000000000 --- a/backends/qualcomm/builders/TARGETS +++ /dev/null @@ -1,5 +0,0 @@ -load(":targets.bzl", "define_common_targets") - -oncall("executorch") - -define_common_targets() diff --git a/backends/qualcomm/debugger/TARGETS b/backends/qualcomm/debugger/BUCK similarity index 81% rename from backends/qualcomm/debugger/TARGETS rename to backends/qualcomm/debugger/BUCK index 6a7732231fc..c86f0756d67 100644 --- a/backends/qualcomm/debugger/TARGETS +++ b/backends/qualcomm/debugger/BUCK @@ -1,6 +1,7 @@ +load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "utils", srcs = ["utils.py"], deps = [ @@ -11,7 +12,7 @@ runtime.python_library( ] ) -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "qnn_intermediate_debugger", srcs = [ "format_outputs.py", diff --git a/backends/qualcomm/partition/BUCK b/backends/qualcomm/partition/BUCK new file mode 100644 index 00000000000..f5029903c21 --- /dev/null +++ b/backends/qualcomm/partition/BUCK @@ -0,0 +1,6 @@ +load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") +load(":targets.bzl", "define_common_targets") + +oncall("executorch") + +fbcode_target(_kind = define_common_targets,) diff --git a/backends/qualcomm/partition/TARGETS b/backends/qualcomm/partition/TARGETS deleted file mode 100644 index 0a42614a385..00000000000 --- a/backends/qualcomm/partition/TARGETS +++ /dev/null @@ -1,5 +0,0 @@ -load(":targets.bzl", "define_common_targets") - -oncall("executorch") - -define_common_targets()