summaryrefslogtreecommitdiffstats
path: root/remoting/remoting.gyp
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 21:28:11 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 21:28:11 +0000
commit773632872a2738c85cb4e29fdd300de02316fe26 (patch)
tree596d5a382f08e1577a660f1c43eb590a9150b3b6 /remoting/remoting.gyp
parent3a49e50f07b102c5fa01da330ad8ce17fd3535c9 (diff)
downloadchromium_src-773632872a2738c85cb4e29fdd300de02316fe26.zip
chromium_src-773632872a2738c85cb4e29fdd300de02316fe26.tar.gz
chromium_src-773632872a2738c85cb4e29fdd300de02316fe26.tar.bz2
[Chromoting] Launch the host process elevated via ShellExecuteEx().
The host process is launched in in two steps now. An instance of remote_service.exe is launched in a user session (CreateProcessAsUser) and then it launches the host requesting elevation (ShellExecuteEx). This is needed because Windows 8 refuses to inject Alt+Tab unless uiAccess='true' is specified in the manifest, which in its turn requires ShellExecuteEx() to be used. Lifetime of launched processes is controlled by assigning them to a job object. Message loop changes are required to be able to process job object notifications on the I/O message loop. BUG=135217 Review URL: https://chromiumcodereview.appspot.com/10831271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r--remoting/remoting.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index a06ce228..8b0fbd4 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -632,6 +632,8 @@
'AdditionalDependencies': [
'wtsapi32.lib',
],
+ # 2 == /SUBSYSTEM:WINDOWS
+ 'SubSystem': '2',
},
},
}, # end of target 'remoting_service'
@@ -1518,6 +1520,7 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
+ "\"/MANIFESTUAC:level='requireAdministrator' uiAccess='true'\"",
"\"/manifestdependency:type='win32' "
"name='Microsoft.Windows.Common-Controls' "
"version='6.0.0.0' "