Bug 1445025: Part 1 - Move launcher code into browser/app/winlauncher; r=mhowell

--HG--
rename : browser/app/LaunchUnelevated.cpp => browser/app/winlauncher/LaunchUnelevated.cpp
rename : browser/app/LaunchUnelevated.h => browser/app/winlauncher/LaunchUnelevated.h
rename : browser/app/LauncherProcessWin.cpp => browser/app/winlauncher/LauncherProcessWin.cpp
rename : browser/app/LauncherProcessWin.h => browser/app/winlauncher/LauncherProcessWin.h
rename : browser/app/ProcThreadAttributes.h => browser/app/winlauncher/ProcThreadAttributes.h
This commit is contained in:
Aaron Klotz 2018-06-05 15:18:13 -06:00
parent c0b25e1706
commit 71a38f164a
7 changed files with 30 additions and 7 deletions

View file

@ -62,18 +62,19 @@ if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
if CONFIG['OS_ARCH'] == 'WINNT': if CONFIG['OS_ARCH'] == 'WINNT':
RCINCLUDE = 'splash.rc' RCINCLUDE = 'splash.rc'
DEFINES['MOZ_PHOENIX'] = True DEFINES['MOZ_PHOENIX'] = True
SOURCES += [ DIRS += [
'LauncherProcessWin.cpp', 'winlauncher',
'LaunchUnelevated.cpp', ]
USE_LIBS += [
'winlauncher',
]
LOCAL_INCLUDES += [
'/browser/app/winlauncher',
] ]
DELAYLOAD_DLLS += [ DELAYLOAD_DLLS += [
'oleaut32.dll', 'oleaut32.dll',
'ole32.dll', 'ole32.dll',
] ]
OS_LIBS += [
'oleaut32',
'ole32',
]
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT': if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
# For sandbox includes and the include dependencies those have # For sandbox includes and the include dependencies those have

View file

@ -0,0 +1,22 @@
# -*- 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 += [
'LauncherProcessWin.cpp',
'LaunchUnelevated.cpp',
]
OS_LIBS += [
'ntdll',
'oleaut32',
'ole32',
]
DisableStlWrapping()