This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: ForkJail's super useful in its own right, shouldn't be limited to just Loom. Reviewed By: BurntBrunch Differential Revision: D6159922 fbshipit-source-id: fd519aeac69230fe72f88b6eccfb2c87d450d01d
- Loading branch information
1 parent
cc0fe4a
commit 84a4075
Showing
8 changed files
with
38 additions
and
56 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
include_defs("//buck_imports/xplat") # THIS_IS_FBANDROID | ||
|
||
if not THIS_IS_FBANDROID: | ||
FORKJAIL_EXPORTED_HEADERS = ["ForkJail.h"] | ||
|
||
fb_xplat_cxx_library( | ||
name = "forkjail", | ||
srcs = glob([ | ||
"ForkJail.cpp", | ||
]), | ||
compiler_flags = [ | ||
"-fexceptions", | ||
"-fPIC", | ||
"-std=gnu++14", | ||
], | ||
exported_headers = FORKJAIL_EXPORTED_HEADERS, | ||
force_static = True, | ||
header_namespace = "forkjail", | ||
headers = glob( | ||
["*.h"], | ||
excludes = FORKJAIL_EXPORTED_HEADERS, | ||
), | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
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