mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
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 extra : rebase_source : 1820ebb1fa305f886eaed1f7d43cfea256aa9fb2
This commit is contained in:
parent
b681ded65b
commit
13346176a4
7 changed files with 33 additions and 9 deletions
|
|
@ -62,17 +62,14 @@ 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',
|
|
||||||
]
|
]
|
||||||
DELAYLOAD_DLLS += [
|
USE_LIBS += [
|
||||||
'oleaut32.dll',
|
'winlauncher',
|
||||||
'ole32.dll',
|
|
||||||
]
|
]
|
||||||
OS_LIBS += [
|
LOCAL_INCLUDES += [
|
||||||
'oleaut32',
|
'/browser/app/winlauncher',
|
||||||
'ole32',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
|
|
|
||||||
27
browser/app/winlauncher/moz.build
Normal file
27
browser/app/winlauncher/moz.build
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
# -*- 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',
|
||||||
|
]
|
||||||
|
|
||||||
|
DELAYLOAD_DLLS += [
|
||||||
|
'oleaut32.dll',
|
||||||
|
'ole32.dll',
|
||||||
|
]
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
'ntdll',
|
||||||
|
'oleaut32',
|
||||||
|
'ole32',
|
||||||
|
]
|
||||||
|
|
||||||
|
DisableStlWrapping()
|
||||||
Loading…
Reference in a new issue