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 'variables': { | 6 'variables': { |
7 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 | 10 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 'conditions': [ | 239 'conditions': [ |
240 ['remoting_multi_process != 0', { | 240 ['remoting_multi_process != 0', { |
241 'defines': [ | 241 'defines': [ |
242 'REMOTING_MULTI_PROCESS', | 242 'REMOTING_MULTI_PROCESS', |
243 ], | 243 ], |
244 }], | 244 }], |
245 ], | 245 ], |
246 }, | 246 }, |
247 | 247 |
248 'conditions': [ | 248 'conditions': [ |
249 ['OS=="win" or OS=="mac" or OS=="linux"', { | |
250 'targets': [ | |
251 { | |
252 'target_name': 'remoting_screen_capturer', | |
253 'type': 'static_library', | |
254 'variables': { 'enable_wexit_time_destructors': 1, }, | |
255 'dependencies': [ | |
256 '../skia/skia.gyp:skia', | |
257 ], | |
258 'sources': [ | |
259 'capturer/capture_data.cc', | |
260 'capturer/capture_data.h', | |
261 'capturer/shared_buffer.cc', | |
262 'capturer/shared_buffer.h', | |
263 'capturer/shared_buffer_factory.h', | |
264 'capturer/differ.cc', | |
265 'capturer/differ.h', | |
266 'capturer/differ_block.cc', | |
267 'capturer/differ_block.h', | |
268 'capturer/linux/x_server_pixel_buffer.cc', | |
269 'capturer/linux/x_server_pixel_buffer.h', | |
270 'capturer/mac/scoped_pixel_buffer_object.cc', | |
271 'capturer/mac/scoped_pixel_buffer_object.h', | |
272 'capturer/mouse_cursor_shape.cc', | |
273 'capturer/mouse_cursor_shape.h', | |
274 'capturer/video_frame.cc', | |
275 'capturer/video_frame.h', | |
276 'capturer/video_frame_capturer.h', | |
277 'capturer/video_frame_capturer_fake.cc', | |
278 'capturer/video_frame_capturer_fake.h', | |
279 'capturer/video_frame_capturer_helper.cc', | |
280 'capturer/video_frame_capturer_helper.h', | |
281 'capturer/video_frame_capturer_linux.cc', | |
282 'capturer/video_frame_capturer_mac.mm', | |
283 'capturer/video_frame_capturer_win.cc', | |
284 'capturer/video_frame_queue.cc', | |
285 'capturer/video_frame_queue.h', | |
286 'capturer/win/desktop.cc', | |
287 'capturer/win/desktop.h', | |
288 'capturer/win/scoped_thread_desktop.cc', | |
289 'capturer/win/scoped_thread_desktop.h', | |
290 ], | |
291 'conditions': [ | |
292 [ 'target_arch == "ia32" or target_arch == "x64"', { | |
293 'dependencies': [ | |
294 'differ_block_sse2', | |
295 ], | |
296 }], | |
297 ['OS=="linux"', { | |
298 'link_settings': { | |
299 'libraries': [ | |
300 '-lX11', | |
301 '-lXdamage', | |
302 '-lXext', | |
303 '-lXfixes', | |
304 ], | |
305 }, | |
306 }], | |
307 ['toolkit_uses_gtk==1', { | |
308 'dependencies': [ | |
309 '../build/linux/system.gyp:gtk', | |
310 ], | |
311 }, { # else toolkit_uses_gtk!=1 | |
312 'sources!': [ | |
313 '*_gtk.cc', | |
314 ], | |
315 }], | |
316 ], | |
317 }, # end of target remoting_screen_capturer | |
318 ], # end of 'targets' | |
319 }], # 'OS==win or OS==mac or OS==linux' | |
320 | |
321 ['enable_remoting_host==1', { | 249 ['enable_remoting_host==1', { |
322 'targets': [ | 250 'targets': [ |
323 { | 251 { |
324 'target_name': 'remoting_host', | 252 'target_name': 'remoting_host', |
325 'type': 'static_library', | 253 'type': 'static_library', |
326 'variables': { 'enable_wexit_time_destructors': 1, }, | 254 'variables': { 'enable_wexit_time_destructors': 1, }, |
327 'dependencies': [ | 255 'dependencies': [ |
328 'remoting_base', | 256 'remoting_base', |
329 'remoting_jingle_glue', | 257 'remoting_jingle_glue', |
330 'remoting_protocol', | 258 'remoting_protocol', |
331 'remoting_screen_capturer', | |
332 '../crypto/crypto.gyp:crypto', | 259 '../crypto/crypto.gyp:crypto', |
333 '../google_apis/google_apis.gyp:google_apis', | 260 '../google_apis/google_apis.gyp:google_apis', |
| 261 '../media/media.gyp:media', |
334 '../ipc/ipc.gyp:ipc', | 262 '../ipc/ipc.gyp:ipc', |
335 ], | 263 ], |
336 'defines': [ | 264 'defines': [ |
337 'VERSION=<(version_full)', | 265 'VERSION=<(version_full)', |
338 ], | 266 ], |
339 'sources': [ | 267 'sources': [ |
340 'host/audio_capturer.cc', | 268 'host/audio_capturer.cc', |
341 'host/audio_capturer.h', | 269 'host/audio_capturer.h', |
342 'host/audio_capturer_linux.cc', | 270 'host/audio_capturer_linux.cc', |
343 'host/audio_capturer_linux.h', | 271 'host/audio_capturer_linux.h', |
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2170 'protocol/v2_authenticator.cc', | 2098 'protocol/v2_authenticator.cc', |
2171 'protocol/v2_authenticator.h', | 2099 'protocol/v2_authenticator.h', |
2172 'protocol/video_reader.cc', | 2100 'protocol/video_reader.cc', |
2173 'protocol/video_reader.h', | 2101 'protocol/video_reader.h', |
2174 'protocol/video_stub.h', | 2102 'protocol/video_stub.h', |
2175 'protocol/video_writer.cc', | 2103 'protocol/video_writer.cc', |
2176 'protocol/video_writer.h', | 2104 'protocol/video_writer.h', |
2177 ], | 2105 ], |
2178 }, # end of target 'remoting_protocol' | 2106 }, # end of target 'remoting_protocol' |
2179 | 2107 |
2180 { | |
2181 'target_name': 'differ_block_sse2', | |
2182 'type': 'static_library', | |
2183 'conditions': [ | |
2184 [ 'os_posix == 1 and OS != "mac"', { | |
2185 'cflags': [ | |
2186 '-msse2', | |
2187 ], | |
2188 }], | |
2189 ], | |
2190 'sources': [ | |
2191 'capturer/differ_block_sse2.cc', | |
2192 'capturer/differ_block_sse2.h', | |
2193 ], | |
2194 }, # end of target differ_block_sse2 | |
2195 | |
2196 # Remoting unit tests | 2108 # Remoting unit tests |
2197 { | 2109 { |
2198 'target_name': 'remoting_unittests', | 2110 'target_name': 'remoting_unittests', |
2199 'type': 'executable', | 2111 'type': 'executable', |
2200 'dependencies': [ | 2112 'dependencies': [ |
2201 'remoting_base', | 2113 'remoting_base', |
2202 'remoting_resources', | 2114 'remoting_resources', |
2203 'remoting_breakpad', | 2115 'remoting_breakpad', |
2204 'remoting_client', | 2116 'remoting_client', |
2205 'remoting_client_plugin', | 2117 'remoting_client_plugin', |
2206 'remoting_host', | 2118 'remoting_host', |
2207 'remoting_jingle_glue', | 2119 'remoting_jingle_glue', |
2208 'remoting_protocol', | 2120 'remoting_protocol', |
2209 'remoting_screen_capturer', | |
2210 'remoting_host_setup_base', | 2121 'remoting_host_setup_base', |
2211 '../base/base.gyp:base', | 2122 '../base/base.gyp:base', |
2212 '../base/base.gyp:base_i18n', | 2123 '../base/base.gyp:base_i18n', |
2213 '../base/base.gyp:test_support_base', | 2124 '../base/base.gyp:test_support_base', |
2214 '../ipc/ipc.gyp:ipc', | 2125 '../ipc/ipc.gyp:ipc', |
2215 '../media/media.gyp:media', | 2126 '../media/media.gyp:media', |
| 2127 '../media/media.gyp:media_test_support', |
2216 '../net/net.gyp:net_test_support', | 2128 '../net/net.gyp:net_test_support', |
2217 '../ppapi/ppapi.gyp:ppapi_cpp', | 2129 '../ppapi/ppapi.gyp:ppapi_cpp', |
2218 '../testing/gmock.gyp:gmock', | 2130 '../testing/gmock.gyp:gmock', |
2219 '../testing/gtest.gyp:gtest', | 2131 '../testing/gtest.gyp:gtest', |
2220 '../ui/ui.gyp:ui', | 2132 '../ui/ui.gyp:ui', |
2221 ], | 2133 ], |
2222 'defines': [ | 2134 'defines': [ |
2223 'VERSION=<(version_full)', | 2135 'VERSION=<(version_full)', |
2224 ], | 2136 ], |
2225 'include_dirs': [ | 2137 'include_dirs': [ |
2226 '../testing/gmock/include', | 2138 '../testing/gmock/include', |
2227 ], | 2139 ], |
2228 'sources': [ | 2140 'sources': [ |
2229 '../chrome/test/base/run_all_remoting_unittests.cc', | 2141 '../chrome/test/base/run_all_remoting_unittests.cc', |
2230 'base/auth_token_util_unittest.cc', | 2142 'base/auth_token_util_unittest.cc', |
2231 'base/auto_thread_task_runner_unittest.cc', | 2143 'base/auto_thread_task_runner_unittest.cc', |
2232 'base/auto_thread_unittest.cc', | 2144 'base/auto_thread_unittest.cc', |
2233 'base/breakpad_win_unittest.cc', | 2145 'base/breakpad_win_unittest.cc', |
2234 'base/compound_buffer_unittest.cc', | 2146 'base/compound_buffer_unittest.cc', |
2235 'base/resources_unittest.cc', | 2147 'base/resources_unittest.cc', |
2236 'base/typed_buffer_unittest.cc', | 2148 'base/typed_buffer_unittest.cc', |
2237 'base/util_unittest.cc', | 2149 'base/util_unittest.cc', |
2238 'capturer/video_capturer_mock_objects.cc', | |
2239 'capturer/video_capturer_mock_objects.h', | |
2240 'capturer/differ_block_unittest.cc', | |
2241 'capturer/differ_unittest.cc', | |
2242 'capturer/shared_buffer_unittest.cc', | |
2243 'capturer/video_frame_capturer_helper_unittest.cc', | |
2244 'capturer/video_frame_capturer_mac_unittest.cc', | |
2245 'capturer/video_frame_capturer_unittest.cc', | |
2246 'client/audio_player_unittest.cc', | 2150 'client/audio_player_unittest.cc', |
2247 'client/key_event_mapper_unittest.cc', | 2151 'client/key_event_mapper_unittest.cc', |
2248 'client/plugin/mac_key_event_processor_unittest.cc', | 2152 'client/plugin/mac_key_event_processor_unittest.cc', |
2249 'codec/audio_encoder_opus_unittest.cc', | 2153 'codec/audio_encoder_opus_unittest.cc', |
2250 'codec/codec_test.cc', | 2154 'codec/codec_test.cc', |
2251 'codec/codec_test.h', | 2155 'codec/codec_test.h', |
2252 'codec/video_decoder_vp8_unittest.cc', | 2156 'codec/video_decoder_vp8_unittest.cc', |
2253 'codec/video_encoder_verbatim_unittest.cc', | 2157 'codec/video_encoder_verbatim_unittest.cc', |
2254 'codec/video_encoder_vp8_unittest.cc', | 2158 'codec/video_encoder_vp8_unittest.cc', |
2255 'host/audio_silence_detector_unittest.cc', | 2159 'host/audio_silence_detector_unittest.cc', |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2400 '../base/allocator/allocator.gyp:allocator', | 2304 '../base/allocator/allocator.gyp:allocator', |
2401 ], | 2305 ], |
2402 }, | 2306 }, |
2403 ], | 2307 ], |
2404 ], | 2308 ], |
2405 }], # end of 'toolkit_uses_gtk == 1' | 2309 }], # end of 'toolkit_uses_gtk == 1' |
2406 ], # end of 'conditions' | 2310 ], # end of 'conditions' |
2407 }, # end of target 'remoting_unittests' | 2311 }, # end of target 'remoting_unittests' |
2408 ], # end of targets | 2312 ], # end of targets |
2409 } | 2313 } |
OLD | NEW |