Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: media/formats/BUILD.gn

Issue 2888523002: Created new target unit_tests in //media/formats. (Closed)
Patch Set: Added unittest component visibility Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 import("//media/media_options.gni") 5 import("//media/media_options.gni")
6 6
7 source_set("formats") { 7 source_set("formats") {
8 visibility = [ "//media/*" ] 8 visibility = [ "//media/*" ]
9 9
10 sources = [ 10 sources = [
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 sources += [ 139 sources += [
140 "mp2t/ts_section_cat.cc", 140 "mp2t/ts_section_cat.cc",
141 "mp2t/ts_section_cat.h", 141 "mp2t/ts_section_cat.h",
142 "mp2t/ts_section_cets_ecm.cc", 142 "mp2t/ts_section_cets_ecm.cc",
143 "mp2t/ts_section_cets_ecm.h", 143 "mp2t/ts_section_cets_ecm.h",
144 "mp2t/ts_section_cets_pssh.cc", 144 "mp2t/ts_section_cets_pssh.cc",
145 "mp2t/ts_section_cets_pssh.h", 145 "mp2t/ts_section_cets_pssh.h",
146 ] 146 ]
147 } 147 }
148 } 148 }
149
150 source_set("unit_tests") {
151 testonly = true
152
153 visibility = [ "//media/*" ]
154
155 sources = [
156 "ac3/ac3_util_unittest.cc",
157 "common/offset_byte_queue_unittest.cc",
158 "webm/cluster_builder.cc",
159 "webm/cluster_builder.h",
160 "webm/opus_packet_builder.cc",
161 "webm/opus_packet_builder.h",
162 "webm/tracks_builder.cc",
163 "webm/tracks_builder.h",
164 "webm/webm_cluster_parser_unittest.cc",
165 "webm/webm_content_encodings_client_unittest.cc",
166 "webm/webm_crypto_helpers_unittest.cc",
167 "webm/webm_parser_unittest.cc",
168 "webm/webm_stream_parser_unittest.cc",
169 "webm/webm_tracks_parser_unittest.cc",
170 "webm/webm_webvtt_parser_unittest.cc",
171 ]
172
173 deps = [
174 "//skia",
175 "//testing/gmock",
176 ]
177
178 # TODO(wolenetz): Fix size_t to int truncation in win64.
179 # See http://crbug.com/171009
180 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
181
182 if (proprietary_codecs) {
183 sources += [
184 "common/stream_parser_test_base.cc",
185 "common/stream_parser_test_base.h",
186 "mp4/aac_unittest.cc",
187 "mp4/avc_unittest.cc",
188 "mp4/box_reader_unittest.cc",
189 "mp4/es_descriptor_unittest.cc",
190 "mp4/mp4_stream_parser_unittest.cc",
191 "mp4/sample_to_group_iterator_unittest.cc",
192 "mp4/track_run_iterator_unittest.cc",
193 "mpeg/adts_stream_parser_unittest.cc",
194 "mpeg/mpeg1_audio_stream_parser_unittest.cc",
195 ]
196 }
197
198 if (proprietary_codecs && enable_mse_mpeg2ts_stream_parser) {
199 sources += [
200 "mp2t/es_adapter_video_unittest.cc",
201 "mp2t/es_parser_adts_unittest.cc",
202 "mp2t/es_parser_h264_unittest.cc",
203 "mp2t/es_parser_mpeg1audio_unittest.cc",
204 "mp2t/es_parser_test_base.cc",
205 "mp2t/es_parser_test_base.h",
206 "mp2t/mp2t_stream_parser_unittest.cc",
207 "mp2t/timestamp_unroller_unittest.cc",
208 ]
209 }
210
211 if (proprietary_codecs && enable_dolby_vision_demuxing) {
212 sources += [ "mp4/dolby_vision_unittest.cc" ]
213 }
214 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698