Commit 2ae4fd7
migrate 3 fbcode-only TARGETS dirs with placeholder BUCK siblings (pytorch#21066)
Summary:
Chunk 7A of fbcode/executorch TARGETS->BUCK migration. 3 directories where:
- TARGETS contained substantial fbcode-only build rules
(`fbcode_macros`, `cpp_library`, `cpp_unittest`, etc.)
- BUCK was a 4-5-line placeholder (e.g. "empty BUCK file to unblock landing")
- No targets.bzl existed yet
Same transform as chunk 6: created a new `targets.bzl` with the original
loads and a `define_common_targets(is_fbcode = False)` function whose body
opens with `if not is_fbcode: return`. Overwrote the placeholder BUCK
with a thin caller that loads `fbsource_utils.is_fbcode()` and calls
`define_common_targets(is_fbcode = is_fbcode())`.
Directories migrated:
- exir/dialects/edge/test
- exir/tests
- test/end2end
Differential Revision: D1090820451 parent 7628aa6 commit 2ae4fd7
9 files changed
Lines changed: 675 additions & 653 deletions
File tree
- exir
- dialects/edge/test
- tests
- test/end2end
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
0 commit comments