Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 | |
|
a.suchit2
2017/05/24 10:11:42
Should it have visibility ?
visibility = [ "//med
DaleCurtis
2017/05/24 18:04:27
Yes I think so; does that fail right now?
a.suchit2
2017/05/24 23:47:47
It would not fail after adding visibility Because
DaleCurtis
2017/05/25 00:29:45
Okay, lets add it then.
a.suchit2
2017/05/25 09:50:48
Done.
| |
| 152 sources = [ | |
| 153 "ac3/ac3_util_unittest.cc", | |
| 154 "common/offset_byte_queue_unittest.cc", | |
| 155 "webm/cluster_builder.cc", | |
| 156 "webm/cluster_builder.h", | |
| 157 "webm/opus_packet_builder.cc", | |
| 158 "webm/opus_packet_builder.h", | |
| 159 "webm/tracks_builder.cc", | |
| 160 "webm/tracks_builder.h", | |
| 161 "webm/webm_cluster_parser_unittest.cc", | |
| 162 "webm/webm_content_encodings_client_unittest.cc", | |
| 163 "webm/webm_crypto_helpers_unittest.cc", | |
| 164 "webm/webm_parser_unittest.cc", | |
| 165 "webm/webm_stream_parser_unittest.cc", | |
| 166 "webm/webm_tracks_parser_unittest.cc", | |
| 167 "webm/webm_webvtt_parser_unittest.cc", | |
| 168 ] | |
| 169 | |
| 170 deps = [ | |
| 171 "//skia", | |
| 172 "//testing/gmock", | |
| 173 ] | |
| 174 | |
| 175 # TODO(wolenetz): Fix size_t to int truncation in win64. | |
| 176 # See http://crbug.com/171009 | |
| 177 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 178 | |
| 179 if (proprietary_codecs) { | |
| 180 sources += [ | |
| 181 "common/stream_parser_test_base.cc", | |
| 182 "common/stream_parser_test_base.h", | |
| 183 "mp4/aac_unittest.cc", | |
| 184 "mp4/avc_unittest.cc", | |
| 185 "mp4/box_reader_unittest.cc", | |
| 186 "mp4/es_descriptor_unittest.cc", | |
| 187 "mp4/mp4_stream_parser_unittest.cc", | |
| 188 "mp4/sample_to_group_iterator_unittest.cc", | |
| 189 "mp4/track_run_iterator_unittest.cc", | |
| 190 "mpeg/adts_stream_parser_unittest.cc", | |
| 191 "mpeg/mpeg1_audio_stream_parser_unittest.cc", | |
| 192 ] | |
| 193 } | |
| 194 | |
| 195 if (proprietary_codecs && enable_mse_mpeg2ts_stream_parser) { | |
| 196 sources += [ | |
| 197 "mp2t/es_adapter_video_unittest.cc", | |
| 198 "mp2t/es_parser_adts_unittest.cc", | |
| 199 "mp2t/es_parser_h264_unittest.cc", | |
| 200 "mp2t/es_parser_mpeg1audio_unittest.cc", | |
| 201 "mp2t/es_parser_test_base.cc", | |
| 202 "mp2t/es_parser_test_base.h", | |
| 203 "mp2t/mp2t_stream_parser_unittest.cc", | |
| 204 "mp2t/timestamp_unroller_unittest.cc", | |
| 205 ] | |
| 206 } | |
| 207 | |
| 208 if (proprietary_codecs && enable_dolby_vision_demuxing) { | |
| 209 sources += [ "mp4/dolby_vision_unittest.cc" ] | |
| 210 } | |
| 211 } | |
| OLD | NEW |