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', { |
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 30 matching lines...) Expand all Loading... |
67 'host/audio_silence_detector.cc', | 67 'host/audio_silence_detector.cc', |
68 'host/audio_silence_detector.h', | 68 'host/audio_silence_detector.h', |
69 'host/basic_desktop_environment.cc', | 69 'host/basic_desktop_environment.cc', |
70 'host/basic_desktop_environment.h', | 70 'host/basic_desktop_environment.h', |
71 'host/branding.cc', | 71 'host/branding.cc', |
72 'host/branding.h', | 72 'host/branding.h', |
73 'host/capture_scheduler.cc', | 73 'host/capture_scheduler.cc', |
74 'host/capture_scheduler.h', | 74 'host/capture_scheduler.h', |
75 'host/chromeos/aura_desktop_capturer.cc', | 75 'host/chromeos/aura_desktop_capturer.cc', |
76 'host/chromeos/aura_desktop_capturer.h', | 76 'host/chromeos/aura_desktop_capturer.h', |
| 77 'host/chromeos/chrome_browser_main_extra_parts_remoting.cc', |
| 78 'host/chromeos/chrome_browser_main_extra_parts_remoting.h', |
77 'host/chromium_port_allocator_factory.cc', | 79 'host/chromium_port_allocator_factory.cc', |
78 'host/chromium_port_allocator_factory.h', | 80 'host/chromium_port_allocator_factory.h', |
79 'host/chromoting_host.cc', | 81 'host/chromoting_host.cc', |
80 'host/chromoting_host.h', | 82 'host/chromoting_host.h', |
81 'host/chromoting_host_context.cc', | 83 'host/chromoting_host_context.cc', |
82 'host/chromoting_host_context.h', | 84 'host/chromoting_host_context.h', |
| 85 'host/chromoting_host_context_impl.cc', |
| 86 'host/chromoting_host_context_impl.h', |
| 87 'host/chromoting_host_context_impl_chromeos.cc', |
83 'host/chromoting_messages.cc', | 88 'host/chromoting_messages.cc', |
84 'host/chromoting_messages.h', | 89 'host/chromoting_messages.h', |
85 'host/chromoting_param_traits.cc', | 90 'host/chromoting_param_traits.cc', |
86 'host/chromoting_param_traits.h', | 91 'host/chromoting_param_traits.h', |
87 'host/client_session.cc', | 92 'host/client_session.cc', |
88 'host/client_session.h', | 93 'host/client_session.h', |
89 'host/client_session_control.h', | 94 'host/client_session_control.h', |
90 'host/clipboard.h', | 95 'host/clipboard.h', |
91 'host/clipboard_mac.mm', | 96 'host/clipboard_mac.mm', |
92 'host/clipboard_win.cc', | 97 'host/clipboard_win.cc', |
93 'host/clipboard_x11.cc', | 98 'host/clipboard_x11.cc', |
94 'host/config_file_watcher.cc', | 99 'host/config_file_watcher.cc', |
95 'host/config_file_watcher.h', | 100 'host/config_file_watcher.h', |
96 'host/config_watcher.h', | 101 'host/config_watcher.h', |
97 'host/constants_mac.cc', | 102 'host/constants_mac.cc', |
98 'host/constants_mac.h', | 103 'host/constants_mac.h', |
99 'host/continue_window.cc', | 104 'host/continue_window.cc', |
100 'host/continue_window.h', | 105 'host/continue_window.h', |
| 106 'host/continue_window_chromeos.cc', |
101 'host/continue_window_linux.cc', | 107 'host/continue_window_linux.cc', |
102 'host/continue_window_mac.mm', | 108 'host/continue_window_mac.mm', |
103 'host/continue_window_win.cc', | 109 'host/continue_window_win.cc', |
104 'host/daemon_process.cc', | 110 'host/daemon_process.cc', |
105 'host/daemon_process.h', | 111 'host/daemon_process.h', |
106 'host/daemon_process_win.cc', | 112 'host/daemon_process_win.cc', |
107 'host/desktop_environment.h', | 113 'host/desktop_environment.h', |
108 'host/desktop_process.cc', | 114 'host/desktop_process.cc', |
109 'host/desktop_process.h', | 115 'host/desktop_process.h', |
110 'host/desktop_resizer.h', | 116 'host/desktop_resizer.h', |
111 'host/desktop_resizer_linux.cc', | 117 'host/desktop_resizer_linux.cc', |
112 'host/desktop_session.cc', | 118 'host/desktop_session.cc', |
113 'host/desktop_session.h', | 119 'host/desktop_session.h', |
114 'host/desktop_session_agent.cc', | 120 'host/desktop_session_agent.cc', |
115 'host/desktop_session_agent.h', | 121 'host/desktop_session_agent.h', |
116 'host/desktop_session_win.cc', | 122 'host/desktop_session_win.cc', |
117 'host/desktop_session_win.h', | 123 'host/desktop_session_win.h', |
118 'host/desktop_resizer_mac.cc', | 124 'host/desktop_resizer_mac.cc', |
119 'host/desktop_resizer_win.cc', | 125 'host/desktop_resizer_win.cc', |
120 'host/desktop_session_connector.h', | 126 'host/desktop_session_connector.h', |
121 'host/desktop_session_proxy.cc', | 127 'host/desktop_session_proxy.cc', |
122 'host/desktop_session_proxy.h', | 128 'host/desktop_session_proxy.h', |
123 'host/desktop_shape_tracker.h', | 129 'host/desktop_shape_tracker.h', |
124 'host/desktop_shape_tracker_mac.cc', | 130 'host/desktop_shape_tracker_mac.cc', |
125 'host/desktop_shape_tracker_win.cc', | 131 'host/desktop_shape_tracker_win.cc', |
126 'host/desktop_shape_tracker_x11.cc', | 132 'host/desktop_shape_tracker_x11.cc', |
| 133 'host/disconnect_window_chromeos.cc', |
127 'host/disconnect_window_linux.cc', | 134 'host/disconnect_window_linux.cc', |
128 'host/disconnect_window_mac.h', | 135 'host/disconnect_window_mac.h', |
129 'host/disconnect_window_mac.mm', | 136 'host/disconnect_window_mac.mm', |
130 'host/disconnect_window_win.cc', | 137 'host/disconnect_window_win.cc', |
131 'host/dns_blackhole_checker.cc', | 138 'host/dns_blackhole_checker.cc', |
132 'host/dns_blackhole_checker.h', | 139 'host/dns_blackhole_checker.h', |
133 'host/gnubby_auth_handler.h', | 140 'host/gnubby_auth_handler.h', |
134 'host/gnubby_auth_handler_posix.cc', | 141 'host/gnubby_auth_handler_posix.cc', |
135 'host/gnubby_auth_handler_posix.h', | 142 'host/gnubby_auth_handler_posix.h', |
136 'host/gnubby_auth_handler_win.cc', | 143 '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', | 227 'host/pairing_registry_delegate_linux.h', |
221 'host/pairing_registry_delegate_mac.cc', | 228 'host/pairing_registry_delegate_mac.cc', |
222 'host/pairing_registry_delegate_win.cc', | 229 'host/pairing_registry_delegate_win.cc', |
223 'host/pairing_registry_delegate_win.h', | 230 'host/pairing_registry_delegate_win.h', |
224 'host/pam_authorization_factory_posix.cc', | 231 'host/pam_authorization_factory_posix.cc', |
225 'host/pam_authorization_factory_posix.h', | 232 'host/pam_authorization_factory_posix.h', |
226 'host/pin_hash.cc', | 233 'host/pin_hash.cc', |
227 'host/pin_hash.h', | 234 'host/pin_hash.h', |
228 'host/policy_hack/policy_watcher.cc', | 235 'host/policy_hack/policy_watcher.cc', |
229 'host/policy_hack/policy_watcher.h', | 236 'host/policy_hack/policy_watcher.h', |
| 237 'host/policy_hack/policy_watcher_chromeos.cc', |
230 'host/policy_hack/policy_watcher_linux.cc', | 238 'host/policy_hack/policy_watcher_linux.cc', |
231 'host/policy_hack/policy_watcher_mac.mm', | 239 'host/policy_hack/policy_watcher_mac.mm', |
232 'host/policy_hack/policy_watcher_win.cc', | 240 'host/policy_hack/policy_watcher_win.cc', |
233 'host/register_support_host_request.cc', | 241 'host/register_support_host_request.cc', |
234 'host/register_support_host_request.h', | 242 'host/register_support_host_request.h', |
235 'host/remote_input_filter.cc', | 243 'host/remote_input_filter.cc', |
236 'host/remote_input_filter.h', | 244 'host/remote_input_filter.h', |
237 'host/remoting_me2me_host.cc', | 245 'host/remoting_me2me_host.cc', |
238 'host/resizing_host_observer.cc', | 246 'host/resizing_host_observer.cc', |
239 'host/resizing_host_observer.h', | 247 'host/resizing_host_observer.h', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 ['OS=="linux" and chromeos==0', { | 321 ['OS=="linux" and chromeos==0', { |
314 'dependencies' : [ | 322 'dependencies' : [ |
315 # Always use GTK on Linux, even for Aura builds. | 323 # Always use GTK on Linux, even for Aura builds. |
316 '../build/linux/system.gyp:gtk', | 324 '../build/linux/system.gyp:gtk', |
317 ], | 325 ], |
318 }], | 326 }], |
319 ['chromeos==1', { | 327 ['chromeos==1', { |
320 'dependencies' : [ | 328 'dependencies' : [ |
321 '../ash/ash.gyp:ash', | 329 '../ash/ash.gyp:ash', |
322 '../cc/cc.gyp:cc', | 330 '../cc/cc.gyp:cc', |
| 331 '../components/components.gyp:policy_component_common', |
323 '../content/content.gyp:content', | 332 '../content/content.gyp:content', |
324 '../ppapi/ppapi_internal.gyp:ppapi_host', | 333 '../ppapi/ppapi_internal.gyp:ppapi_host', |
325 '../skia/skia.gyp:skia', | 334 '../skia/skia.gyp:skia', |
326 '../ui/aura/aura.gyp:aura', | 335 '../ui/aura/aura.gyp:aura', |
327 '../ui/compositor/compositor.gyp:compositor', | 336 '../ui/compositor/compositor.gyp:compositor', |
328 ], | 337 ], |
329 'include_dirs': [ | 338 'include_dirs': [ |
330 '../third_party/skia/include/utils', | 339 '../third_party/skia/include/utils', |
331 ], | 340 ], |
332 'sources!' : [ | 341 'sources!' : [ |
333 'host/continue_window.cc', | 342 'host/policy_hack/policy_watcher_linux.cc', |
334 'host/continue_window.h', | |
335 'host/continue_window_linux.cc', | 343 'host/continue_window_linux.cc', |
336 'host/disconnect_window.cc', | 344 'host/disconnect_window.cc', |
337 'host/disconnect_window_linux.cc', | 345 'host/disconnect_window_linux.cc', |
338 'host/remoting_me2me_host.cc', | 346 'host/remoting_me2me_host.cc', |
339 ] | 347 ] |
340 }, { # chromeos==0 | 348 }, { # chromeos==0 |
341 'sources!' : [ | 349 'sources!' : [ |
342 'host/chromeos/aura_desktop_capturer.cc', | 350 'host/chromeos/aura_desktop_capturer.cc', |
343 'host/chromeos/aura_desktop_capturer.h', | 351 'host/chromeos/aura_desktop_capturer.h', |
| 352 'host/chromeos/chrome_browser_main_extra_parts_remoting.cc', |
| 353 'host/chromoting_host_context_impl_chromeos.cc', |
| 354 'host/continue_window_chromeos.cc', |
| 355 'host/disconnect_window_chromeos.cc', |
| 356 'host/policy_hack/policy_watcher_chromeos.cc', |
344 ], | 357 ], |
345 }], | 358 }], |
346 ['OS=="mac"', { | 359 ['OS=="mac"', { |
347 'dependencies': [ | 360 'dependencies': [ |
348 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 361 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
349 ], | 362 ], |
350 'link_settings': { | 363 'link_settings': { |
351 'libraries': [ | 364 'libraries': [ |
352 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 365 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
353 'libpam.a', | 366 'libpam.a', |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 }, # end of postbuild 'dump_symbols' | 855 }, # end of postbuild 'dump_symbols' |
843 ], # end of 'postbuilds' | 856 ], # end of 'postbuilds' |
844 }], # mac_breakpad==1 | 857 }], # mac_breakpad==1 |
845 ], # conditions | 858 ], # conditions |
846 }], # OS=mac | 859 }], # OS=mac |
847 ], | 860 ], |
848 }, # end of target 'remoting_me2me_native_messaging_host' | 861 }, # end of target 'remoting_me2me_native_messaging_host' |
849 ], # targets | 862 ], # targets |
850 }], # end of OS!="win" and enable_me2me_host==1 | 863 }], # end of OS!="win" and enable_me2me_host==1 |
851 | 864 |
852 ['OS!="win" and enable_it2me_host==1', { | 865 ['OS!="win" and enable_it2me_host==1 and chromeos==0', { |
853 'targets': [ | 866 'targets': [ |
854 { | 867 { |
855 'target_name': 'remoting_it2me_native_messaging_host', | 868 'target_name': 'remoting_it2me_native_messaging_host', |
856 'type': 'executable', | 869 'type': 'executable', |
857 'product_name': 'remote_assistance_host', | 870 'product_name': 'remote_assistance_host', |
858 'variables': { 'enable_wexit_time_destructors': 1, }, | 871 'variables': { 'enable_wexit_time_destructors': 1, }, |
859 'dependencies': [ | 872 'dependencies': [ |
860 '../base/base.gyp:base', | 873 '../base/base.gyp:base', |
861 'remoting_base', | 874 'remoting_base', |
862 'remoting_breakpad', | 875 'remoting_breakpad', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 }], # mac_breakpad==1 | 956 }], # mac_breakpad==1 |
944 ], # conditions | 957 ], # conditions |
945 }], # OS=mac | 958 }], # OS=mac |
946 ], | 959 ], |
947 }, # end of target 'remoting_it2me_native_messaging_host' | 960 }, # end of target 'remoting_it2me_native_messaging_host' |
948 ], # end of 'targets' | 961 ], # end of 'targets' |
949 }], # # end of OS!="win" and enable_it2me_host==1 | 962 }], # # end of OS!="win" and enable_it2me_host==1 |
950 | 963 |
951 ], # end of 'conditions' | 964 ], # end of 'conditions' |
952 } | 965 } |
OLD | NEW |