diff options
Diffstat (limited to 'media/cast/cast.gyp')
-rw-r--r-- | media/cast/cast.gyp | 71 |
1 files changed, 68 insertions, 3 deletions
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp index 511ac29f76..1b27ee926e 100644 --- a/media/cast/cast.gyp +++ b/media/cast/cast.gyp @@ -14,11 +14,22 @@ 'include_dirs': [ '<(DEPTH)/', ], + 'dependencies': [ + '<(DEPTH)/base/base.gyp:base', + ], 'sources': [ 'cast_config.cc', 'cast_config.h', 'cast_environment.cc', 'cast_environment.h', + 'logging/logging_defines.cc', + 'logging/logging_defines.h', + 'logging/logging_impl.cc', + 'logging/logging_impl.h', + 'logging/logging_raw.cc', + 'logging/logging_raw.h', + 'logging/logging_stats.cc', + 'logging/logging_stats.h', ], # source }, ], # targets, @@ -32,8 +43,10 @@ 'cast_config', 'cast_receiver.gyp:cast_receiver', 'cast_sender.gyp:cast_sender', - 'logging/logging.gyp:cast_logging', + 'test/utility/utility.gyp:cast_test_utility', '<(DEPTH)/base/base.gyp:run_all_unittests', + '<(DEPTH)/base/base.gyp:test_support_base', + '<(DEPTH)/crypto/crypto.gyp:crypto', '<(DEPTH)/net/net.gyp:net', '<(DEPTH)/testing/gmock.gyp:gmock', '<(DEPTH)/testing/gtest.gyp:gtest', @@ -71,10 +84,10 @@ 'rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc', 'rtp_sender/rtp_packetizer/test/rtp_header_parser.cc', 'rtp_sender/rtp_packetizer/test/rtp_header_parser.h', + 'test/crypto_utility.cc', + 'test/crypto_utility.h', 'test/encode_decode_test.cc', 'test/end2end_unittest.cc', - 'test/fake_task_runner.cc', - 'test/video_utility.cc', 'video_receiver/video_decoder_unittest.cc', 'video_receiver/video_receiver_unittest.cc', 'video_sender/mock_video_encoder_controller.cc', @@ -87,6 +100,58 @@ 'video_sender/video_sender_unittest.cc', ], # source }, + { + 'target_name': 'cast_sender_app', + 'type': 'executable', + 'include_dirs': [ + '<(DEPTH)/', + ], + 'dependencies': [ + '<(DEPTH)/ui/gfx/gfx.gyp:gfx', + '<(DEPTH)/net/net.gyp:net_test_support', + 'cast_config', + '<(DEPTH)/media/cast/cast_sender.gyp:*', + '<(DEPTH)/testing/gtest.gyp:gtest', + '<(DEPTH)/third_party/opus/opus.gyp:opus', + '<(DEPTH)/media/cast/test/transport/transport.gyp:cast_transport', + '<(DEPTH)/media/cast/test/utility/utility.gyp:cast_test_utility', + ], + 'sources': [ + '<(DEPTH)/media/cast/test/sender.cc', + ], + }, + { + 'target_name': 'cast_receiver_app', + 'type': 'executable', + 'include_dirs': [ + '<(DEPTH)/', + ], + 'dependencies': [ + '<(DEPTH)/ui/gfx/gfx.gyp:gfx', + '<(DEPTH)/net/net.gyp:net_test_support', + 'cast_config', + '<(DEPTH)/media/cast/cast_receiver.gyp:*', + '<(DEPTH)/testing/gtest.gyp:gtest', + '<(DEPTH)/media/cast/test/transport/transport.gyp:cast_transport', + '<(DEPTH)/media/cast/test/utility/utility.gyp:cast_test_utility', + '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', + ], + 'sources': [ + '<(DEPTH)/media/cast/test/receiver.cc', + ], + 'conditions': [ + ['OS == "linux"', { + 'sources': [ + '<(DEPTH)/media/cast/test/linux_output_window.cc', + '<(DEPTH)/media/cast/test/linux_output_window.h', + ], + 'libraries': [ + '-lXext', + '-lX11', + ], + }], + ], + }, ], # targets }], # include_tests ], |