Skip to content

Commit 74bc975

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

5 files changed

Lines changed: 16 additions & 9 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
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
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
34
load("@fbcode_macros//build_defs:python_unittest_remote_gpu.bzl", "python_unittest_remote_gpu")
45

56
oncall("executorch")
67

7-
python_unittest_remote_gpu(
8+
fbcode_target(_kind = python_unittest_remote_gpu,
89
name = "test_cuda_export",
910
srcs = [
1011
"test_cuda_export.py",
@@ -24,7 +25,7 @@ python_unittest_remote_gpu(
2425
keep_gpu_sections = True,
2526
)
2627

27-
python_unittest(
28+
fbcode_target(_kind = python_unittest,
2829
name = "test_cuda_partitioner",
2930
srcs = [
3031
"test_cuda_partitioner.py",
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
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
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
34

45
oncall("executorch")
56

6-
runtime.python_library(
7+
fbcode_target(_kind = runtime.python_library,
78
name = "example_quantizer",
89
srcs = [
910
"example_quantizer.py",
@@ -15,7 +16,7 @@ runtime.python_library(
1516
],
1617
)
1718

18-
runtime.python_library(
19+
fbcode_target(_kind = runtime.python_library,
1920
name = "example_backend",
2021
srcs = [
2122
"example_backend.py",
@@ -27,7 +28,7 @@ runtime.python_library(
2728
],
2829
)
2930

30-
runtime.python_library(
31+
fbcode_target(_kind = runtime.python_library,
3132
name = "example_partitioner",
3233
srcs = [
3334
"example_partitioner.py",
@@ -43,7 +44,7 @@ runtime.python_library(
4344
],
4445
)
4546

46-
python_unittest(
47+
fbcode_target(_kind = python_unittest,
4748
name = "test_example_delegate",
4849
srcs = [
4950
"test_example_delegate.py",
Lines changed: 2 additions & 1 deletion
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 = "quantizer",
56
srcs = [
67
"__init__.py",

backends/mediatek/runtime/BUCK

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
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

@@ -7,9 +9,8 @@ load(
79
)
810
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
911

10-
oncall("executorch")
1112

12-
runtime.cxx_library(
13+
non_fbcode_target(_kind = runtime.cxx_library,
1314
name = "neuron_backend",
1415
srcs = [
1516
"NeuronBackend.cpp",
@@ -31,3 +32,6 @@ runtime.cxx_library(
3132
platforms = [ANDROID],
3233
visibility = ["PUBLIC"],
3334
)
35+
36+
# !!!! fbcode/executorch/backends/mediatek/runtime/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
37+

backends/mediatek/runtime/TARGETS

Whitespace-only changes.

0 commit comments

Comments
 (0)