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 = [