| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 'conditions': [ | |
| 7 ['OS=="win" or OS=="mac" or OS=="linux"', { | |
| 8 'targets': [ | |
| 9 { | |
| 10 # This is a target for the collection of cast development tools. They | |
| 11 # are not built/linked into the Chromium browser. | |
| 12 'target_name': 'cast_testing_tools', | |
| 13 'type': 'none', | |
| 14 'dependencies': [ | |
| 15 'cast_receiver_app', | |
| 16 'cast_sender_app', | |
| 17 'cast_simulator', | |
| 18 'udp_proxy', | |
| 19 ], | |
| 20 }, | |
| 21 { | |
| 22 # GN version: //media/cast:cast_benchmarks | |
| 23 'target_name': 'cast_benchmarks', | |
| 24 'type': '<(gtest_target_type)', | |
| 25 'include_dirs': [ | |
| 26 '<(DEPTH)/', | |
| 27 ], | |
| 28 'dependencies': [ | |
| 29 'cast_common', | |
| 30 'cast_net', | |
| 31 'cast_receiver', | |
| 32 'cast_sender', | |
| 33 'cast_test_utility', | |
| 34 '<(DEPTH)/net/net.gyp:net', | |
| 35 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 36 ], | |
| 37 'sources': [ | |
| 38 'test/cast_benchmarks.cc', | |
| 39 ], # source | |
| 40 }, | |
| 41 { | |
| 42 # GN version: //media/cast:cast_receiver_app | |
| 43 'target_name': 'cast_receiver_app', | |
| 44 'type': 'executable', | |
| 45 'include_dirs': [ | |
| 46 '<(DEPTH)/', | |
| 47 ], | |
| 48 'dependencies': [ | |
| 49 'cast_common', | |
| 50 'cast_net', | |
| 51 'cast_receiver', | |
| 52 'cast_test_utility', | |
| 53 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', | |
| 54 ], | |
| 55 'sources': [ | |
| 56 '<(DEPTH)/media/cast/test/receiver.cc', | |
| 57 ], | |
| 58 'conditions': [ | |
| 59 ['OS == "linux" and use_x11==1', { | |
| 60 'dependencies': [ | |
| 61 '<(DEPTH)/build/linux/system.gyp:x11', | |
| 62 '<(DEPTH)/build/linux/system.gyp:xext', | |
| 63 ], | |
| 64 'sources': [ | |
| 65 '<(DEPTH)/media/cast/test/linux_output_window.cc', | |
| 66 '<(DEPTH)/media/cast/test/linux_output_window.h', | |
| 67 ], | |
| 68 }], | |
| 69 ], | |
| 70 }, | |
| 71 { | |
| 72 # GN version: //media/cast:cast_sender_app | |
| 73 'target_name': 'cast_sender_app', | |
| 74 'type': 'executable', | |
| 75 'include_dirs': [ | |
| 76 '<(DEPTH)/', | |
| 77 ], | |
| 78 'dependencies': [ | |
| 79 'cast_common', | |
| 80 'cast_net', | |
| 81 'cast_sender', | |
| 82 'cast_test_utility', | |
| 83 ], | |
| 84 'sources': [ | |
| 85 '<(DEPTH)/media/cast/test/sender.cc', | |
| 86 ], | |
| 87 }, | |
| 88 { | |
| 89 # GN version: //media/cast:cast_simulator | |
| 90 'target_name': 'cast_simulator', | |
| 91 'type': 'executable', | |
| 92 'include_dirs': [ | |
| 93 '<(DEPTH)/', | |
| 94 ], | |
| 95 'dependencies': [ | |
| 96 'cast_common', | |
| 97 'cast_net', | |
| 98 'cast_network_model_proto', | |
| 99 'cast_sender', | |
| 100 'cast_test_utility', | |
| 101 ], | |
| 102 'sources': [ | |
| 103 '<(DEPTH)/media/cast/test/simulator.cc', | |
| 104 ], | |
| 105 }, | |
| 106 { | |
| 107 # GN version: //media/cast:network_model_proto | |
| 108 'target_name': 'cast_network_model_proto', | |
| 109 'type': 'static_library', | |
| 110 'include_dirs': [ | |
| 111 '<(DEPTH)/', | |
| 112 ], | |
| 113 'sources': [ | |
| 114 'test/proto/network_simulation_model.proto', | |
| 115 ], | |
| 116 'variables': { | |
| 117 'proto_in_dir': 'test/proto', | |
| 118 'proto_out_dir': 'media/cast/test/proto', | |
| 119 }, | |
| 120 'includes': ['../../build/protoc.gypi'], | |
| 121 }, | |
| 122 { | |
| 123 # GN version: //media/cast:generate_barcode_video | |
| 124 'target_name': 'generate_barcode_video', | |
| 125 'type': 'executable', | |
| 126 'include_dirs': [ | |
| 127 '<(DEPTH)/', | |
| 128 ], | |
| 129 'dependencies': [ | |
| 130 'cast_test_utility', | |
| 131 '<(DEPTH)/base/base.gyp:base', | |
| 132 '<(DEPTH)/media/media.gyp:media', | |
| 133 ], | |
| 134 'sources': [ | |
| 135 'test/utility/generate_barcode_video.cc', | |
| 136 ], | |
| 137 }, | |
| 138 { | |
| 139 # GN version: //media/cast:generate_timecode_audio | |
| 140 'target_name': 'generate_timecode_audio', | |
| 141 'type': 'executable', | |
| 142 'include_dirs': [ | |
| 143 '<(DEPTH)/', | |
| 144 ], | |
| 145 'dependencies': [ | |
| 146 'cast_common', | |
| 147 'cast_net', | |
| 148 'cast_test_utility', | |
| 149 '<(DEPTH)/base/base.gyp:base', | |
| 150 '<(DEPTH)/media/media.gyp:media', | |
| 151 ], | |
| 152 'sources': [ | |
| 153 'test/utility/generate_timecode_audio.cc', | |
| 154 ], | |
| 155 }, | |
| 156 { | |
| 157 # GN version: //media/cast:udp_proxy | |
| 158 'target_name': 'udp_proxy', | |
| 159 'type': 'executable', | |
| 160 'include_dirs': [ | |
| 161 '<(DEPTH)/', | |
| 162 ], | |
| 163 'dependencies': [ | |
| 164 'cast_test_utility', | |
| 165 '<(DEPTH)/base/base.gyp:base', | |
| 166 ], | |
| 167 'sources': [ | |
| 168 'test/utility/udp_proxy_main.cc', | |
| 169 ], | |
| 170 }, | |
| 171 ], | |
| 172 }, { # not (OS=="win" or OS=="mac" or OS=="linux") | |
| 173 'targets': [ | |
| 174 { | |
| 175 # The testing tools are only built for the desktop platforms. | |
| 176 'target_name': 'cast_testing_tools', | |
| 177 'type': 'none', | |
| 178 }, | |
| 179 ], | |
| 180 }], | |
| 181 ['OS=="linux"', { | |
| 182 'targets': [ | |
| 183 { | |
| 184 # GN version: //media/cast:tap_proxy | |
| 185 'target_name': 'tap_proxy', | |
| 186 'type': 'executable', | |
| 187 'include_dirs': [ | |
| 188 '<(DEPTH)/', | |
| 189 ], | |
| 190 'dependencies': [ | |
| 191 'cast_test_utility', | |
| 192 '<(DEPTH)/base/base.gyp:base', | |
| 193 '<(DEPTH)/media/media.gyp:media', | |
| 194 ], | |
| 195 'sources': [ | |
| 196 'test/utility/tap_proxy.cc', | |
| 197 ], | |
| 198 } | |
| 199 ] | |
| 200 }], | |
| 201 ], # conditions | |
| 202 } | |
| OLD | NEW |