OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'includes': [ 'cast_testing_tools.gypi' ], | 6 'includes': [ 'cast_testing_tools.gypi' ], |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 # GN version: //media/cast:test_support | 9 # GN version: //media/cast:test_support |
10 'target_name': 'cast_test_utility', | 10 'target_name': 'cast_test_utility', |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 'test/end2end_unittest.cc', | 135 'test/end2end_unittest.cc', |
136 'test/utility/audio_utility_unittest.cc', | 136 'test/utility/audio_utility_unittest.cc', |
137 'test/utility/barcode_unittest.cc', | 137 'test/utility/barcode_unittest.cc', |
138 ], # sources | 138 ], # sources |
139 'conditions': [ | 139 'conditions': [ |
140 ['OS=="android"', { | 140 ['OS=="android"', { |
141 'dependencies': [ | 141 'dependencies': [ |
142 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 142 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
143 ], | 143 ], |
144 }], | 144 }], |
| 145 ['OS=="ios" or OS=="mac"', { |
| 146 'sources': [ |
| 147 'sender/h264_vt_encoder_unittest.cc', |
| 148 ], |
| 149 |
| 150 'dependencies': [ |
| 151 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 152 ], |
| 153 }] # OS=="ios" or OS=="mac" |
145 ], # conditions | 154 ], # conditions |
146 }, | 155 }, |
147 ], # targets | 156 ], # targets |
148 'conditions': [ | 157 'conditions': [ |
149 ['OS=="ios" or OS=="mac"', { | |
150 'targets': [ | |
151 { | |
152 # GN version: //media/cast:cast_h264_vt_encoder_unittests | |
153 # TODO(miu): This can be rolled into cast_unittests now that FFMPEG | |
154 # dependency issues are resolved for iOS; but there are bot/isolates | |
155 # to update too. | |
156 'target_name': 'cast_h264_vt_encoder_unittests', | |
157 'type': '<(gtest_target_type)', | |
158 'include_dirs': [ | |
159 '<(DEPTH)/', | |
160 ], | |
161 'dependencies': [ | |
162 'cast_common', | |
163 'cast_sender', | |
164 'cast_test_utility', | |
165 '<(DEPTH)/testing/gmock.gyp:gmock', | |
166 '<(DEPTH)/testing/gtest.gyp:gtest', | |
167 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | |
168 ], | |
169 'sources': [ | |
170 'sender/h264_vt_encoder_unittest.cc', | |
171 ], | |
172 }], # targets | |
173 }], # OS=="ios" or OS=="mac" | |
174 ['OS=="android"', { | 158 ['OS=="android"', { |
175 'targets': [ | 159 'targets': [ |
176 { | 160 { |
177 'target_name': 'cast_unittests_apk', | 161 'target_name': 'cast_unittests_apk', |
178 'type': 'none', | 162 'type': 'none', |
179 'dependencies': [ | 163 'dependencies': [ |
180 'cast_unittests', | 164 'cast_unittests', |
181 ], | 165 ], |
182 'variables': { | 166 'variables': { |
183 'test_suite_name': 'cast_unittests', | 167 'test_suite_name': 'cast_unittests', |
(...skipping 24 matching lines...) Expand all Loading... |
208 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck'
, | 192 '<(DEPTH)/tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck'
, |
209 ], | 193 ], |
210 } | 194 } |
211 ], | 195 ], |
212 ], | 196 ], |
213 }, | 197 }, |
214 ], | 198 ], |
215 }], # test_isolation_mode != "noop" | 199 }], # test_isolation_mode != "noop" |
216 ], # conditions | 200 ], # conditions |
217 } | 201 } |
OLD | NEW |