Skip to content

Commit a9dfe6a

Browse files
committed
fix headers attribute of cxx_test in OSS
We forgot to make header paths work for cxx_test headers. Test Plan: buck2 build //runtime/kernel/test:operator_registry_test ghstack-source-id: a1707b8 ghstack-comment-id: 2680189455 Pull Request resolved: #8662
1 parent 4f0cd47 commit a9dfe6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shim_et/xplat/executorch/build/runtime_wrapper.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def _cxx_test(*args, **kwargs):
268268
kwargs["deps"].append("//executorch/test/utils:utils")
269269

270270
_patch_kwargs_cxx(kwargs)
271+
env.patch_headers(kwargs)
271272
_patch_build_mode_flags(kwargs)
272273
_patch_test_compiler_flags(kwargs)
273274

0 commit comments

Comments
 (0)