| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # Use a consistent MIME-type independent of branding. | 10 # Use a consistent MIME-type independent of branding. |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 'type': 'loadable_module', | 160 'type': 'loadable_module', |
| 161 'defines': [ | 161 'defines': [ |
| 162 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', | 162 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', |
| 163 ], | 163 ], |
| 164 'dependencies': [ | 164 'dependencies': [ |
| 165 'remoting_base', | 165 'remoting_base', |
| 166 'remoting_host', | 166 'remoting_host', |
| 167 'remoting_jingle_glue', | 167 'remoting_jingle_glue', |
| 168 '../third_party/npapi/npapi.gyp:npapi', | 168 '../third_party/npapi/npapi.gyp:npapi', |
| 169 ], | 169 ], |
| 170 'include_dirs': [ |
| 171 '../skia/config', |
| 172 ], |
| 170 'sources': [ | 173 'sources': [ |
| 171 'host/plugin/host_plugin.cc', | 174 'host/plugin/host_plugin.cc', |
| 172 'host/plugin/host_plugin.def', | 175 'host/plugin/host_plugin.def', |
| 173 'host/plugin/host_plugin.rc', | 176 'host/plugin/host_plugin.rc', |
| 174 'host/plugin/host_plugin_resource.h', | 177 'host/plugin/host_plugin_resource.h', |
| 175 'host/plugin/host_plugin_utils.cc', | 178 'host/plugin/host_plugin_utils.cc', |
| 176 'host/plugin/host_plugin_utils.h', | 179 'host/plugin/host_plugin_utils.h', |
| 177 'host/plugin/host_script_object.cc', | 180 'host/plugin/host_script_object.cc', |
| 178 'host/plugin/host_script_object.h', | 181 'host/plugin/host_script_object.h', |
| 179 ], | 182 ], |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 280 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 278 '../third_party/libvpx/libvpx.gyp:libvpx_include', | 281 '../third_party/libvpx/libvpx.gyp:libvpx_include', |
| 279 '../third_party/zlib/zlib.gyp:zlib', | 282 '../third_party/zlib/zlib.gyp:zlib', |
| 280 '../media/media.gyp:yuv_convert', | 283 '../media/media.gyp:yuv_convert', |
| 281 'remoting_jingle_glue', | 284 'remoting_jingle_glue', |
| 282 'proto/chromotocol.gyp:chromotocol_proto_lib', | 285 'proto/chromotocol.gyp:chromotocol_proto_lib', |
| 283 'proto/trace.gyp:trace_proto_lib', | 286 'proto/trace.gyp:trace_proto_lib', |
| 284 # TODO(hclam): Enable VP8 in the build. | 287 # TODO(hclam): Enable VP8 in the build. |
| 285 #'third_party/on2/on2.gyp:vp8', | 288 #'third_party/on2/on2.gyp:vp8', |
| 286 ], | 289 ], |
| 290 'include_dirs': [ |
| 291 '../skia/config', |
| 292 ], |
| 287 'export_dependent_settings': [ | 293 'export_dependent_settings': [ |
| 288 '../base/base.gyp:base', | 294 '../base/base.gyp:base', |
| 289 '../net/net.gyp:net', | 295 '../net/net.gyp:net', |
| 290 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 296 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 291 'proto/chromotocol.gyp:chromotocol_proto_lib', | 297 'proto/chromotocol.gyp:chromotocol_proto_lib', |
| 292 ], | 298 ], |
| 293 # This target needs a hard dependency because dependent targets | 299 # This target needs a hard dependency because dependent targets |
| 294 # depend on chromotocol_proto_lib for headers. | 300 # depend on chromotocol_proto_lib for headers. |
| 295 'hard_dependency': 1, | 301 'hard_dependency': 1, |
| 296 'sources': [ | 302 'sources': [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 323 'base/encoder_row_based.cc', | 329 'base/encoder_row_based.cc', |
| 324 'base/encoder_row_based.h', | 330 'base/encoder_row_based.h', |
| 325 'base/rate_counter.cc', | 331 'base/rate_counter.cc', |
| 326 'base/rate_counter.h', | 332 'base/rate_counter.h', |
| 327 'base/running_average.cc', | 333 'base/running_average.cc', |
| 328 'base/running_average.h', | 334 'base/running_average.h', |
| 329 'base/task_thread_proxy.cc', | 335 'base/task_thread_proxy.cc', |
| 330 'base/task_thread_proxy.h', | 336 'base/task_thread_proxy.h', |
| 331 'base/tracer.cc', | 337 'base/tracer.cc', |
| 332 'base/tracer.h', | 338 'base/tracer.h', |
| 333 'base/types.h', | |
| 334 'base/util.cc', | 339 'base/util.cc', |
| 335 'base/util.h', | 340 'base/util.h', |
| 336 ], | 341 ], |
| 337 'conditions': [ | 342 'conditions': [ |
| 338 ['target_arch=="arm"', { | 343 ['target_arch=="arm"', { |
| 339 'sources!': [ | 344 'sources!': [ |
| 340 'base/decoder_vp8.cc', | 345 'base/decoder_vp8.cc', |
| 341 'base/decoder_vp8.h', | 346 'base/decoder_vp8.h', |
| 342 'base/encoder_vp8.cc', | 347 'base/encoder_vp8.cc', |
| 343 'base/encoder_vp8.h', | 348 'base/encoder_vp8.h', |
| 344 ], | 349 ], |
| 345 }], | 350 }], |
| 346 ], | 351 ], |
| 347 }, # end of target 'remoting_base' | 352 }, # end of target 'remoting_base' |
| 348 | 353 |
| 349 { | 354 { |
| 350 'target_name': 'remoting_host', | 355 'target_name': 'remoting_host', |
| 351 'type': 'static_library', | 356 'type': 'static_library', |
| 352 'dependencies': [ | 357 'dependencies': [ |
| 353 'remoting_base', | 358 'remoting_base', |
| 354 'remoting_jingle_glue', | 359 'remoting_jingle_glue', |
| 355 'remoting_protocol', | 360 'remoting_protocol', |
| 356 'differ_block', | 361 'differ_block', |
| 357 '../crypto/crypto.gyp:crypto', | 362 '../crypto/crypto.gyp:crypto', |
| 358 ], | 363 ], |
| 364 'include_dirs': [ |
| 365 '../skia/config', |
| 366 ], |
| 359 'sources': [ | 367 'sources': [ |
| 360 'host/access_verifier.h', | 368 'host/access_verifier.h', |
| 361 'host/capturer.h', | 369 'host/capturer.h', |
| 362 'host/capturer_helper.cc', | 370 'host/capturer_helper.cc', |
| 363 'host/capturer_helper.h', | 371 'host/capturer_helper.h', |
| 364 'host/capturer_fake.cc', | 372 'host/capturer_fake.cc', |
| 365 'host/capturer_fake.h', | 373 'host/capturer_fake.h', |
| 366 'host/capturer_linux.cc', | 374 'host/capturer_linux.cc', |
| 367 'host/capturer_mac.cc', | 375 'host/capturer_mac.cc', |
| 368 'host/capturer_win.cc', | 376 'host/capturer_win.cc', |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 }, # end of target 'remoting_host' | 475 }, # end of target 'remoting_host' |
| 468 | 476 |
| 469 { | 477 { |
| 470 'target_name': 'remoting_client', | 478 'target_name': 'remoting_client', |
| 471 'type': 'static_library', | 479 'type': 'static_library', |
| 472 'dependencies': [ | 480 'dependencies': [ |
| 473 'remoting_base', | 481 'remoting_base', |
| 474 'remoting_jingle_glue', | 482 'remoting_jingle_glue', |
| 475 'remoting_protocol', | 483 'remoting_protocol', |
| 476 ], | 484 ], |
| 485 'include_dirs': [ |
| 486 '../skia/config', |
| 487 ], |
| 477 'sources': [ | 488 'sources': [ |
| 478 'client/chromoting_client.cc', | 489 'client/chromoting_client.cc', |
| 479 'client/chromoting_client.h', | 490 'client/chromoting_client.h', |
| 480 'client/chromoting_stats.cc', | 491 'client/chromoting_stats.cc', |
| 481 'client/chromoting_stats.h', | 492 'client/chromoting_stats.h', |
| 482 'client/chromoting_view.cc', | 493 'client/chromoting_view.cc', |
| 483 'client/chromoting_view.h', | 494 'client/chromoting_view.h', |
| 484 'client/client_config.cc', | 495 'client/client_config.cc', |
| 485 'client/client_config.h', | 496 'client/client_config.h', |
| 486 'client/client_context.cc', | 497 'client/client_context.cc', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 497 'target_name': 'remoting_simple_host', | 508 'target_name': 'remoting_simple_host', |
| 498 'type': 'executable', | 509 'type': 'executable', |
| 499 'dependencies': [ | 510 'dependencies': [ |
| 500 'remoting_base', | 511 'remoting_base', |
| 501 'remoting_host', | 512 'remoting_host', |
| 502 'remoting_jingle_glue', | 513 'remoting_jingle_glue', |
| 503 '../base/base.gyp:base', | 514 '../base/base.gyp:base', |
| 504 '../base/base.gyp:base_i18n', | 515 '../base/base.gyp:base_i18n', |
| 505 '../media/media.gyp:media', | 516 '../media/media.gyp:media', |
| 506 ], | 517 ], |
| 518 'include_dirs': [ |
| 519 '../skia/config', |
| 520 ], |
| 507 'sources': [ | 521 'sources': [ |
| 508 'host/capturer_fake_ascii.cc', | 522 'host/capturer_fake_ascii.cc', |
| 509 'host/capturer_fake_ascii.h', | 523 'host/capturer_fake_ascii.h', |
| 510 'host/continue_window.h', | 524 'host/continue_window.h', |
| 511 'host/continue_window.cc', | 525 'host/continue_window.cc', |
| 512 'host/continue_window_mac.mm', | 526 'host/continue_window_mac.mm', |
| 513 'host/continue_window_linux.cc', | 527 'host/continue_window_linux.cc', |
| 514 'host/continue_window_win.cc', | 528 'host/continue_window_win.cc', |
| 515 'host/disconnect_window_linux.cc', | 529 'host/disconnect_window_linux.cc', |
| 516 'host/disconnect_window_mac.h', | 530 'host/disconnect_window_mac.h', |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 'protocol/video_reader.h', | 678 'protocol/video_reader.h', |
| 665 'protocol/video_stub.h', | 679 'protocol/video_stub.h', |
| 666 'protocol/video_writer.cc', | 680 'protocol/video_writer.cc', |
| 667 'protocol/video_writer.h', | 681 'protocol/video_writer.h', |
| 668 ], | 682 ], |
| 669 }, # end of target 'remoting_protocol' | 683 }, # end of target 'remoting_protocol' |
| 670 | 684 |
| 671 { | 685 { |
| 672 'target_name': 'differ_block', | 686 'target_name': 'differ_block', |
| 673 'type': 'static_library', | 687 'type': 'static_library', |
| 674 'include_dirs': [ | |
| 675 '..', | |
| 676 ], | |
| 677 'dependencies': [ | 688 'dependencies': [ |
| 678 '../media/media.gyp:cpu_features', | 689 '../media/media.gyp:cpu_features', |
| 679 ], | 690 ], |
| 680 'conditions': [ | 691 'conditions': [ |
| 681 [ 'target_arch == "ia32" or target_arch == "x64"', { | 692 [ 'target_arch == "ia32" or target_arch == "x64"', { |
| 682 'dependencies': [ | 693 'dependencies': [ |
| 683 'differ_block_sse2', | 694 'differ_block_sse2', |
| 684 ], | 695 ], |
| 685 }], | 696 }], |
| 686 ], | 697 ], |
| 687 'sources': [ | 698 'sources': [ |
| 688 'host/differ_block.cc', | 699 'host/differ_block.cc', |
| 689 'host/differ_block.h', | 700 'host/differ_block.h', |
| 690 ], | 701 ], |
| 691 }, # end of target differ_block | 702 }, # end of target differ_block |
| 692 | 703 |
| 693 { | 704 { |
| 694 'target_name': 'differ_block_sse2', | 705 'target_name': 'differ_block_sse2', |
| 695 'type': 'static_library', | 706 'type': 'static_library', |
| 696 'include_dirs': [ | |
| 697 '..', | |
| 698 ], | |
| 699 'conditions': [ | 707 'conditions': [ |
| 700 [ 'os_posix == 1 and OS != "mac"', { | 708 [ 'os_posix == 1 and OS != "mac"', { |
| 701 'cflags': [ | 709 'cflags': [ |
| 702 '-msse2', | 710 '-msse2', |
| 703 ], | 711 ], |
| 704 }], | 712 }], |
| 705 ], | 713 ], |
| 706 'sources': [ | 714 'sources': [ |
| 707 'host/differ_block_sse2.cc', | 715 'host/differ_block_sse2.cc', |
| 708 ], | 716 ], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 735 '../base/base.gyp:base', | 743 '../base/base.gyp:base', |
| 736 '../base/base.gyp:base_i18n', | 744 '../base/base.gyp:base_i18n', |
| 737 '../base/base.gyp:test_support_base', | 745 '../base/base.gyp:test_support_base', |
| 738 '../media/media.gyp:media', | 746 '../media/media.gyp:media', |
| 739 '../ui/ui.gyp:ui', | 747 '../ui/ui.gyp:ui', |
| 740 '../testing/gmock.gyp:gmock', | 748 '../testing/gmock.gyp:gmock', |
| 741 '../testing/gtest.gyp:gtest', | 749 '../testing/gtest.gyp:gtest', |
| 742 ], | 750 ], |
| 743 'include_dirs': [ | 751 'include_dirs': [ |
| 744 '../testing/gmock/include', | 752 '../testing/gmock/include', |
| 753 '../skia/config', |
| 745 ], | 754 ], |
| 746 'sources': [ | 755 'sources': [ |
| 747 'base/auth_token_util_unittest.cc', | 756 'base/auth_token_util_unittest.cc', |
| 748 'base/codec_test.cc', | 757 'base/codec_test.cc', |
| 749 'base/codec_test.h', | 758 'base/codec_test.h', |
| 750 'base/compound_buffer_unittest.cc', | 759 'base/compound_buffer_unittest.cc', |
| 751 'base/compressor_zlib_unittest.cc', | 760 'base/compressor_zlib_unittest.cc', |
| 752 'base/decoder_vp8_unittest.cc', | 761 'base/decoder_vp8_unittest.cc', |
| 753 'base/decompressor_zlib_unittest.cc', | 762 'base/decompressor_zlib_unittest.cc', |
| 754 'base/encode_decode_unittest.cc', | 763 'base/encode_decode_unittest.cc', |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 ['target_arch=="arm"', { | 824 ['target_arch=="arm"', { |
| 816 'sources!': [ | 825 'sources!': [ |
| 817 'base/decoder_vp8_unittest.cc', | 826 'base/decoder_vp8_unittest.cc', |
| 818 'base/encoder_vp8_unittest.cc', | 827 'base/encoder_vp8_unittest.cc', |
| 819 ], | 828 ], |
| 820 }], | 829 }], |
| 821 ], # end of 'conditions' | 830 ], # end of 'conditions' |
| 822 }, # end of target 'remoting_unittests' | 831 }, # end of target 'remoting_unittests' |
| 823 ], # end of targets | 832 ], # end of targets |
| 824 } | 833 } |
| OLD | NEW |