| 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 ], | |
| 173 'sources': [ | 170 'sources': [ |
| 174 'host/plugin/host_plugin.cc', | 171 'host/plugin/host_plugin.cc', |
| 175 'host/plugin/host_plugin.def', | 172 'host/plugin/host_plugin.def', |
| 176 'host/plugin/host_plugin.rc', | 173 'host/plugin/host_plugin.rc', |
| 177 'host/plugin/host_plugin_resource.h', | 174 'host/plugin/host_plugin_resource.h', |
| 178 'host/plugin/host_plugin_utils.cc', | 175 'host/plugin/host_plugin_utils.cc', |
| 179 'host/plugin/host_plugin_utils.h', | 176 'host/plugin/host_plugin_utils.h', |
| 180 'host/plugin/host_script_object.cc', | 177 'host/plugin/host_script_object.cc', |
| 181 'host/plugin/host_script_object.h', | 178 'host/plugin/host_script_object.h', |
| 182 ], | 179 ], |
| 183 'conditions': [ | 180 'conditions': [ |
| 184 ['OS=="win"', { | |
| 185 'include_dirs': [ | |
| 186 '../third_party/skia/include/config', | |
| 187 ], | |
| 188 }], | |
| 189 ['OS=="mac"', { | 181 ['OS=="mac"', { |
| 190 'mac_bundle': 1, | 182 'mac_bundle': 1, |
| 191 'xcode_settings': { | 183 'xcode_settings': { |
| 192 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 184 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 193 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 185 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
| 194 'INFOPLIST_PREPROCESS': 'YES', | 186 'INFOPLIST_PREPROCESS': 'YES', |
| 195 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', | 187 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', |
| 196 'WRAPPER_EXTENSION': '<(plugin_extension)', | 188 'WRAPPER_EXTENSION': '<(plugin_extension)', |
| 197 }, | 189 }, |
| 198 # TODO(mark): Come up with a fancier way to do this. It should | 190 # TODO(mark): Come up with a fancier way to do this. It should |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 285 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 294 '../third_party/libvpx/libvpx.gyp:libvpx_include', | 286 '../third_party/libvpx/libvpx.gyp:libvpx_include', |
| 295 '../third_party/zlib/zlib.gyp:zlib', | 287 '../third_party/zlib/zlib.gyp:zlib', |
| 296 '../media/media.gyp:yuv_convert', | 288 '../media/media.gyp:yuv_convert', |
| 297 'remoting_jingle_glue', | 289 'remoting_jingle_glue', |
| 298 'proto/chromotocol.gyp:chromotocol_proto_lib', | 290 'proto/chromotocol.gyp:chromotocol_proto_lib', |
| 299 'proto/trace.gyp:trace_proto_lib', | 291 'proto/trace.gyp:trace_proto_lib', |
| 300 # TODO(hclam): Enable VP8 in the build. | 292 # TODO(hclam): Enable VP8 in the build. |
| 301 #'third_party/on2/on2.gyp:vp8', | 293 #'third_party/on2/on2.gyp:vp8', |
| 302 ], | 294 ], |
| 303 'include_dirs': [ | |
| 304 '../skia/config', | |
| 305 ], | |
| 306 'export_dependent_settings': [ | 295 'export_dependent_settings': [ |
| 307 '../base/base.gyp:base', | 296 '../base/base.gyp:base', |
| 308 '../net/net.gyp:net', | 297 '../net/net.gyp:net', |
| 309 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 298 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 310 'proto/chromotocol.gyp:chromotocol_proto_lib', | 299 'proto/chromotocol.gyp:chromotocol_proto_lib', |
| 311 ], | 300 ], |
| 312 # This target needs a hard dependency because dependent targets | 301 # This target needs a hard dependency because dependent targets |
| 313 # depend on chromotocol_proto_lib for headers. | 302 # depend on chromotocol_proto_lib for headers. |
| 314 'hard_dependency': 1, | 303 'hard_dependency': 1, |
| 315 'sources': [ | 304 'sources': [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 342 'base/encoder_row_based.cc', | 331 'base/encoder_row_based.cc', |
| 343 'base/encoder_row_based.h', | 332 'base/encoder_row_based.h', |
| 344 'base/rate_counter.cc', | 333 'base/rate_counter.cc', |
| 345 'base/rate_counter.h', | 334 'base/rate_counter.h', |
| 346 'base/running_average.cc', | 335 'base/running_average.cc', |
| 347 'base/running_average.h', | 336 'base/running_average.h', |
| 348 'base/task_thread_proxy.cc', | 337 'base/task_thread_proxy.cc', |
| 349 'base/task_thread_proxy.h', | 338 'base/task_thread_proxy.h', |
| 350 'base/tracer.cc', | 339 'base/tracer.cc', |
| 351 'base/tracer.h', | 340 'base/tracer.h', |
| 341 'base/types.h', |
| 352 'base/util.cc', | 342 'base/util.cc', |
| 353 'base/util.h', | 343 'base/util.h', |
| 354 ], | 344 ], |
| 355 'conditions': [ | 345 'conditions': [ |
| 356 ['target_arch=="arm"', { | 346 ['target_arch=="arm"', { |
| 357 'sources!': [ | 347 'sources!': [ |
| 358 'base/decoder_vp8.cc', | 348 'base/decoder_vp8.cc', |
| 359 'base/decoder_vp8.h', | 349 'base/decoder_vp8.h', |
| 360 'base/encoder_vp8.cc', | 350 'base/encoder_vp8.cc', |
| 361 'base/encoder_vp8.h', | 351 'base/encoder_vp8.h', |
| 362 ], | 352 ], |
| 363 }], | 353 }], |
| 364 ['OS=="win"', { | |
| 365 'include_dirs': [ | |
| 366 '../third_party/skia/include/config', | |
| 367 ], | |
| 368 }], | |
| 369 ], | 354 ], |
| 370 }, # end of target 'remoting_base' | 355 }, # end of target 'remoting_base' |
| 371 | 356 |
| 372 { | 357 { |
| 373 'target_name': 'remoting_host', | 358 'target_name': 'remoting_host', |
| 374 'type': 'static_library', | 359 'type': 'static_library', |
| 375 'dependencies': [ | 360 'dependencies': [ |
| 376 'remoting_base', | 361 'remoting_base', |
| 377 'remoting_jingle_glue', | 362 'remoting_jingle_glue', |
| 378 'remoting_protocol', | 363 'remoting_protocol', |
| 379 'differ_block', | 364 'differ_block', |
| 380 '../crypto/crypto.gyp:crypto', | 365 '../crypto/crypto.gyp:crypto', |
| 381 ], | 366 ], |
| 382 'include_dirs': [ | |
| 383 '../skia/config', | |
| 384 ], | |
| 385 'sources': [ | 367 'sources': [ |
| 386 'host/access_verifier.h', | 368 'host/access_verifier.h', |
| 387 'host/capturer.h', | 369 'host/capturer.h', |
| 388 'host/capturer_helper.cc', | 370 'host/capturer_helper.cc', |
| 389 'host/capturer_helper.h', | 371 'host/capturer_helper.h', |
| 390 'host/capturer_fake.cc', | 372 'host/capturer_fake.cc', |
| 391 'host/capturer_fake.h', | 373 'host/capturer_fake.h', |
| 392 'host/capturer_linux.cc', | 374 'host/capturer_linux.cc', |
| 393 'host/capturer_mac.cc', | 375 'host/capturer_mac.cc', |
| 394 'host/capturer_win.cc', | 376 'host/capturer_win.cc', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 'link_settings': { | 443 'link_settings': { |
| 462 'libraries': [ | 444 'libraries': [ |
| 463 '-lX11', | 445 '-lX11', |
| 464 '-lXdamage', | 446 '-lXdamage', |
| 465 '-lXtst', | 447 '-lXtst', |
| 466 '-lpam', | 448 '-lpam', |
| 467 '-lXext' | 449 '-lXext' |
| 468 ], | 450 ], |
| 469 }, | 451 }, |
| 470 }], | 452 }], |
| 471 ['OS=="win"', { | |
| 472 'include_dirs': [ | |
| 473 '../third_party/skia/include/config', | |
| 474 ], | |
| 475 }], | |
| 476 ['OS=="mac"', { | 453 ['OS=="mac"', { |
| 477 'sources': [ | 454 'sources': [ |
| 478 '../third_party/GTM/AppKit/GTMCarbonEvent.h', | 455 '../third_party/GTM/AppKit/GTMCarbonEvent.h', |
| 479 '../third_party/GTM/AppKit/GTMCarbonEvent.m', | 456 '../third_party/GTM/AppKit/GTMCarbonEvent.m', |
| 480 '../third_party/GTM/DebugUtils/GTMDebugSelectorValidation.h', | 457 '../third_party/GTM/DebugUtils/GTMDebugSelectorValidation.h', |
| 481 '../third_party/GTM/DebugUtils/GTMTypeCasting.h', | 458 '../third_party/GTM/DebugUtils/GTMTypeCasting.h', |
| 482 '../third_party/GTM/Foundation/GTMObjectSingleton.h', | 459 '../third_party/GTM/Foundation/GTMObjectSingleton.h', |
| 483 '../third_party/GTM/GTMDefines.h', | 460 '../third_party/GTM/GTMDefines.h', |
| 484 ], | 461 ], |
| 485 'include_dirs': [ | 462 'include_dirs': [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 498 }, # end of target 'remoting_host' | 475 }, # end of target 'remoting_host' |
| 499 | 476 |
| 500 { | 477 { |
| 501 'target_name': 'remoting_client', | 478 'target_name': 'remoting_client', |
| 502 'type': 'static_library', | 479 'type': 'static_library', |
| 503 'dependencies': [ | 480 'dependencies': [ |
| 504 'remoting_base', | 481 'remoting_base', |
| 505 'remoting_jingle_glue', | 482 'remoting_jingle_glue', |
| 506 'remoting_protocol', | 483 'remoting_protocol', |
| 507 ], | 484 ], |
| 508 'include_dirs': [ | |
| 509 '../skia/config', | |
| 510 ], | |
| 511 'sources': [ | 485 'sources': [ |
| 512 'client/chromoting_client.cc', | 486 'client/chromoting_client.cc', |
| 513 'client/chromoting_client.h', | 487 'client/chromoting_client.h', |
| 514 'client/chromoting_stats.cc', | 488 'client/chromoting_stats.cc', |
| 515 'client/chromoting_stats.h', | 489 'client/chromoting_stats.h', |
| 516 'client/chromoting_view.cc', | 490 'client/chromoting_view.cc', |
| 517 'client/chromoting_view.h', | 491 'client/chromoting_view.h', |
| 518 'client/client_config.cc', | 492 'client/client_config.cc', |
| 519 'client/client_config.h', | 493 'client/client_config.h', |
| 520 'client/client_context.cc', | 494 'client/client_context.cc', |
| 521 'client/client_context.h', | 495 'client/client_context.h', |
| 522 'client/frame_consumer.h', | 496 'client/frame_consumer.h', |
| 523 'client/input_handler.cc', | 497 'client/input_handler.cc', |
| 524 'client/input_handler.h', | 498 'client/input_handler.h', |
| 525 'client/ipc_host_resolver.cc', | 499 'client/ipc_host_resolver.cc', |
| 526 'client/ipc_host_resolver.h', | 500 'client/ipc_host_resolver.h', |
| 527 'client/rectangle_update_decoder.cc', | 501 'client/rectangle_update_decoder.cc', |
| 528 'client/rectangle_update_decoder.h', | 502 'client/rectangle_update_decoder.h', |
| 529 ], | 503 ], |
| 530 'conditions': [ | |
| 531 ['OS=="win"', { | |
| 532 'include_dirs': [ | |
| 533 '../third_party/skia/include/config', | |
| 534 ], | |
| 535 }], | |
| 536 ], | |
| 537 }, # end of target 'remoting_client' | 504 }, # end of target 'remoting_client' |
| 538 | 505 |
| 539 { | 506 { |
| 540 'target_name': 'remoting_simple_host', | 507 'target_name': 'remoting_simple_host', |
| 541 'type': 'executable', | 508 'type': 'executable', |
| 542 'dependencies': [ | 509 'dependencies': [ |
| 543 'remoting_base', | 510 'remoting_base', |
| 544 'remoting_host', | 511 'remoting_host', |
| 545 'remoting_jingle_glue', | 512 'remoting_jingle_glue', |
| 546 '../base/base.gyp:base', | 513 '../base/base.gyp:base', |
| 547 '../base/base.gyp:base_i18n', | 514 '../base/base.gyp:base_i18n', |
| 548 '../media/media.gyp:media', | 515 '../media/media.gyp:media', |
| 549 ], | 516 ], |
| 550 'include_dirs': [ | |
| 551 '../skia/config', | |
| 552 ], | |
| 553 'sources': [ | 517 'sources': [ |
| 554 'host/capturer_fake_ascii.cc', | 518 'host/capturer_fake_ascii.cc', |
| 555 'host/capturer_fake_ascii.h', | 519 'host/capturer_fake_ascii.h', |
| 556 'host/continue_window.h', | 520 'host/continue_window.h', |
| 557 'host/continue_window.cc', | 521 'host/continue_window.cc', |
| 558 'host/continue_window_mac.mm', | 522 'host/continue_window_mac.mm', |
| 559 'host/continue_window_linux.cc', | 523 'host/continue_window_linux.cc', |
| 560 'host/continue_window_win.cc', | 524 'host/continue_window_win.cc', |
| 561 'host/disconnect_window_linux.cc', | 525 'host/disconnect_window_linux.cc', |
| 562 'host/disconnect_window_mac.h', | 526 'host/disconnect_window_mac.h', |
| 563 'host/disconnect_window_mac.mm', | 527 'host/disconnect_window_mac.mm', |
| 564 'host/disconnect_window_win.cc', | 528 'host/disconnect_window_win.cc', |
| 565 'host/simple_host_process.cc', | 529 'host/simple_host_process.cc', |
| 566 '../base/test/mock_chrome_application_mac.mm', | 530 '../base/test/mock_chrome_application_mac.mm', |
| 567 '../base/test/mock_chrome_application_mac.h', | 531 '../base/test/mock_chrome_application_mac.h', |
| 568 ], | 532 ], |
| 569 'conditions': [ | |
| 570 ['OS=="win"', { | |
| 571 'include_dirs': [ | |
| 572 '../third_party/skia/include/config', | |
| 573 ], | |
| 574 }], | |
| 575 ], | |
| 576 }, # end of target 'remoting_simple_host' | 533 }, # end of target 'remoting_simple_host' |
| 577 | 534 |
| 578 { | 535 { |
| 579 'target_name': 'remoting_host_keygen', | 536 'target_name': 'remoting_host_keygen', |
| 580 'type': 'executable', | 537 'type': 'executable', |
| 581 'dependencies': [ | 538 'dependencies': [ |
| 582 'remoting_base', | 539 'remoting_base', |
| 583 '../base/base.gyp:base', | 540 '../base/base.gyp:base', |
| 584 '../base/base.gyp:base_i18n', | 541 '../base/base.gyp:base_i18n', |
| 585 '../crypto/crypto.gyp:crypto', | 542 '../crypto/crypto.gyp:crypto', |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 'protocol/video_reader.h', | 676 'protocol/video_reader.h', |
| 720 'protocol/video_stub.h', | 677 'protocol/video_stub.h', |
| 721 'protocol/video_writer.cc', | 678 'protocol/video_writer.cc', |
| 722 'protocol/video_writer.h', | 679 'protocol/video_writer.h', |
| 723 ], | 680 ], |
| 724 }, # end of target 'remoting_protocol' | 681 }, # end of target 'remoting_protocol' |
| 725 | 682 |
| 726 { | 683 { |
| 727 'target_name': 'differ_block', | 684 'target_name': 'differ_block', |
| 728 'type': 'static_library', | 685 'type': 'static_library', |
| 686 'include_dirs': [ |
| 687 '..', |
| 688 ], |
| 729 'dependencies': [ | 689 'dependencies': [ |
| 730 '../media/media.gyp:cpu_features', | 690 '../media/media.gyp:cpu_features', |
| 731 ], | 691 ], |
| 732 'conditions': [ | 692 'conditions': [ |
| 733 [ 'target_arch == "ia32" or target_arch == "x64"', { | 693 [ 'target_arch == "ia32" or target_arch == "x64"', { |
| 734 'dependencies': [ | 694 'dependencies': [ |
| 735 'differ_block_sse2', | 695 'differ_block_sse2', |
| 736 ], | 696 ], |
| 737 }], | 697 }], |
| 738 ], | 698 ], |
| 739 'sources': [ | 699 'sources': [ |
| 740 'host/differ_block.cc', | 700 'host/differ_block.cc', |
| 741 'host/differ_block.h', | 701 'host/differ_block.h', |
| 742 ], | 702 ], |
| 743 }, # end of target differ_block | 703 }, # end of target differ_block |
| 744 | 704 |
| 745 { | 705 { |
| 746 'target_name': 'differ_block_sse2', | 706 'target_name': 'differ_block_sse2', |
| 747 'type': 'static_library', | 707 'type': 'static_library', |
| 708 'include_dirs': [ |
| 709 '..', |
| 710 ], |
| 748 'conditions': [ | 711 'conditions': [ |
| 749 [ 'os_posix == 1 and OS != "mac"', { | 712 [ 'os_posix == 1 and OS != "mac"', { |
| 750 'cflags': [ | 713 'cflags': [ |
| 751 '-msse2', | 714 '-msse2', |
| 752 ], | 715 ], |
| 753 }], | 716 }], |
| 754 ], | 717 ], |
| 755 'sources': [ | 718 'sources': [ |
| 756 'host/differ_block_sse2.cc', | 719 'host/differ_block_sse2.cc', |
| 757 ], | 720 ], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 784 '../base/base.gyp:base', | 747 '../base/base.gyp:base', |
| 785 '../base/base.gyp:base_i18n', | 748 '../base/base.gyp:base_i18n', |
| 786 '../base/base.gyp:test_support_base', | 749 '../base/base.gyp:test_support_base', |
| 787 '../media/media.gyp:media', | 750 '../media/media.gyp:media', |
| 788 '../ui/ui.gyp:ui', | 751 '../ui/ui.gyp:ui', |
| 789 '../testing/gmock.gyp:gmock', | 752 '../testing/gmock.gyp:gmock', |
| 790 '../testing/gtest.gyp:gtest', | 753 '../testing/gtest.gyp:gtest', |
| 791 ], | 754 ], |
| 792 'include_dirs': [ | 755 'include_dirs': [ |
| 793 '../testing/gmock/include', | 756 '../testing/gmock/include', |
| 794 '../skia/config', | |
| 795 ], | 757 ], |
| 796 'sources': [ | 758 'sources': [ |
| 797 'base/auth_token_util_unittest.cc', | 759 'base/auth_token_util_unittest.cc', |
| 798 'base/codec_test.cc', | 760 'base/codec_test.cc', |
| 799 'base/codec_test.h', | 761 'base/codec_test.h', |
| 800 'base/compound_buffer_unittest.cc', | 762 'base/compound_buffer_unittest.cc', |
| 801 'base/compressor_zlib_unittest.cc', | 763 'base/compressor_zlib_unittest.cc', |
| 802 'base/decoder_vp8_unittest.cc', | 764 'base/decoder_vp8_unittest.cc', |
| 803 'base/decompressor_zlib_unittest.cc', | 765 'base/decompressor_zlib_unittest.cc', |
| 804 'base/encode_decode_unittest.cc', | 766 'base/encode_decode_unittest.cc', |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 }, | 823 }, |
| 862 ], | 824 ], |
| 863 ], | 825 ], |
| 864 }], | 826 }], |
| 865 ['target_arch=="arm"', { | 827 ['target_arch=="arm"', { |
| 866 'sources!': [ | 828 'sources!': [ |
| 867 'base/decoder_vp8_unittest.cc', | 829 'base/decoder_vp8_unittest.cc', |
| 868 'base/encoder_vp8_unittest.cc', | 830 'base/encoder_vp8_unittest.cc', |
| 869 ], | 831 ], |
| 870 }], | 832 }], |
| 871 ['OS=="win"', { | |
| 872 'include_dirs': [ | |
| 873 '../third_party/skia/include/config', | |
| 874 ], | |
| 875 }], | |
| 876 ], # end of 'conditions' | 833 ], # end of 'conditions' |
| 877 }, # end of target 'remoting_unittests' | 834 }, # end of target 'remoting_unittests' |
| 878 ], # end of targets | 835 ], # end of targets |
| 879 } | 836 } |
| OLD | NEW |