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/desktop_configuration.mm', | |
271 'capturer/mac/desktop_configuration.h', | |
272 'capturer/mac/scoped_pixel_buffer_object.cc', | |
273 'capturer/mac/scoped_pixel_buffer_object.h', | |
274 'capturer/mouse_cursor_shape.cc', | |
275 'capturer/mouse_cursor_shape.h', | |
276 'capturer/video_frame.cc', | |
277 'capturer/video_frame.h', | |
278 'capturer/video_frame_capturer.h', | |
279 'capturer/video_frame_capturer_fake.cc', | |
280 'capturer/video_frame_capturer_fake.h', | |
281 'capturer/video_frame_capturer_helper.cc', | |
282 'capturer/video_frame_capturer_helper.h', | |
283 'capturer/video_frame_capturer_linux.cc', | |
284 'capturer/video_frame_capturer_mac.mm', | |
285 'capturer/video_frame_capturer_win.cc', | |
286 'capturer/video_frame_queue.cc', | |
287 'capturer/video_frame_queue.h', | |
288 'capturer/win/desktop.cc', | |
289 'capturer/win/desktop.h', | |
290 'capturer/win/scoped_thread_desktop.cc', | |
291 'capturer/win/scoped_thread_desktop.h', | |
292 ], | |
293 'conditions': [ | |
294 [ 'target_arch == "ia32" or target_arch == "x64"', { | |
295 'dependencies': [ | |
296 'differ_block_sse2', | |
297 ], | |
298 }], | |
299 ['OS=="linux"', { | |
300 'link_settings': { | |
301 'libraries': [ | |
302 '-lX11', | |
303 '-lXdamage', | |
304 '-lXext', | |
305 '-lXfixes', | |
306 ], | |
307 }, | |
308 }], | |
309 ['toolkit_uses_gtk==1', { | |
310 'dependencies': [ | |
311 '../build/linux/system.gyp:gtk', | |
312 ], | |
313 }, { # else toolkit_uses_gtk!=1 | |
314 'sources!': [ | |
315 '*_gtk.cc', | |
316 ], | |
317 }], | |
318 ], | |
319 }, # end of target remoting_screen_capturer | |
320 ], # end of 'targets' | |
321 }], # 'OS==win or OS==mac or OS==linux' | |
322 | |
323 ['enable_remoting_host==1', { | 249 ['enable_remoting_host==1', { |
324 'targets': [ | 250 'targets': [ |
325 { | 251 { |
326 'target_name': 'remoting_host', | 252 'target_name': 'remoting_host', |
327 'type': 'static_library', | 253 'type': 'static_library', |
328 'variables': { 'enable_wexit_time_destructors': 1, }, | 254 'variables': { 'enable_wexit_time_destructors': 1, }, |
329 'dependencies': [ | 255 'dependencies': [ |
330 'remoting_base', | 256 'remoting_base', |
331 'remoting_jingle_glue', | 257 'remoting_jingle_glue', |
332 'remoting_protocol', | 258 'remoting_protocol', |
333 'remoting_screen_capturer', | |
334 '../crypto/crypto.gyp:crypto', | 259 '../crypto/crypto.gyp:crypto', |
335 '../google_apis/google_apis.gyp:google_apis', | 260 '../google_apis/google_apis.gyp:google_apis', |
| 261 '../media/media.gyp:media', |
336 '../ipc/ipc.gyp:ipc', | 262 '../ipc/ipc.gyp:ipc', |
337 ], | 263 ], |
338 'defines': [ | 264 'defines': [ |
339 'VERSION=<(version_full)', | 265 'VERSION=<(version_full)', |
340 ], | 266 ], |
341 'sources': [ | 267 'sources': [ |
342 'host/audio_capturer.cc', | 268 'host/audio_capturer.cc', |
343 'host/audio_capturer.h', | 269 'host/audio_capturer.h', |
344 'host/audio_capturer_linux.cc', | 270 'host/audio_capturer_linux.cc', |
345 'host/audio_capturer_linux.h', | 271 'host/audio_capturer_linux.h', |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 '../third_party/GTM/DebugUtils/GTMTypeCasting.h', | 446 '../third_party/GTM/DebugUtils/GTMTypeCasting.h', |
521 '../third_party/GTM/Foundation/GTMObjectSingleton.h', | 447 '../third_party/GTM/Foundation/GTMObjectSingleton.h', |
522 '../third_party/GTM/GTMDefines.h', | 448 '../third_party/GTM/GTMDefines.h', |
523 ], | 449 ], |
524 'include_dirs': [ | 450 'include_dirs': [ |
525 '../third_party/GTM', | 451 '../third_party/GTM', |
526 '../third_party/GTM/AppKit', | 452 '../third_party/GTM/AppKit', |
527 '../third_party/GTM/DebugUtils', | 453 '../third_party/GTM/DebugUtils', |
528 '../third_party/GTM/Foundation', | 454 '../third_party/GTM/Foundation', |
529 ], | 455 ], |
530 'link_settings': { | |
531 'libraries': [ | |
532 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | |
533 'libpam.a', | |
534 ], | |
535 }, | |
536 }], | 456 }], |
537 ['OS=="win"', { | 457 ['OS=="win"', { |
538 'dependencies': [ | 458 'dependencies': [ |
539 '../sandbox/sandbox.gyp:sandbox', | 459 '../sandbox/sandbox.gyp:sandbox', |
540 ], | 460 ], |
541 }], | 461 }], |
542 ], | 462 ], |
543 }, # end of target 'remoting_host' | 463 }, # end of target 'remoting_host' |
544 | 464 |
545 { | 465 { |
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2172 'protocol/v2_authenticator.cc', | 2092 'protocol/v2_authenticator.cc', |
2173 'protocol/v2_authenticator.h', | 2093 'protocol/v2_authenticator.h', |
2174 'protocol/video_reader.cc', | 2094 'protocol/video_reader.cc', |
2175 'protocol/video_reader.h', | 2095 'protocol/video_reader.h', |
2176 'protocol/video_stub.h', | 2096 'protocol/video_stub.h', |
2177 'protocol/video_writer.cc', | 2097 'protocol/video_writer.cc', |
2178 'protocol/video_writer.h', | 2098 'protocol/video_writer.h', |
2179 ], | 2099 ], |
2180 }, # end of target 'remoting_protocol' | 2100 }, # end of target 'remoting_protocol' |
2181 | 2101 |
2182 { | |
2183 'target_name': 'differ_block_sse2', | |
2184 'type': 'static_library', | |
2185 'conditions': [ | |
2186 [ 'os_posix == 1 and OS != "mac"', { | |
2187 'cflags': [ | |
2188 '-msse2', | |
2189 ], | |
2190 }], | |
2191 ], | |
2192 'sources': [ | |
2193 'capturer/differ_block_sse2.cc', | |
2194 'capturer/differ_block_sse2.h', | |
2195 ], | |
2196 }, # end of target differ_block_sse2 | |
2197 | |
2198 # Remoting unit tests | 2102 # Remoting unit tests |
2199 { | 2103 { |
2200 'target_name': 'remoting_unittests', | 2104 'target_name': 'remoting_unittests', |
2201 'type': 'executable', | 2105 'type': 'executable', |
2202 'dependencies': [ | 2106 'dependencies': [ |
2203 'remoting_base', | 2107 'remoting_base', |
2204 'remoting_resources', | 2108 'remoting_resources', |
2205 'remoting_breakpad', | 2109 'remoting_breakpad', |
2206 'remoting_client', | 2110 'remoting_client', |
2207 'remoting_client_plugin', | 2111 'remoting_client_plugin', |
2208 'remoting_host', | 2112 'remoting_host', |
2209 'remoting_jingle_glue', | 2113 'remoting_jingle_glue', |
2210 'remoting_protocol', | 2114 'remoting_protocol', |
2211 'remoting_screen_capturer', | |
2212 'remoting_host_setup_base', | 2115 'remoting_host_setup_base', |
2213 '../base/base.gyp:base', | 2116 '../base/base.gyp:base', |
2214 '../base/base.gyp:base_i18n', | 2117 '../base/base.gyp:base_i18n', |
2215 '../base/base.gyp:test_support_base', | 2118 '../base/base.gyp:test_support_base', |
2216 '../ipc/ipc.gyp:ipc', | 2119 '../ipc/ipc.gyp:ipc', |
2217 '../media/media.gyp:media', | 2120 '../media/media.gyp:media', |
| 2121 '../media/media.gyp:media_test_support', |
2218 '../net/net.gyp:net_test_support', | 2122 '../net/net.gyp:net_test_support', |
2219 '../ppapi/ppapi.gyp:ppapi_cpp', | 2123 '../ppapi/ppapi.gyp:ppapi_cpp', |
2220 '../testing/gmock.gyp:gmock', | 2124 '../testing/gmock.gyp:gmock', |
2221 '../testing/gtest.gyp:gtest', | 2125 '../testing/gtest.gyp:gtest', |
2222 '../ui/ui.gyp:ui', | 2126 '../ui/ui.gyp:ui', |
2223 ], | 2127 ], |
2224 'defines': [ | 2128 'defines': [ |
2225 'VERSION=<(version_full)', | 2129 'VERSION=<(version_full)', |
2226 ], | 2130 ], |
2227 'include_dirs': [ | 2131 'include_dirs': [ |
2228 '../testing/gmock/include', | 2132 '../testing/gmock/include', |
2229 ], | 2133 ], |
2230 'sources': [ | 2134 'sources': [ |
2231 '../chrome/test/base/run_all_remoting_unittests.cc', | 2135 '../chrome/test/base/run_all_remoting_unittests.cc', |
2232 'base/auth_token_util_unittest.cc', | 2136 'base/auth_token_util_unittest.cc', |
2233 'base/auto_thread_task_runner_unittest.cc', | 2137 'base/auto_thread_task_runner_unittest.cc', |
2234 'base/auto_thread_unittest.cc', | 2138 'base/auto_thread_unittest.cc', |
2235 'base/breakpad_win_unittest.cc', | 2139 'base/breakpad_win_unittest.cc', |
2236 'base/compound_buffer_unittest.cc', | 2140 'base/compound_buffer_unittest.cc', |
2237 'base/resources_unittest.cc', | 2141 'base/resources_unittest.cc', |
2238 'base/typed_buffer_unittest.cc', | 2142 'base/typed_buffer_unittest.cc', |
2239 'base/util_unittest.cc', | 2143 'base/util_unittest.cc', |
2240 'capturer/video_capturer_mock_objects.cc', | |
2241 'capturer/video_capturer_mock_objects.h', | |
2242 'capturer/differ_block_unittest.cc', | |
2243 'capturer/differ_unittest.cc', | |
2244 'capturer/shared_buffer_unittest.cc', | |
2245 'capturer/video_frame_capturer_helper_unittest.cc', | |
2246 'capturer/video_frame_capturer_mac_unittest.cc', | |
2247 'capturer/video_frame_capturer_unittest.cc', | |
2248 'client/audio_player_unittest.cc', | 2144 'client/audio_player_unittest.cc', |
2249 'client/key_event_mapper_unittest.cc', | 2145 'client/key_event_mapper_unittest.cc', |
2250 'client/plugin/mac_key_event_processor_unittest.cc', | 2146 'client/plugin/mac_key_event_processor_unittest.cc', |
2251 'codec/audio_encoder_opus_unittest.cc', | 2147 'codec/audio_encoder_opus_unittest.cc', |
2252 'codec/codec_test.cc', | 2148 'codec/codec_test.cc', |
2253 'codec/codec_test.h', | 2149 'codec/codec_test.h', |
2254 'codec/video_decoder_vp8_unittest.cc', | 2150 'codec/video_decoder_vp8_unittest.cc', |
2255 'codec/video_encoder_verbatim_unittest.cc', | 2151 'codec/video_encoder_verbatim_unittest.cc', |
2256 'codec/video_encoder_vp8_unittest.cc', | 2152 'codec/video_encoder_vp8_unittest.cc', |
2257 'host/audio_silence_detector_unittest.cc', | 2153 'host/audio_silence_detector_unittest.cc', |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2402 '../base/allocator/allocator.gyp:allocator', | 2298 '../base/allocator/allocator.gyp:allocator', |
2403 ], | 2299 ], |
2404 }, | 2300 }, |
2405 ], | 2301 ], |
2406 ], | 2302 ], |
2407 }], # end of 'toolkit_uses_gtk == 1' | 2303 }], # end of 'toolkit_uses_gtk == 1' |
2408 ], # end of 'conditions' | 2304 ], # end of 'conditions' |
2409 }, # end of target 'remoting_unittests' | 2305 }, # end of target 'remoting_unittests' |
2410 ], # end of targets | 2306 ], # end of targets |
2411 } | 2307 } |
OLD | NEW |