2014-04-07 17:48:25 +00:00
|
|
|
# Copyright 2014 Google Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
{
|
2014-07-02 16:58:40 +00:00
|
|
|
'includes': [
|
|
|
|
'../../../common.gypi',
|
|
|
|
],
|
2014-04-07 17:48:25 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'mp2t',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2014-04-15 23:51:32 +00:00
|
|
|
'adts_header.cc',
|
|
|
|
'adts_header.h',
|
2017-10-23 05:27:27 +00:00
|
|
|
'audio_header.h',
|
2016-04-14 05:40:24 +00:00
|
|
|
'continuity_counter.cc',
|
|
|
|
'continuity_counter.h',
|
2014-04-07 17:48:25 +00:00
|
|
|
'es_parser_adts.cc',
|
|
|
|
'es_parser_adts.h',
|
2014-04-08 00:39:14 +00:00
|
|
|
'es_parser_h264.cc',
|
|
|
|
'es_parser_h264.h',
|
2016-03-31 19:48:16 +00:00
|
|
|
'es_parser_h265.cc',
|
|
|
|
'es_parser_h265.h',
|
|
|
|
'es_parser_h26x.cc',
|
|
|
|
'es_parser_h26x.h',
|
2016-03-16 19:10:12 +00:00
|
|
|
'es_parser.h',
|
2014-04-10 19:57:10 +00:00
|
|
|
'mp2t_media_parser.cc',
|
|
|
|
'mp2t_media_parser.h',
|
2016-03-16 19:10:12 +00:00
|
|
|
'pes_packet.cc',
|
|
|
|
'pes_packet.h',
|
2016-03-21 19:16:58 +00:00
|
|
|
'pes_packet_generator.cc',
|
|
|
|
'pes_packet_generator.h',
|
2016-04-14 05:40:24 +00:00
|
|
|
'program_map_table_writer.cc',
|
|
|
|
'program_map_table_writer.h',
|
2016-03-21 23:33:00 +00:00
|
|
|
'ts_muxer.cc',
|
|
|
|
'ts_muxer.h',
|
2014-04-10 19:57:10 +00:00
|
|
|
'ts_packet.cc',
|
|
|
|
'ts_packet.h',
|
2016-04-14 05:40:24 +00:00
|
|
|
'ts_packet_writer_util.cc',
|
|
|
|
'ts_packet_writer_util.h',
|
2014-04-10 19:57:10 +00:00
|
|
|
'ts_section_pat.cc',
|
|
|
|
'ts_section_pat.h',
|
|
|
|
'ts_section_pes.cc',
|
|
|
|
'ts_section_pes.h',
|
|
|
|
'ts_section_pmt.cc',
|
|
|
|
'ts_section_pmt.h',
|
|
|
|
'ts_section_psi.cc',
|
|
|
|
'ts_section_psi.h',
|
2016-03-21 19:16:58 +00:00
|
|
|
'ts_segmenter.cc',
|
|
|
|
'ts_segmenter.h',
|
2016-03-21 00:04:54 +00:00
|
|
|
'ts_writer.cc',
|
|
|
|
'ts_writer.h',
|
2014-04-07 17:48:25 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2016-01-15 14:57:20 +00:00
|
|
|
'../../base/media_base.gyp:media_base',
|
2017-03-11 02:49:55 +00:00
|
|
|
'../../crypto/crypto.gyp:crypto',
|
2016-05-25 18:03:17 +00:00
|
|
|
'../../codecs/codecs.gyp:codecs',
|
2014-04-07 17:48:25 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'mp2t_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
2014-04-15 23:51:32 +00:00
|
|
|
'adts_header_unittest.cc',
|
2014-04-08 00:39:14 +00:00
|
|
|
'es_parser_h264_unittest.cc',
|
2016-05-04 21:19:40 +00:00
|
|
|
'es_parser_h26x_unittest.cc',
|
2014-04-10 19:57:10 +00:00
|
|
|
'mp2t_media_parser_unittest.cc',
|
2016-03-16 19:10:12 +00:00
|
|
|
'pes_packet_generator_unittest.cc',
|
2016-04-14 05:40:24 +00:00
|
|
|
'program_map_table_writer_unittest.cc',
|
2016-03-21 19:16:58 +00:00
|
|
|
'ts_segmenter_unittest.cc',
|
2016-03-21 00:04:54 +00:00
|
|
|
'ts_writer_unittest.cc',
|
2014-04-07 17:48:25 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../../testing/gtest.gyp:gtest',
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
2016-05-25 18:03:17 +00:00
|
|
|
'../../codecs/codecs.gyp:codecs',
|
2016-04-16 22:58:47 +00:00
|
|
|
'../../event/media_event.gyp:mock_muxer_listener',
|
2014-04-07 17:48:25 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
2014-04-10 19:57:10 +00:00
|
|
|
'../mpeg/mpeg.gyp:mpeg',
|
2014-04-07 17:48:25 +00:00
|
|
|
'mp2t',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|