Skip to content

Commit 623cd11

Browse files
authored
Move third-party/glob_defs.bzl to shim_et (#9140)
Summary:As titled. Doing this so that `glob_defs.bzl` can be used by other TARGETS files outside of `third-party/`. Test Plan: Rely on CI jobs Reviewers: myuan Subscribers: Tasks: Tags: ### Summary [PLEASE REMOVE] See [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests) for ExecuTorch PR guidelines. [PLEASE REMOVE] If this PR closes an issue, please add a `Fixes #<issue-id>` line. [PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: <area>" label. For a list of available release notes labels, check out [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests). ### Test plan [PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable.
1 parent 9b3eb06 commit 623cd11

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

backends/xnnpack/third-party/xnnpack_src_defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ load(
77
_XNNPACK_SRCS = "XNNPACK_SRCS",
88
)
99
load("//backends/xnnpack/third-party/XNNPACK/gen:microkernels.bzl", "prod_srcs_for_arch")
10-
load("//third-party:glob_defs.bzl", "subdir_glob")
10+
load("@fbsource//xplat/executorch/third-party:glob_defs.bzl", "subdir_glob")
1111

1212
def define_xnnpack_build_src(xnnpack_build_src):
1313
return ["XNNPACK/{}".format(src) for src in xnnpack_build_src]

third-party/TARGETS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("@fbsource//xplat/executorch/build/runtime_wrapper.bzl", "runtime")
2+
load("@fbsource//xplat/executorch/third-party/glob_defs.bzl", "subdir_glob")
23
load(":flatcc_defs.bzl", "define_flatcc_targets")
34
load(":gflags.bzl", "define_gflags")
4-
load(":glob_defs.bzl", "subdir_glob")
55
load(":gtest_defs.bzl", "define_gtest_targets")
66
load(":prebuilt_python_defs.bzl", "add_prebuilt_python_library_targets")
77
load("@prelude//rules.bzl", "prebuilt_cxx_library")

0 commit comments

Comments
 (0)