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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 ['OS=="linux" and chromeos==0', { | 316 ['OS=="linux" and chromeos==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 '../ash/ash.gyp:ash', | 324 '../ash/ash.gyp:ash', |
322 '../cc/cc.gyp:cc', | 325 '../cc/cc.gyp:cc', |
| 326 '../components/components.gyp:policy_component_common', |
323 '../content/content.gyp:content', | 327 '../content/content.gyp:content', |
324 '../ppapi/ppapi_internal.gyp:ppapi_host', | 328 '../ppapi/ppapi_internal.gyp:ppapi_host', |
325 '../skia/skia.gyp:skia', | 329 '../skia/skia.gyp:skia', |
326 '../ui/aura/aura.gyp:aura', | 330 '../ui/aura/aura.gyp:aura', |
327 '../ui/compositor/compositor.gyp:compositor', | 331 '../ui/compositor/compositor.gyp:compositor', |
328 ], | 332 ], |
329 'include_dirs': [ | 333 'include_dirs': [ |
330 '../third_party/skia/include/utils', | 334 '../third_party/skia/include/utils', |
331 ], | 335 ], |
332 'sources!' : [ | 336 'sources!' : [ |
333 'host/continue_window.cc', | 337 'host/policy_hack/policy_watcher_linux.cc', |
334 'host/continue_window.h', | |
335 'host/continue_window_linux.cc', | 338 'host/continue_window_linux.cc', |
336 'host/disconnect_window.cc', | 339 'host/disconnect_window.cc', |
337 'host/disconnect_window_linux.cc', | 340 'host/disconnect_window_linux.cc', |
338 'host/remoting_me2me_host.cc', | 341 'host/remoting_me2me_host.cc', |
339 ] | 342 ] |
340 }, { # chromeos==0 | 343 }, { # chromeos==0 |
341 'sources!' : [ | 344 'sources!' : [ |
342 'host/chromeos/aura_desktop_capturer.cc', | 345 'host/chromeos/aura_desktop_capturer.cc', |
343 'host/chromeos/aura_desktop_capturer.h', | 346 'host/chromeos/aura_desktop_capturer.h', |
| 347 'host/continue_window_chromeos.cc', |
| 348 'host/disconnect_window_chromeos.cc', |
| 349 'host/policy_hack/policy_watcher_chromeos.cc', |
344 ], | 350 ], |
345 }], | 351 }], |
346 ['OS=="mac"', { | 352 ['OS=="mac"', { |
347 'dependencies': [ | 353 'dependencies': [ |
348 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 354 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
349 ], | 355 ], |
350 'link_settings': { | 356 'link_settings': { |
351 'libraries': [ | 357 'libraries': [ |
352 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 358 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
353 'libpam.a', | 359 'libpam.a', |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 }, # end of postbuild 'dump_symbols' | 848 }, # end of postbuild 'dump_symbols' |
843 ], # end of 'postbuilds' | 849 ], # end of 'postbuilds' |
844 }], # mac_breakpad==1 | 850 }], # mac_breakpad==1 |
845 ], # conditions | 851 ], # conditions |
846 }], # OS=mac | 852 }], # OS=mac |
847 ], | 853 ], |
848 }, # end of target 'remoting_me2me_native_messaging_host' | 854 }, # end of target 'remoting_me2me_native_messaging_host' |
849 ], # targets | 855 ], # targets |
850 }], # end of OS!="win" and enable_me2me_host==1 | 856 }], # end of OS!="win" and enable_me2me_host==1 |
851 | 857 |
852 ['OS!="win" and enable_it2me_host==1', { | 858 ['OS!="win" and enable_it2me_host==1 and chromeos==0', { |
853 'targets': [ | 859 'targets': [ |
854 { | 860 { |
855 'target_name': 'remoting_it2me_native_messaging_host', | 861 'target_name': 'remoting_it2me_native_messaging_host', |
856 'type': 'executable', | 862 'type': 'executable', |
857 'product_name': 'remote_assistance_host', | 863 'product_name': 'remote_assistance_host', |
858 'variables': { 'enable_wexit_time_destructors': 1, }, | 864 'variables': { 'enable_wexit_time_destructors': 1, }, |
859 'dependencies': [ | 865 'dependencies': [ |
860 '../base/base.gyp:base', | 866 '../base/base.gyp:base', |
861 'remoting_base', | 867 'remoting_base', |
862 'remoting_breakpad', | 868 'remoting_breakpad', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 }], # mac_breakpad==1 | 949 }], # mac_breakpad==1 |
944 ], # conditions | 950 ], # conditions |
945 }], # OS=mac | 951 }], # OS=mac |
946 ], | 952 ], |
947 }, # end of target 'remoting_it2me_native_messaging_host' | 953 }, # end of target 'remoting_it2me_native_messaging_host' |
948 ], # end of 'targets' | 954 ], # end of 'targets' |
949 }], # # end of OS!="win" and enable_it2me_host==1 | 955 }], # # end of OS!="win" and enable_it2me_host==1 |
950 | 956 |
951 ], # end of 'conditions' | 957 ], # end of 'conditions' |
952 } | 958 } |
OLD | NEW |