-
Notifications
You must be signed in to change notification settings - Fork 817
Rename build files from TARGETS to BUCK (group ID: 3485166160954859926) #16922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") | ||
| # Any targets that should be shared between fbcode and xplat must be defined in | ||
| # targets.bzl. This file can contain fbcode-only targets. | ||
|
|
||
| load(":targets.bzl", "define_common_targets") | ||
|
|
||
| oncall("executorch") | ||
|
|
||
| define_common_targets() | ||
| fbcode_target(_kind = define_common_targets,) |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,8 +1,19 @@ | ||||||||||||||||||||||||
| 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/test/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!! | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Any targets that should be shared between fbcode and xplat must be defined in | ||||||||||||||||||||||||
| # targets.bzl. This file can contain fbcode-only targets. | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| load(":targets.bzl", "define_common_targets") | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| fbcode_target(_kind = define_common_targets,is_fbcode = True) | ||||||||||||||||||||||||
|
Comment on lines
+14
to
+19
|
||||||||||||||||||||||||
| # targets.bzl. This file can contain fbcode-only targets. | |
| load(":targets.bzl", "define_common_targets") | |
| fbcode_target(_kind = define_common_targets,is_fbcode = True) | |
| # targets.bzl. This file can contain both xplat-only and fbcode-only targets. | |
| fbcode_target(_kind = define_common_targets,is_fbcode = True) |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor formatting: add spaces after commas in the
fbcode_target(...)call (e.g., between_kindandis_fbcode) to match typical BUCK/Starlark style and improve readability.