OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'remoting_host_linux.gypi', | 7 'remoting_host_linux.gypi', |
8 'remoting_host_mac.gypi', | 8 'remoting_host_mac.gypi', |
9 'remoting_host_win.gypi', | 9 'remoting_host_win.gypi', |
10 ], | 10 ], |
11 | 11 |
12 'variables': { | 12 'variables': { |
13 'conditions': [ | 13 'conditions': [ |
14 # Remoting host is supported only on Windows, OSX and Linux (with X11). | 14 # Remoting host is supported only on Windows, OSX and Linux (with X11). |
15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { | 15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { |
16 'enable_me2me_host': 1, | 16 'enable_me2me_host': 1, |
17 'enable_it2me_host': 1, | 17 'enable_it2me_host': 1, |
18 'enable_remoting_host': 1, | 18 'enable_remoting_host': 1, |
19 }, { | 19 }, { |
20 'enable_me2me_host': 0, | 20 'enable_me2me_host': 0, |
21 'enable_it2me_host': 0, | 21 'enable_it2me_host': 0, |
22 'enable_remoting_host': 0, | 22 'enable_remoting_host': 0, |
23 }], | 23 }], |
24 ['chromeos==1', { | 24 ['chromeos==1 and use_x11==1', { |
25 'enable_me2me_host': 0, | 25 'enable_me2me_host': 0, |
26 'enable_it2me_host': 0, | 26 'enable_it2me_host': 1, |
27 }], | 27 }], |
28 ], | 28 ], |
29 }, | 29 }, |
30 | 30 |
31 'conditions': [ | 31 'conditions': [ |
32 ['enable_remoting_host==1', { | 32 ['enable_remoting_host==1', { |
33 'targets': [ | 33 'targets': [ |
34 { | 34 { |
35 'target_name': 'remoting_host', | 35 'target_name': 'remoting_host', |
36 'type': 'static_library', | 36 'type': 'static_library', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 'host/clipboard_mac.mm', | 91 'host/clipboard_mac.mm', |
92 'host/clipboard_win.cc', | 92 'host/clipboard_win.cc', |
93 'host/clipboard_x11.cc', | 93 'host/clipboard_x11.cc', |
94 'host/config_file_watcher.cc', | 94 'host/config_file_watcher.cc', |
95 'host/config_file_watcher.h', | 95 'host/config_file_watcher.h', |
96 'host/config_watcher.h', | 96 'host/config_watcher.h', |
97 'host/constants_mac.cc', | 97 'host/constants_mac.cc', |
98 'host/constants_mac.h', | 98 'host/constants_mac.h', |
99 'host/continue_window.cc', | 99 'host/continue_window.cc', |
100 'host/continue_window.h', | 100 'host/continue_window.h', |
| 101 'host/continue_window_chromeos.cc', |
101 'host/continue_window_linux.cc', | 102 'host/continue_window_linux.cc', |
102 'host/continue_window_mac.mm', | 103 'host/continue_window_mac.mm', |
103 'host/continue_window_win.cc', | 104 'host/continue_window_win.cc', |
104 'host/daemon_process.cc', | 105 'host/daemon_process.cc', |
105 'host/daemon_process.h', | 106 'host/daemon_process.h', |
106 'host/daemon_process_win.cc', | 107 'host/daemon_process_win.cc', |
107 'host/desktop_environment.h', | 108 'host/desktop_environment.h', |
108 'host/desktop_process.cc', | 109 'host/desktop_process.cc', |
109 'host/desktop_process.h', | 110 'host/desktop_process.h', |
110 'host/desktop_resizer.h', | 111 'host/desktop_resizer.h', |
111 'host/desktop_resizer_linux.cc', | 112 'host/desktop_resizer_linux.cc', |
112 'host/desktop_session.cc', | 113 'host/desktop_session.cc', |
113 'host/desktop_session.h', | 114 'host/desktop_session.h', |
114 'host/desktop_session_agent.cc', | 115 'host/desktop_session_agent.cc', |
115 'host/desktop_session_agent.h', | 116 'host/desktop_session_agent.h', |
116 'host/desktop_session_win.cc', | 117 'host/desktop_session_win.cc', |
117 'host/desktop_session_win.h', | 118 'host/desktop_session_win.h', |
118 'host/desktop_resizer_mac.cc', | 119 'host/desktop_resizer_mac.cc', |
119 'host/desktop_resizer_win.cc', | 120 'host/desktop_resizer_win.cc', |
120 'host/desktop_session_connector.h', | 121 'host/desktop_session_connector.h', |
121 'host/desktop_session_proxy.cc', | 122 'host/desktop_session_proxy.cc', |
122 'host/desktop_session_proxy.h', | 123 'host/desktop_session_proxy.h', |
123 'host/desktop_shape_tracker.h', | 124 'host/desktop_shape_tracker.h', |
124 'host/desktop_shape_tracker_mac.cc', | 125 'host/desktop_shape_tracker_mac.cc', |
125 'host/desktop_shape_tracker_win.cc', | 126 'host/desktop_shape_tracker_win.cc', |
126 'host/desktop_shape_tracker_x11.cc', | 127 'host/desktop_shape_tracker_x11.cc', |
| 128 'host/disconnect_window_chromeos.cc', |
127 'host/disconnect_window_linux.cc', | 129 'host/disconnect_window_linux.cc', |
128 'host/disconnect_window_mac.h', | 130 'host/disconnect_window_mac.h', |
129 'host/disconnect_window_mac.mm', | 131 'host/disconnect_window_mac.mm', |
130 'host/disconnect_window_win.cc', | 132 'host/disconnect_window_win.cc', |
131 'host/dns_blackhole_checker.cc', | 133 'host/dns_blackhole_checker.cc', |
132 'host/dns_blackhole_checker.h', | 134 'host/dns_blackhole_checker.h', |
133 'host/gnubby_auth_handler.h', | 135 'host/gnubby_auth_handler.h', |
134 'host/gnubby_auth_handler_posix.cc', | 136 'host/gnubby_auth_handler_posix.cc', |
135 'host/gnubby_auth_handler_posix.h', | 137 'host/gnubby_auth_handler_posix.h', |
136 'host/gnubby_auth_handler_win.cc', | 138 'host/gnubby_auth_handler_win.cc', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 'host/pairing_registry_delegate_linux.h', | 222 'host/pairing_registry_delegate_linux.h', |
221 'host/pairing_registry_delegate_mac.cc', | 223 'host/pairing_registry_delegate_mac.cc', |
222 'host/pairing_registry_delegate_win.cc', | 224 'host/pairing_registry_delegate_win.cc', |
223 'host/pairing_registry_delegate_win.h', | 225 'host/pairing_registry_delegate_win.h', |
224 'host/pam_authorization_factory_posix.cc', | 226 'host/pam_authorization_factory_posix.cc', |
225 'host/pam_authorization_factory_posix.h', | 227 'host/pam_authorization_factory_posix.h', |
226 'host/pin_hash.cc', | 228 'host/pin_hash.cc', |
227 'host/pin_hash.h', | 229 'host/pin_hash.h', |
228 'host/policy_hack/policy_watcher.cc', | 230 'host/policy_hack/policy_watcher.cc', |
229 'host/policy_hack/policy_watcher.h', | 231 'host/policy_hack/policy_watcher.h', |
| 232 'host/policy_hack/policy_watcher_chromeos.cc', |
230 'host/policy_hack/policy_watcher_linux.cc', | 233 'host/policy_hack/policy_watcher_linux.cc', |
231 'host/policy_hack/policy_watcher_mac.mm', | 234 'host/policy_hack/policy_watcher_mac.mm', |
232 'host/policy_hack/policy_watcher_win.cc', | 235 'host/policy_hack/policy_watcher_win.cc', |
233 'host/register_support_host_request.cc', | 236 'host/register_support_host_request.cc', |
234 'host/register_support_host_request.h', | 237 'host/register_support_host_request.h', |
235 'host/remote_input_filter.cc', | 238 'host/remote_input_filter.cc', |
236 'host/remote_input_filter.h', | 239 'host/remote_input_filter.h', |
237 'host/remoting_me2me_host.cc', | 240 'host/remoting_me2me_host.cc', |
238 'host/resizing_host_observer.cc', | 241 'host/resizing_host_observer.cc', |
239 'host/resizing_host_observer.h', | 242 'host/resizing_host_observer.h', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 }], | 315 }], |
313 ['OS=="linux" and chromeos==0 and use_ozone==0', { | 316 ['OS=="linux" and chromeos==0 and use_ozone==0', { |
314 'dependencies' : [ | 317 'dependencies' : [ |
315 # Always use GTK on Linux, even for Aura builds. | 318 # Always use GTK on Linux, even for Aura builds. |
316 '../build/linux/system.gyp:gtk', | 319 '../build/linux/system.gyp:gtk', |
317 ], | 320 ], |
318 }], | 321 }], |
319 ['chromeos==1', { | 322 ['chromeos==1', { |
320 'dependencies' : [ | 323 'dependencies' : [ |
321 '../cc/cc.gyp:cc', | 324 '../cc/cc.gyp:cc', |
| 325 '../components/components.gyp:policy_component_common', |
322 '../content/content.gyp:content', | 326 '../content/content.gyp:content', |
323 '../ppapi/ppapi_internal.gyp:ppapi_host', | 327 '../ppapi/ppapi_internal.gyp:ppapi_host', |
324 '../skia/skia.gyp:skia', | 328 '../skia/skia.gyp:skia', |
325 '../ui/aura/aura.gyp:aura', | 329 '../ui/aura/aura.gyp:aura', |
326 '../ui/compositor/compositor.gyp:compositor', | 330 '../ui/compositor/compositor.gyp:compositor', |
327 ], | 331 ], |
328 'include_dirs': [ | 332 'include_dirs': [ |
329 '../third_party/skia/include/utils', | 333 '../third_party/skia/include/utils', |
330 ], | 334 ], |
331 'sources!' : [ | 335 'sources!' : [ |
332 'host/continue_window.cc', | 336 'host/policy_hack/policy_watcher_linux.cc', |
333 'host/continue_window.h', | |
334 'host/continue_window_linux.cc', | 337 'host/continue_window_linux.cc', |
335 'host/disconnect_window.cc', | 338 'host/disconnect_window.cc', |
336 'host/disconnect_window_linux.cc', | 339 'host/disconnect_window_linux.cc', |
337 'host/remoting_me2me_host.cc', | 340 'host/remoting_me2me_host.cc', |
338 ] | 341 ] |
339 }, { # chromeos==0 | 342 }, { # chromeos==0 |
340 'sources!' : [ | 343 'sources!' : [ |
341 'host/chromeos/aura_desktop_capturer.cc', | 344 'host/chromeos/aura_desktop_capturer.cc', |
342 'host/chromeos/aura_desktop_capturer.h', | 345 'host/chromeos/aura_desktop_capturer.h', |
| 346 'host/continue_window_chromeos.cc', |
| 347 'host/disconnect_window_chromeos.cc', |
| 348 'host/policy_hack/policy_watcher_chromeos.cc', |
343 ], | 349 ], |
344 }], | 350 }], |
345 ['OS=="mac"', { | 351 ['OS=="mac"', { |
346 'dependencies': [ | 352 'dependencies': [ |
347 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 353 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
348 ], | 354 ], |
349 'link_settings': { | 355 'link_settings': { |
350 'libraries': [ | 356 'libraries': [ |
351 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 357 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
352 'libpam.a', | 358 'libpam.a', |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 }, # end of postbuild 'dump_symbols' | 852 }, # end of postbuild 'dump_symbols' |
847 ], # end of 'postbuilds' | 853 ], # end of 'postbuilds' |
848 }], # mac_breakpad==1 | 854 }], # mac_breakpad==1 |
849 ], # conditions | 855 ], # conditions |
850 }], # OS=mac | 856 }], # OS=mac |
851 ], | 857 ], |
852 }, # end of target 'remoting_me2me_native_messaging_host' | 858 }, # end of target 'remoting_me2me_native_messaging_host' |
853 ], # targets | 859 ], # targets |
854 }], # end of OS!="win" and enable_me2me_host==1 | 860 }], # end of OS!="win" and enable_me2me_host==1 |
855 | 861 |
856 ['OS!="win" and enable_it2me_host==1', { | 862 ['OS!="win" and enable_it2me_host==1 and chromeos==0', { |
857 'targets': [ | 863 'targets': [ |
858 { | 864 { |
859 'target_name': 'remoting_it2me_native_messaging_host', | 865 'target_name': 'remoting_it2me_native_messaging_host', |
860 'type': 'executable', | 866 'type': 'executable', |
861 'product_name': 'remote_assistance_host', | 867 'product_name': 'remote_assistance_host', |
862 'variables': { 'enable_wexit_time_destructors': 1, }, | 868 'variables': { 'enable_wexit_time_destructors': 1, }, |
863 'dependencies': [ | 869 'dependencies': [ |
864 '../base/base.gyp:base', | 870 '../base/base.gyp:base', |
865 'remoting_base', | 871 'remoting_base', |
866 'remoting_breakpad', | 872 'remoting_breakpad', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 }], # mac_breakpad==1 | 953 }], # mac_breakpad==1 |
948 ], # conditions | 954 ], # conditions |
949 }], # OS=mac | 955 }], # OS=mac |
950 ], | 956 ], |
951 }, # end of target 'remoting_it2me_native_messaging_host' | 957 }, # end of target 'remoting_it2me_native_messaging_host' |
952 ], # end of 'targets' | 958 ], # end of 'targets' |
953 }], # # end of OS!="win" and enable_it2me_host==1 | 959 }], # # end of OS!="win" and enable_it2me_host==1 |
954 | 960 |
955 ], # end of 'conditions' | 961 ], # end of 'conditions' |
956 } | 962 } |
OLD | NEW |