diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 3b8f20e..2d0902a 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -208,6 +208,10 @@ # Disable TCMalloc's heapchecker. 'linux_use_heapchecker%': 0, + # Turn on seccomp sandbox by default. + # (Note: this is disabled for official builds.) + 'linux_use_seccomp_sandbox%': 1, + # Set to select the Title Case versions of strings in GRD files. 'use_titlecase_in_grd_files%': 0, @@ -957,6 +961,9 @@ 'cflags': [ '-gstabs' ], 'defines': ['USE_LINUX_BREAKPAD'], }], + ['linux_use_seccomp_sandbox==1 and buildtype!="Official"', { + 'defines': ['USE_SECCOMP_SANDBOX'], + }], ['library=="shared_library"', { # When building with shared libraries, remove the visiblity-hiding # flag. |