OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 import("//remoting/remoting_enable.gni") | 7 import("//remoting/remoting_enable.gni") |
8 import("//remoting/remoting_locales.gni") | 8 import("//remoting/remoting_locales.gni") |
9 import("//remoting/remoting_version.gni") | 9 import("//remoting/remoting_version.gni") |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "//remoting/host/win:dpi_aware_exe_manifest", | 72 "//remoting/host/win:dpi_aware_exe_manifest", |
73 "//remoting/host/win:remoting_core", | 73 "//remoting/host/win:remoting_core", |
74 "//remoting/host/win:remoting_windows_resources", | 74 "//remoting/host/win:remoting_windows_resources", |
75 ] | 75 ] |
76 | 76 |
77 sources = [ | 77 sources = [ |
78 "$root_gen_dir/remoting/version.rc", | 78 "$root_gen_dir/remoting/version.rc", |
79 "it2me_native_messaging_host_entry_point.cc", | 79 "it2me_native_messaging_host_entry_point.cc", |
80 ] | 80 ] |
81 | 81 |
82 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] | 82 defines = host_predefines + |
| 83 [ "REMOTING_HOST_BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] |
83 | 84 |
84 ldflags = [ | 85 ldflags = [ |
85 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in | 86 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in |
86 # GYP does not take effect? | 87 # GYP does not take effect? |
87 "comctl32.lib", | 88 "comctl32.lib", |
88 ] | 89 ] |
89 } | 90 } |
90 | 91 |
91 executable("remote_assistance_host_uiaccess") { | 92 executable("remote_assistance_host_uiaccess") { |
92 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 93 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
93 | 94 |
94 deps = [ | 95 deps = [ |
95 "//base/allocator", | 96 "//base/allocator", |
96 "//remoting/host/win:remoting_core", | 97 "//remoting/host/win:remoting_core", |
97 "//remoting/host/win:remoting_windows_resources", | 98 "//remoting/host/win:remoting_windows_resources", |
98 ] | 99 ] |
99 | 100 |
100 sources = [ | 101 sources = [ |
101 "$root_gen_dir/remoting/version.rc", | 102 "$root_gen_dir/remoting/version.rc", |
102 "it2me_native_messaging_host_entry_point.cc", | 103 "it2me_native_messaging_host_entry_point.cc", |
103 ] | 104 ] |
104 | 105 |
105 defines = host_predefines + [ "BINARY=BINARY_HOST_IT2ME_UIACCESS" ] | 106 defines = host_predefines + |
| 107 [ "REMOTING_HOST_BINARY=BINARY_HOST_IT2ME_UIACCESS" ] |
106 | 108 |
107 ldflags = [ | 109 ldflags = [ |
108 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in | 110 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in |
109 # GYP does not take effect? | 111 # GYP does not take effect? |
110 "comctl32.lib", | 112 "comctl32.lib", |
111 ] | 113 ] |
112 | 114 |
113 # uiAccess requires a signed build to work correctly, so only enable the | 115 # uiAccess requires a signed build to work correctly, so only enable the |
114 # manifest flag when the binary will be properly signed. | 116 # manifest flag when the binary will be properly signed. |
115 if (is_official_build) { | 117 if (is_official_build) { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 if (enable_webrtc) { | 229 if (enable_webrtc) { |
228 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] | 230 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] |
229 } | 231 } |
230 | 232 |
231 if (is_desktop_linux) { | 233 if (is_desktop_linux) { |
232 deps += [ "//build/config/linux/gtk" ] | 234 deps += [ "//build/config/linux/gtk" ] |
233 } | 235 } |
234 } | 236 } |
235 } | 237 } |
236 } | 238 } |
OLD | NEW |