| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'cast_receiver_app', |
| 9 'type': 'executable', |
| 10 'include_dirs': [ |
| 11 '<(DEPTH)/', |
| 12 ], |
| 13 'dependencies': [ |
| 14 'cast_base', |
| 15 'cast_receiver', |
| 16 'cast_test_utility', |
| 17 'cast_transport', |
| 18 '<(DEPTH)/net/net.gyp:net_test_support', |
| 19 '<(DEPTH)/media/media.gyp:media', |
| 20 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 21 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 22 ], |
| 23 'sources': [ |
| 24 '<(DEPTH)/media/cast/test/receiver.cc', |
| 25 ], |
| 26 'conditions': [ |
| 27 ['OS == "linux" and use_x11==1', { |
| 28 'dependencies': [ |
| 29 '<(DEPTH)/build/linux/system.gyp:x11', |
| 30 '<(DEPTH)/build/linux/system.gyp:xext', |
| 31 ], |
| 32 'sources': [ |
| 33 '<(DEPTH)/media/cast/test/linux_output_window.cc', |
| 34 '<(DEPTH)/media/cast/test/linux_output_window.h', |
| 35 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 36 ], |
| 37 }], |
| 38 ], |
| 39 }, |
| 40 { |
| 41 'target_name': 'cast_sender_app', |
| 42 'type': 'executable', |
| 43 'include_dirs': [ |
| 44 '<(DEPTH)/', |
| 45 ], |
| 46 'dependencies': [ |
| 47 'cast_base', |
| 48 'cast_sender', |
| 49 'cast_test_utility', |
| 50 'cast_transport', |
| 51 '<(DEPTH)/net/net.gyp:net_test_support', |
| 52 '<(DEPTH)/media/media.gyp:media', |
| 53 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 54 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 55 '<(DEPTH)/third_party/opus/opus.gyp:opus', |
| 56 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 57 ], |
| 58 'sources': [ |
| 59 '<(DEPTH)/media/cast/test/sender.cc', |
| 60 ], |
| 61 }, |
| 62 { |
| 63 'target_name': 'cast_test_utility', |
| 64 'type': 'static_library', |
| 65 'include_dirs': [ |
| 66 '<(DEPTH)/', |
| 67 ], |
| 68 'dependencies': [ |
| 69 'cast_receiver', |
| 70 'cast_transport', |
| 71 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 72 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 73 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 74 ], |
| 75 'sources': [ |
| 76 'test/fake_single_thread_task_runner.cc', |
| 77 'test/fake_single_thread_task_runner.h', |
| 78 'test/utility/audio_utility.cc', |
| 79 'test/utility/audio_utility.h', |
| 80 'test/utility/barcode.cc', |
| 81 'test/utility/barcode.h', |
| 82 'test/utility/default_config.cc', |
| 83 'test/utility/default_config.h', |
| 84 'test/utility/in_process_receiver.cc', |
| 85 'test/utility/in_process_receiver.h', |
| 86 'test/utility/input_builder.cc', |
| 87 'test/utility/input_builder.h', |
| 88 'test/utility/standalone_cast_environment.cc', |
| 89 'test/utility/standalone_cast_environment.h', |
| 90 'test/utility/video_utility.cc', |
| 91 'test/utility/video_utility.h', |
| 92 'test/utility/udp_proxy.cc', |
| 93 'test/utility/udp_proxy.h', |
| 94 ], # source |
| 95 }, |
| 96 { |
| 97 'target_name': 'cast_unittests', |
| 98 'type': '<(gtest_target_type)', |
| 99 'include_dirs': [ |
| 100 '<(DEPTH)/', |
| 101 # TODO(miu): Remove WebRTC dependency (RtpHeader), and then these two deps: |
| 102 '<(DEPTH)/third_party/', |
| 103 '<(DEPTH)/third_party/webrtc/', |
| 104 ], |
| 105 'dependencies': [ |
| 106 'cast_base', |
| 107 'cast_receiver', |
| 108 'cast_rtcp', |
| 109 'cast_sender', |
| 110 'cast_test_utility', |
| 111 'cast_transport', |
| 112 '<(DEPTH)/base/base.gyp:test_support_base', |
| 113 '<(DEPTH)/net/net.gyp:net', |
| 114 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 115 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 116 ], |
| 117 'sources': [ |
| 118 '<(DEPTH)/media/base/run_all_unittests.cc', |
| 119 'audio_receiver/audio_decoder_unittest.cc', |
| 120 'audio_receiver/audio_receiver_unittest.cc', |
| 121 'audio_sender/audio_encoder_unittest.cc', |
| 122 'audio_sender/audio_sender_unittest.cc', |
| 123 'congestion_control/congestion_control_unittest.cc', |
| 124 'framer/cast_message_builder_unittest.cc', |
| 125 'framer/frame_buffer_unittest.cc', |
| 126 'framer/framer_unittest.cc', |
| 127 'logging/encoding_event_subscriber_unittest.cc', |
| 128 'logging/serialize_deserialize_test.cc', |
| 129 'logging/logging_impl_unittest.cc', |
| 130 'logging/logging_raw_unittest.cc', |
| 131 'logging/simple_event_subscriber_unittest.cc', |
| 132 'logging/stats_event_subscriber_unittest.cc', |
| 133 'rtcp/mock_rtcp_receiver_feedback.cc', |
| 134 'rtcp/mock_rtcp_receiver_feedback.h', |
| 135 'rtcp/mock_rtcp_sender_feedback.cc', |
| 136 'rtcp/mock_rtcp_sender_feedback.h', |
| 137 'rtcp/rtcp_receiver_unittest.cc', |
| 138 'rtcp/rtcp_sender_unittest.cc', |
| 139 'rtcp/rtcp_unittest.cc', |
| 140 'rtcp/receiver_rtcp_event_subscriber_unittest.cc', |
| 141 'rtcp/sender_rtcp_event_subscriber_unittest.cc', |
| 142 # TODO(miu): The following two are test utility modules. Rename/move the files. |
| 143 'rtcp/test_rtcp_packet_builder.cc', |
| 144 'rtcp/test_rtcp_packet_builder.h', |
| 145 'rtp_receiver/rtp_receiver_defines.h', |
| 146 'rtp_receiver/mock_rtp_payload_feedback.cc', |
| 147 'rtp_receiver/mock_rtp_payload_feedback.h', |
| 148 'rtp_receiver/receiver_stats_unittest.cc', |
| 149 'rtp_receiver/rtp_parser/test/rtp_packet_builder.cc', |
| 150 'rtp_receiver/rtp_parser/rtp_parser_unittest.cc', |
| 151 'test/end2end_unittest.cc', |
| 152 'test/fake_single_thread_task_runner.cc', |
| 153 'test/fake_single_thread_task_runner.h', |
| 154 'test/fake_video_encode_accelerator.cc', |
| 155 'test/fake_video_encode_accelerator.h', |
| 156 'test/utility/audio_utility_unittest.cc', |
| 157 'test/utility/barcode_unittest.cc', |
| 158 'transport/cast_transport_sender_impl_unittest.cc', |
| 159 'transport/pacing/mock_paced_packet_sender.cc', |
| 160 'transport/pacing/mock_paced_packet_sender.h', |
| 161 'transport/pacing/paced_sender_unittest.cc', |
| 162 'transport/rtp_sender/packet_storage/packet_storage_unittest.cc', |
| 163 'transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc', |
| 164 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.cc', |
| 165 'transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.h', |
| 166 'transport/transport/udp_transport_unittest.cc', |
| 167 'video_receiver/video_decoder_unittest.cc', |
| 168 'video_receiver/video_receiver_unittest.cc', |
| 169 'video_sender/external_video_encoder_unittest.cc', |
| 170 'video_sender/video_encoder_impl_unittest.cc', |
| 171 'video_sender/video_sender_unittest.cc', |
| 172 ], # source |
| 173 }, |
| 174 { |
| 175 'target_name': 'generate_barcode_video', |
| 176 'type': 'executable', |
| 177 'include_dirs': [ |
| 178 '<(DEPTH)/', |
| 179 ], |
| 180 'dependencies': [ |
| 181 'cast_test_utility', |
| 182 '<(DEPTH)/media/media.gyp:media', |
| 183 ], |
| 184 'sources': [ |
| 185 'test/utility/generate_barcode_video.cc', |
| 186 ], |
| 187 }, |
| 188 { |
| 189 'target_name': 'generate_timecode_audio', |
| 190 'type': 'executable', |
| 191 'include_dirs': [ |
| 192 '<(DEPTH)/', |
| 193 ], |
| 194 'dependencies': [ |
| 195 'cast_base', |
| 196 'cast_test_utility', |
| 197 'cast_transport', |
| 198 '<(DEPTH)/media/media.gyp:media', |
| 199 ], |
| 200 'sources': [ |
| 201 'test/utility/generate_timecode_audio.cc', |
| 202 ], |
| 203 }, |
| 204 { |
| 205 'target_name': 'udp_proxy', |
| 206 'type': 'executable', |
| 207 'include_dirs': [ |
| 208 '<(DEPTH)/', |
| 209 ], |
| 210 'dependencies': [ |
| 211 'cast_test_utility', |
| 212 '<(DEPTH)/media/media.gyp:media', |
| 213 ], |
| 214 'sources': [ |
| 215 'test/utility/udp_proxy_main.cc', |
| 216 ], |
| 217 }, |
| 218 ], |
| 219 } |
| OLD | NEW |