mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
1a73e0b7a9
--HG-- rename : xpcom/glue/unused.cpp => mfbt/unused.cpp rename : xpcom/glue/unused.h => mfbt/unused.h
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
SharedLibrary('mozsandbox')
|
|
|
|
EXPORTS.mozilla += [
|
|
'Sandbox.h',
|
|
]
|
|
|
|
SOURCES += [
|
|
'../chromium/base/shim/base/logging.cpp',
|
|
'../chromium/sandbox/linux/seccomp-bpf/basicblock.cc',
|
|
'../chromium/sandbox/linux/seccomp-bpf/codegen.cc',
|
|
'../chromium/sandbox/linux/seccomp-bpf/die.cc',
|
|
'../chromium/sandbox/linux/seccomp-bpf/syscall.cc',
|
|
'Sandbox.cpp',
|
|
'SandboxAssembler.cpp',
|
|
'SandboxFilter.cpp',
|
|
]
|
|
|
|
DEFINES['NS_NO_XPCOM'] = True
|
|
DISABLE_STL_WRAPPING = True
|
|
|
|
LOCAL_INCLUDES += ['/security/sandbox/chromium/base/shim']
|
|
LOCAL_INCLUDES += ['/security/sandbox/chromium']
|
|
LOCAL_INCLUDES += ['/security/sandbox']
|
|
|
|
if CONFIG['OS_TARGET'] != 'Android':
|
|
# Needed for clock_gettime with glibc < 2.17:
|
|
OS_LIBS += [
|
|
'rt',
|
|
]
|
|
|
|
DIRS += [
|
|
'glue',
|
|
]
|