OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'client/plugin/pepper_view_proxy.cc', | 98 'client/plugin/pepper_view_proxy.cc', |
99 'client/plugin/pepper_view_proxy.h', | 99 'client/plugin/pepper_view_proxy.h', |
100 'client/plugin/pepper_util.cc', | 100 'client/plugin/pepper_util.cc', |
101 'client/plugin/pepper_util.h', | 101 'client/plugin/pepper_util.h', |
102 'client/plugin/pepper_xmpp_proxy.cc', | 102 'client/plugin/pepper_xmpp_proxy.cc', |
103 'client/plugin/pepper_xmpp_proxy.h', | 103 'client/plugin/pepper_xmpp_proxy.h', |
104 '../media/base/yuv_convert.cc', | 104 '../media/base/yuv_convert.cc', |
105 '../media/base/yuv_convert.h', | 105 '../media/base/yuv_convert.h', |
106 '../media/base/yuv_row.h', | 106 '../media/base/yuv_row.h', |
107 '../media/base/yuv_row_table.cc', | 107 '../media/base/yuv_row_table.cc', |
| 108 '../media/base/yuv_row_win.cc', |
| 109 '../media/base/yuv_row_posix.cc', |
108 ], | 110 ], |
109 'conditions': [ | |
110 ['OS=="win"', { | |
111 'sources': [ | |
112 '../media/base/yuv_row_win.cc', | |
113 ], | |
114 }], | |
115 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', { | |
116 'sources': [ | |
117 '../media/base/yuv_row_posix.cc', | |
118 ], | |
119 }], | |
120 ], # end of 'conditions' | |
121 }, # end of target 'chromoting_plugin' | 111 }, # end of target 'chromoting_plugin' |
122 | 112 |
123 { | 113 { |
124 'target_name': 'chromoting_base', | 114 'target_name': 'chromoting_base', |
125 'type': '<(library)', | 115 'type': '<(library)', |
126 'dependencies': [ | 116 'dependencies': [ |
127 '../ui/ui.gyp:ui_gfx', | 117 '../ui/ui.gyp:ui_gfx', |
128 '../media/media.gyp:media', | 118 '../media/media.gyp:media', |
129 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 119 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
130 '../third_party/libvpx/libvpx.gyp:libvpx_include', | 120 '../third_party/libvpx/libvpx.gyp:libvpx_include', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 'differ_block', | 187 'differ_block', |
198 ], | 188 ], |
199 'sources': [ | 189 'sources': [ |
200 'host/access_verifier.cc', | 190 'host/access_verifier.cc', |
201 'host/access_verifier.h', | 191 'host/access_verifier.h', |
202 'host/capturer.h', | 192 'host/capturer.h', |
203 'host/capturer_helper.cc', | 193 'host/capturer_helper.cc', |
204 'host/capturer_helper.h', | 194 'host/capturer_helper.h', |
205 'host/capturer_fake.cc', | 195 'host/capturer_fake.cc', |
206 'host/capturer_fake.h', | 196 'host/capturer_fake.h', |
| 197 'host/capturer_linux.cc', |
| 198 'host/capturer_mac.cc', |
| 199 'host/capturer_win.cc', |
207 'host/chromoting_host.cc', | 200 'host/chromoting_host.cc', |
208 'host/chromoting_host.h', | 201 'host/chromoting_host.h', |
209 'host/chromoting_host_context.cc', | 202 'host/chromoting_host_context.cc', |
210 'host/chromoting_host_context.h', | 203 'host/chromoting_host_context.h', |
211 'host/client_session.cc', | 204 'host/client_session.cc', |
212 'host/client_session.h', | 205 'host/client_session.h', |
213 'host/curtain.h', | 206 'host/curtain.h', |
| 207 'host/curtain_linux.cc', |
| 208 'host/curtain_mac.cc', |
| 209 'host/curtain_win.cc', |
214 'host/desktop_environment.cc', | 210 'host/desktop_environment.cc', |
215 'host/desktop_environment.h', | 211 'host/desktop_environment.h', |
216 'host/differ.h', | 212 'host/differ.h', |
217 'host/differ.cc', | 213 'host/differ.cc', |
218 'host/screen_recorder.cc', | 214 'host/event_executor.h', |
219 'host/screen_recorder.h', | 215 'host/event_executor_linux.cc', |
| 216 'host/event_executor_mac.cc', |
| 217 'host/event_executor_win.cc', |
220 'host/heartbeat_sender.cc', | 218 'host/heartbeat_sender.cc', |
221 'host/heartbeat_sender.h', | 219 'host/heartbeat_sender.h', |
222 'host/host_config.cc', | 220 'host/host_config.cc', |
223 'host/host_config.h', | 221 'host/host_config.h', |
224 'host/host_key_pair.cc', | 222 'host/host_key_pair.cc', |
225 'host/host_key_pair.h', | 223 'host/host_key_pair.h', |
| 224 'host/in_memory_host_config.cc', |
| 225 'host/in_memory_host_config.h', |
226 'host/json_host_config.cc', | 226 'host/json_host_config.cc', |
227 'host/json_host_config.h', | 227 'host/json_host_config.h', |
228 'host/in_memory_host_config.cc', | 228 'host/screen_recorder.cc', |
229 'host/in_memory_host_config.h', | 229 'host/screen_recorder.h', |
230 'host/user_authenticator.h', | 230 'host/user_authenticator.h', |
| 231 'host/user_authenticator_linux.cc', |
| 232 'host/user_authenticator_mac.cc', |
| 233 'host/user_authenticator_win.cc', |
231 ], | 234 ], |
232 'conditions': [ | 235 'conditions': [ |
233 ['OS=="win"', { | |
234 'sources': [ | |
235 'host/capturer_gdi.cc', | |
236 'host/capturer_gdi.h', | |
237 'host/curtain_win.cc', | |
238 'host/curtain_win.h', | |
239 'host/event_executor_win.cc', | |
240 'host/event_executor_win.h', | |
241 'host/user_authenticator_fake.cc', | |
242 'host/user_authenticator_fake.h', | |
243 'host/user_authenticator_win.cc', | |
244 ], | |
245 }], | |
246 ['OS=="linux"', { | 236 ['OS=="linux"', { |
247 'dependencies': [ | 237 'dependencies': [ |
248 '../build/linux/system.gyp:gtk', | 238 '../build/linux/system.gyp:gtk', |
249 ], | 239 ], |
250 'sources': [ | 240 'sources': [ |
251 'host/capturer_linux.cc', | |
252 'host/capturer_linux.h', | |
253 'host/curtain_linux.cc', | |
254 'host/curtain_linux.h', | |
255 'host/event_executor_linux.cc', | |
256 'host/event_executor_linux.h', | |
257 'host/user_authenticator_linux.cc', | |
258 'host/user_authenticator_pam.cc', | |
259 'host/user_authenticator_pam.h', | |
260 'host/x_server_pixel_buffer.cc', | 241 'host/x_server_pixel_buffer.cc', |
261 'host/x_server_pixel_buffer.h', | 242 'host/x_server_pixel_buffer.h', |
262 ], | 243 ], |
263 'link_settings': { | 244 'link_settings': { |
264 'libraries': [ | 245 'libraries': [ |
265 '-lX11', | 246 '-lX11', |
266 '-lXdamage', | 247 '-lXdamage', |
267 '-lXtst', | 248 '-lXtst', |
268 '-lpam', | 249 '-lpam', |
269 '-lXext' | 250 '-lXext' |
270 ], | 251 ], |
271 }, | 252 }, |
272 }], | 253 }], |
273 ['OS=="mac"', { | 254 ['OS=="mac"', { |
274 'sources': [ | |
275 'host/capturer_mac.cc', | |
276 'host/capturer_mac.h', | |
277 'host/curtain_mac.cc', | |
278 'host/curtain_mac.h', | |
279 'host/event_executor_mac.cc', | |
280 'host/event_executor_mac.h', | |
281 'host/user_authenticator_mac.cc', | |
282 'host/user_authenticator_mac.h', | |
283 ], | |
284 'link_settings': { | 255 'link_settings': { |
285 'libraries': [ | 256 'libraries': [ |
286 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 257 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
287 ], | 258 ], |
288 }, | 259 }, |
289 }], | 260 }], |
290 ], | 261 ], |
291 }, # end of target 'chromoting_host' | 262 }, # end of target 'chromoting_host' |
292 | 263 |
293 { | 264 { |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 'base/compressor_zlib_unittest.cc', | 505 'base/compressor_zlib_unittest.cc', |
535 'base/decoder_vp8_unittest.cc', | 506 'base/decoder_vp8_unittest.cc', |
536 'base/decompressor_zlib_unittest.cc', | 507 'base/decompressor_zlib_unittest.cc', |
537 'base/encode_decode_unittest.cc', | 508 'base/encode_decode_unittest.cc', |
538 'base/encoder_vp8_unittest.cc', | 509 'base/encoder_vp8_unittest.cc', |
539 'base/encoder_row_based_unittest.cc', | 510 'base/encoder_row_based_unittest.cc', |
540 'base/base_mock_objects.cc', | 511 'base/base_mock_objects.cc', |
541 'base/base_mock_objects.h', | 512 'base/base_mock_objects.h', |
542 # BUG57351 'client/chromoting_view_unittest.cc', | 513 # BUG57351 'client/chromoting_view_unittest.cc', |
543 'host/access_verifier_unittest.cc', | 514 'host/access_verifier_unittest.cc', |
| 515 'host/capturer_linux_unittest.cc', |
| 516 'host/capturer_mac_unittest.cc', |
| 517 'host/capturer_win_unittest.cc', |
544 'host/chromoting_host_context_unittest.cc', | 518 'host/chromoting_host_context_unittest.cc', |
545 'host/chromoting_host_unittest.cc', | 519 'host/chromoting_host_unittest.cc', |
546 'host/client_session_unittest.cc', | 520 'host/client_session_unittest.cc', |
547 'host/differ_block_unittest.cc', | 521 'host/differ_block_unittest.cc', |
548 'host/differ_unittest.cc', | 522 'host/differ_unittest.cc', |
549 'host/heartbeat_sender_unittest.cc', | 523 'host/heartbeat_sender_unittest.cc', |
550 'host/host_key_pair_unittest.cc', | 524 'host/host_key_pair_unittest.cc', |
551 'host/host_mock_objects.cc', | 525 'host/host_mock_objects.cc', |
552 'host/host_mock_objects.h', | 526 'host/host_mock_objects.h', |
553 'host/json_host_config_unittest.cc', | 527 'host/json_host_config_unittest.cc', |
554 'host/screen_recorder_unittest.cc', | 528 'host/screen_recorder_unittest.cc', |
555 'host/test_key_pair.h', | 529 'host/test_key_pair.h', |
556 'host/user_authenticator_fake.cc', | |
557 'host/user_authenticator_fake.h', | |
558 'jingle_glue/iq_request_unittest.cc', | 530 'jingle_glue/iq_request_unittest.cc', |
559 'jingle_glue/jingle_client_unittest.cc', | 531 'jingle_glue/jingle_client_unittest.cc', |
560 'jingle_glue/jingle_thread_unittest.cc', | 532 'jingle_glue/jingle_thread_unittest.cc', |
561 'protocol/connection_to_client_unittest.cc', | 533 'protocol/connection_to_client_unittest.cc', |
562 'protocol/fake_session.cc', | 534 'protocol/fake_session.cc', |
563 'protocol/fake_session.h', | 535 'protocol/fake_session.h', |
564 'protocol/jingle_session_unittest.cc', | 536 'protocol/jingle_session_unittest.cc', |
565 'protocol/message_decoder_unittest.cc', | 537 'protocol/message_decoder_unittest.cc', |
566 'protocol/message_reader_unittest.cc', | 538 'protocol/message_reader_unittest.cc', |
567 'protocol/protocol_mock_objects.cc', | 539 'protocol/protocol_mock_objects.cc', |
568 'protocol/protocol_mock_objects.h', | 540 'protocol/protocol_mock_objects.h', |
569 'protocol/rtp_video_reader_unittest.cc', | 541 'protocol/rtp_video_reader_unittest.cc', |
570 'protocol/rtp_video_writer_unittest.cc', | 542 'protocol/rtp_video_writer_unittest.cc', |
571 'protocol/session_manager_pair.cc', | 543 'protocol/session_manager_pair.cc', |
572 'protocol/session_manager_pair.h', | 544 'protocol/session_manager_pair.h', |
573 'run_all_unittests.cc', | 545 'run_all_unittests.cc', |
574 ], | 546 ], |
575 'conditions': [ | 547 'conditions': [ |
576 ['OS=="win"', { | |
577 'sources': [ | |
578 'host/capturer_gdi_unittest.cc', | |
579 ], | |
580 }], | |
581 ['OS=="linux"', { | 548 ['OS=="linux"', { |
582 'dependencies': [ | 549 'dependencies': [ |
583 '../app/app.gyp:app_base', | 550 '../app/app.gyp:app_base', |
584 # Needed for the following #include chain: | 551 # Needed for the following #include chain: |
585 # base/run_all_unittests.cc | 552 # base/run_all_unittests.cc |
586 # ../base/test_suite.h | 553 # ../base/test_suite.h |
587 # gtk/gtk.h | 554 # gtk/gtk.h |
588 '../build/linux/system.gyp:gtk', | 555 '../build/linux/system.gyp:gtk', |
589 ], | 556 ], |
590 'sources': [ | |
591 'host/capturer_linux_unittest.cc', | |
592 ], | |
593 'conditions': [ | 557 'conditions': [ |
594 [ 'linux_use_tcmalloc==1', { | 558 [ 'linux_use_tcmalloc==1', { |
595 'dependencies': [ | 559 'dependencies': [ |
596 '../base/allocator/allocator.gyp:allocator', | 560 '../base/allocator/allocator.gyp:allocator', |
597 ], | 561 ], |
598 }, | 562 }, |
599 ], | 563 ], |
600 ], | 564 ], |
601 }], | 565 }], |
602 ['OS=="mac"', { | |
603 'sources': [ | |
604 'host/capturer_mac_unittest.cc', | |
605 ], | |
606 }], | |
607 ['target_arch=="arm"', { | 566 ['target_arch=="arm"', { |
608 'sources!': [ | 567 'sources!': [ |
609 'base/decoder_vp8_unittest.cc', | 568 'base/decoder_vp8_unittest.cc', |
610 'base/encoder_vp8_unittest.cc', | 569 'base/encoder_vp8_unittest.cc', |
611 ], | 570 ], |
612 }], | 571 }], |
613 ], # end of 'conditions' | 572 ], # end of 'conditions' |
614 }, # end of target 'chromoting_unittests' | 573 }, # end of target 'chromoting_unittests' |
615 ], # end of targets | 574 ], # end of targets |
616 } | 575 } |
617 | 576 |
618 # Local Variables: | 577 # Local Variables: |
619 # tab-width:2 | 578 # tab-width:2 |
620 # indent-tabs-mode:nil | 579 # indent-tabs-mode:nil |
621 # End: | 580 # End: |
622 # vim: set expandtab tabstop=2 shiftwidth=2: | 581 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |