-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This provides some flexibility to modularise existing libraries in a more fine-grained fashion. Ideally, libraries should be buckified along the lines of the modules we want to generate (one header unit per target), but this is not always readily feasible. In order, to aid with migration and performance, we introduce the ability to partition the headers into different header units. `export_header_unit_filter` now accepts a list of regexes, each defining a different group of headers to turn into a unit. Headers will be intercepted and load the corresponding header unit. The list is built sequentially so that headers in subsequent groups can depend on headers in earlier groups. Reviewed By: apolloww Differential Revision: D64062362 fbshipit-source-id: e6493ec9e34fbca28a3184f32c05d469c5e40705
- Loading branch information
1 parent
34ec237
commit afcbcb9
Showing
4 changed files
with
138 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters