| Index: remoting/host/BUILD.gn
|
| diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
|
| index 5600e4db68c55a0555517dcf90f798053c36d5db..ee091b72cc8091be5e505458ae834e5385815387 100644
|
| --- a/remoting/host/BUILD.gn
|
| +++ b/remoting/host/BUILD.gn
|
| @@ -32,8 +32,11 @@ if (is_win) {
|
| # Reference this manifest to indicate that a process is per-monitor DPI aware.
|
| dpi_aware_manifest = "//remoting/host/win/dpi_aware.manifest"
|
|
|
| -# Depending on this target gives a default executable manifest with the addition
|
| -# of the DPI aware tag.
|
| +# Reference this manifest to give the binary the uiAccess privilege.
|
| +enable_uiaccess_manifest = "//remoting/host/win/enable_uiaccess.manifest"
|
| +
|
| +# Depending on this target gives the executable a default manifest with the
|
| +# addition of the DPI aware tag.
|
| windows_manifest("dpi_aware_exe_manifest") {
|
| sources = [
|
| as_invoker_manifest,
|
| @@ -44,8 +47,9 @@ windows_manifest("dpi_aware_exe_manifest") {
|
| type = "exe"
|
| }
|
|
|
| -# Depending on this target gives a default executable manifest with the addition
|
| -# of the DPI aware tag and a requestedExecutionLevel of requireAdministrator.
|
| +# Depending on this target gives the executable a default manifest with the
|
| +# addition of the DPI aware tag and requestedExecutionLevel of
|
| +# requireAdministrator.
|
| windows_manifest("dpi_aware_elevated_exe_manifest") {
|
| sources = [
|
| common_controls_manifest,
|
| @@ -56,6 +60,18 @@ windows_manifest("dpi_aware_elevated_exe_manifest") {
|
| type = "exe"
|
| }
|
|
|
| +# Depending on this target gives the executable a default manifest with the
|
| +# addition of the DPI aware tag and enables uiAccess.
|
| +windows_manifest("dpi_aware_uiaccess_exe_manifest") {
|
| + sources = [
|
| + common_controls_manifest,
|
| + default_compatibility_manifest,
|
| + dpi_aware_manifest,
|
| + enable_uiaccess_manifest,
|
| + ]
|
| + type = "exe"
|
| +}
|
| +
|
| # GYP version: remoting/remoting_host:remoting_host_credits
|
| action("credits") {
|
| # We put this in $root_build_dir/gen/remoting instead of
|
| @@ -1263,6 +1279,7 @@ if (enable_me2me_host) {
|
| ":remoting_native_messaging_manifests",
|
| ":remoting_start_host",
|
| "it2me:remote_assistance_host",
|
| + "it2me:remote_assistance_host_uiaccess",
|
| "//third_party/icu:icudata",
|
| ]
|
|
|
| @@ -1290,6 +1307,7 @@ if (enable_me2me_host) {
|
| # addressed.
|
| inputs = [
|
| "$root_out_dir/remote_assistance_host.exe",
|
| + "$root_out_dir/remote_assistance_host_uiaccess.exe",
|
| "$root_out_dir/remote_security_key.exe",
|
| "$root_out_dir/remoting_core.dll",
|
| "$root_out_dir/remoting_desktop.exe",
|
| @@ -1309,6 +1327,7 @@ if (enable_me2me_host) {
|
| # _generated_files, otherwise the Windows MSI will not be built correctly.
|
| _generated_dst_files = [
|
| "files/remote_assistance_host.exe",
|
| + "files/remote_assistance_host_uiaccess.exe",
|
| "files/remote_security_key.exe",
|
| "files/remoting_core.dll",
|
| "files/remoting_desktop.exe",
|
|
|