From b1d3f4577f206ccf27bb9d397b005841e3b717b1 Mon Sep 17 00:00:00 2001 From: TARGETS Exterminator Date: Fri, 30 Jan 2026 00:05:11 -0800 Subject: [PATCH] Rename build files from TARGETS to BUCK (group ID: 326763708216831369) (#17056) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/17056 Reviewed By: bigfootjon Differential Revision: D91839031 --- devtools/inspector/{TARGETS => BUCK} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename devtools/inspector/{TARGETS => BUCK} (85%) diff --git a/devtools/inspector/TARGETS b/devtools/inspector/BUCK similarity index 85% rename from devtools/inspector/TARGETS rename to devtools/inspector/BUCK index 8834dfbb6ba..4b17939582b 100644 --- a/devtools/inspector/TARGETS +++ b/devtools/inspector/BUCK @@ -1,9 +1,10 @@ +load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary") load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") oncall("executorch") -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "inspector", srcs = [ "_inspector.py", @@ -23,7 +24,7 @@ runtime.python_library( ], ) -python_binary( +fbcode_target(_kind = python_binary, name = "inspector_cli", main_function = ".inspector_cli.main", main_src = "inspector_cli.py", @@ -33,7 +34,7 @@ python_binary( ], ) -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "inspector_utils", srcs = [ "_inspector_utils.py", @@ -50,7 +51,7 @@ runtime.python_library( ], ) -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "intermediate_output_capturer", srcs = [ "_intermediate_output_capturer.py", @@ -60,7 +61,7 @@ runtime.python_library( ], ) -runtime.python_library( +fbcode_target(_kind = runtime.python_library, name = "lib", srcs = ["__init__.py"], deps = [