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_remoting_host': 1, | |
26 'enable_me2me_host': 0, | 25 'enable_me2me_host': 0, |
27 'enable_it2me_host': 1, | 26 'enable_it2me_host': 1, |
28 }], | 27 }], |
29 ], | 28 ], |
30 }, | 29 }, |
31 | 30 |
32 'conditions': [ | 31 'conditions': [ |
33 ['enable_remoting_host==1', { | 32 ['enable_remoting_host==1', { |
34 'targets': [ | 33 'targets': [ |
35 { | 34 { |
(...skipping 18 matching lines...) Expand all Loading... |
54 'defines': [ | 53 'defines': [ |
55 'HOST_BUNDLE_NAME="<(host_bundle_name)"', | 54 'HOST_BUNDLE_NAME="<(host_bundle_name)"', |
56 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"', | 55 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"', |
57 'VERSION=<(version_full)', | 56 'VERSION=<(version_full)', |
58 ], | 57 ], |
59 'sources': [ | 58 'sources': [ |
60 '<@(remoting_host_sources)', | 59 '<@(remoting_host_sources)', |
61 ], | 60 ], |
62 'conditions': [ | 61 'conditions': [ |
63 ['OS=="linux"', { | 62 ['OS=="linux"', { |
64 'conditions': [ | 63 'dependencies': [ |
65 ['use_x11==1', { | 64 '../build/linux/system.gyp:x11', |
66 'dependencies': [ | 65 '../build/linux/system.gyp:xext', |
67 '../build/linux/system.gyp:x11', | 66 '../build/linux/system.gyp:xfixes', |
68 '../build/linux/system.gyp:xext', | 67 '../build/linux/system.gyp:xi', |
69 '../build/linux/system.gyp:xfixes', | 68 '../build/linux/system.gyp:xrandr', |
70 '../build/linux/system.gyp:xi', | 69 '../build/linux/system.gyp:xtst', |
71 '../build/linux/system.gyp:xrandr', | |
72 '../build/linux/system.gyp:xtst', | |
73 ], | |
74 }], | |
75 ['chromeos==0 and use_ozone==0', { | |
76 'dependencies': [ | |
77 # use GTK on Linux, even for Aura builds. | |
78 '../build/linux/system.gyp:gtk', | |
79 ], | |
80 }] | |
81 ], | 70 ], |
82 'link_settings': { | 71 'link_settings': { |
83 'libraries': [ | 72 'libraries': [ |
84 '-lpam', | 73 '-lpam', |
85 ], | 74 ], |
86 }, | 75 }, |
87 }], | 76 }], |
| 77 ['OS=="linux" and chromeos==0 and use_ozone==0', { |
| 78 'dependencies' : [ |
| 79 # Always use GTK on Linux, even for Aura builds. |
| 80 '../build/linux/system.gyp:gtk', |
| 81 ], |
| 82 }], |
88 ['chromeos==1', { | 83 ['chromeos==1', { |
89 'dependencies' : [ | 84 'dependencies' : [ |
90 '../cc/cc.gyp:cc', | 85 '../cc/cc.gyp:cc', |
91 '../components/components.gyp:policy_component_common', | 86 '../components/components.gyp:policy_component_common', |
92 '../content/content.gyp:content', | 87 '../content/content.gyp:content', |
93 '../ppapi/ppapi_internal.gyp:ppapi_host', | 88 '../ppapi/ppapi_internal.gyp:ppapi_host', |
94 '../skia/skia.gyp:skia', | 89 '../skia/skia.gyp:skia', |
95 '../ui/aura/aura.gyp:aura', | 90 '../ui/aura/aura.gyp:aura', |
96 '../ui/compositor/compositor.gyp:compositor', | 91 '../ui/compositor/compositor.gyp:compositor', |
97 '../ui/events/events.gyp:events', | 92 '../ui/events/events.gyp:events', |
98 '../ui/events/platform/events_platform.gyp:events_platform', | |
99 '../ui/views/views.gyp:views', | 93 '../ui/views/views.gyp:views', |
100 ], | 94 ], |
101 'include_dirs': [ | 95 'include_dirs': [ |
102 '../third_party/skia/include/utils', | 96 '../third_party/skia/include/utils', |
103 ], | 97 ], |
104 'sources!' : [ | 98 'sources!' : [ |
105 'host/clipboard_x11.cc', | 99 'host/clipboard_x11.cc', |
106 'host/continue_window_linux.cc', | 100 'host/continue_window_linux.cc', |
107 'host/disconnect_window_linux.cc', | 101 'host/disconnect_window_linux.cc', |
108 'host/linux/x_server_clipboard.cc', | |
109 'host/linux/x_server_clipboard.h', | |
110 'host/policy_hack/policy_watcher_linux.cc', | 102 'host/policy_hack/policy_watcher_linux.cc', |
111 'host/remoting_me2me_host.cc', | 103 'host/remoting_me2me_host.cc', |
112 ], | 104 ] |
113 'conditions': [ | 105 }, { # chromeos==0 |
114 ['use_ozone==0', { | 106 'sources!' : [ |
115 'sources!': [ | 107 'host/chromeos/aura_desktop_capturer.cc', |
116 'host/input_injector_chromeos.cc', | 108 'host/chromeos/aura_desktop_capturer.h', |
117 'host/input_injector_chromeos.h', | 109 'host/chromeos/message_box.cc', |
118 'host/local_input_monitor_chromeos.cc', | 110 'host/chromeos/message_box.h', |
119 'host/chromeos/mouse_cursor_monitor_aura.cc', | 111 'host/clipboard_aura.cc', |
120 'host/chromeos/mouse_cursor_monitor_aura.h', | 112 'host/clipboard_aura.h', |
121 ], | 113 'host/continue_window_chromeos.cc', |
122 }], | 114 'host/disconnect_window_chromeos.cc', |
123 ], | 115 'host/policy_hack/policy_watcher_chromeos.cc', |
| 116 ], |
124 }], | 117 }], |
125 ['OS=="mac"', { | 118 ['OS=="mac"', { |
126 'dependencies': [ | 119 'dependencies': [ |
127 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 120 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
128 ], | 121 ], |
129 'link_settings': { | 122 'link_settings': { |
130 'libraries': [ | 123 'libraries': [ |
131 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 124 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
132 'libpam.a', | 125 'libpam.a', |
133 ], | 126 ], |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 }], # mac_breakpad==1 | 713 }], # mac_breakpad==1 |
721 ], # conditions | 714 ], # conditions |
722 }], # OS=mac | 715 }], # OS=mac |
723 ], | 716 ], |
724 }, # end of target 'remoting_it2me_native_messaging_host' | 717 }, # end of target 'remoting_it2me_native_messaging_host' |
725 ], # end of 'targets' | 718 ], # end of 'targets' |
726 }], # # end of OS!="win" and enable_it2me_host==1 | 719 }], # # end of OS!="win" and enable_it2me_host==1 |
727 | 720 |
728 ], # end of 'conditions' | 721 ], # end of 'conditions' |
729 } | 722 } |
OLD | NEW |