Skip to content

Commit a3296ed

Browse files
committed
fix missing exported header for tests
1 parent 6170804 commit a3296ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

extension/data_loader/targets.bzl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ def define_common_targets():
7272
srcs = [
7373
"mmap_data_loader.cpp"
7474
] + (["mman_windows.cpp"] if host_info().os.is_windows else []),
75-
headers = [
75+
headers = ["mman_windows.h"] if host_info().os.is_windows else [],
76+
exported_headers = [
7677
"mman.h",
77-
] + (["mman_windows.h"] if host_info().os.is_windows else []),
78-
exported_headers = ["mmap_data_loader.h"],
78+
"mmap_data_loader.h"
79+
],
7980
visibility = [
8081
"//executorch/test/...",
8182
"//executorch/extension/pybindings/...",

0 commit comments

Comments
 (0)