diff --git a/backends/mediatek/quantizer/TARGETS b/backends/mediatek/quantizer/BUCK similarity index 70% rename from backends/mediatek/quantizer/TARGETS rename to backends/mediatek/quantizer/BUCK index 09be73cd172..1638bbeecff 100644 --- a/backends/mediatek/quantizer/TARGETS +++ b/backends/mediatek/quantizer/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 = "quantizer", srcs = [ "__init__.py", diff --git a/backends/mediatek/runtime/BUCK b/backends/mediatek/runtime/BUCK index d395eb07786..3163f668716 100644 --- a/backends/mediatek/runtime/BUCK +++ b/backends/mediatek/runtime/BUCK @@ -1,3 +1,5 @@ +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. @@ -7,9 +9,8 @@ load( ) load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") -oncall("executorch") -runtime.cxx_library( +non_fbcode_target(_kind = runtime.cxx_library, name = "neuron_backend", srcs = [ "NeuronBackend.cpp", diff --git a/backends/mediatek/runtime/TARGETS b/backends/mediatek/runtime/TARGETS deleted file mode 100644 index e69de29bb2d..00000000000