2018-06-05 21:18:13 +00:00
|
|
|
# -*- Mode: python; 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/.
|
|
|
|
|
|
|
|
Library('winlauncher')
|
|
|
|
|
|
|
|
FORCE_STATIC_LIB = True
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2018-06-05 21:21:19 +00:00
|
|
|
'DllBlocklistWin.cpp',
|
2018-11-20 23:49:36 +00:00
|
|
|
'ErrorHandler.cpp',
|
2018-06-05 21:18:13 +00:00
|
|
|
'LauncherProcessWin.cpp',
|
|
|
|
'LaunchUnelevated.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
OS_LIBS += [
|
|
|
|
'ntdll',
|
|
|
|
'oleaut32',
|
|
|
|
'ole32',
|
|
|
|
]
|
|
|
|
|
2018-06-05 21:19:30 +00:00
|
|
|
TEST_DIRS += [
|
|
|
|
'test',
|
|
|
|
]
|
|
|
|
|
2018-06-05 21:18:13 +00:00
|
|
|
DisableStlWrapping()
|
2018-07-31 13:10:07 +00:00
|
|
|
|
|
|
|
if CONFIG['CC_TYPE'] == 'clang-cl':
|
|
|
|
AllowCompilerWarnings() # workaround for bug 1090497
|