2022-08-26 15:44:59 +00:00
|
|
|
# Copyright 2014 Google LLC. All rights reserved.
|
2014-02-14 23:21:05 +00:00
|
|
|
#
|
|
|
|
# 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-02-13 23:56:38 +00:00
|
|
|
|
|
|
|
{
|
2017-12-06 23:08:40 +00:00
|
|
|
'variables': {
|
|
|
|
'shaka_code': 1,
|
|
|
|
},
|
2014-02-13 23:56:38 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'mp4',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'box.cc',
|
|
|
|
'box.h',
|
|
|
|
'box_buffer.h',
|
|
|
|
'box_definitions.cc',
|
|
|
|
'box_definitions.h',
|
|
|
|
'box_reader.cc',
|
|
|
|
'box_reader.h',
|
|
|
|
'chunk_info_iterator.cc',
|
|
|
|
'chunk_info_iterator.h',
|
|
|
|
'composition_offset_iterator.cc',
|
|
|
|
'composition_offset_iterator.h',
|
|
|
|
'decoding_time_iterator.cc',
|
|
|
|
'decoding_time_iterator.h',
|
2014-04-08 20:21:07 +00:00
|
|
|
'fragmenter.cc',
|
|
|
|
'fragmenter.h',
|
2018-02-01 20:25:07 +00:00
|
|
|
'key_frame_info.h',
|
2021-08-25 15:38:05 +00:00
|
|
|
'low_latency_segment_segmenter.cc',
|
|
|
|
'low_latency_segment_segmenter.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mp4_media_parser.cc',
|
|
|
|
'mp4_media_parser.h',
|
|
|
|
'mp4_muxer.cc',
|
|
|
|
'mp4_muxer.h',
|
2014-04-08 20:21:07 +00:00
|
|
|
'multi_segment_segmenter.cc',
|
|
|
|
'multi_segment_segmenter.h',
|
|
|
|
'segmenter.cc',
|
|
|
|
'segmenter.h',
|
|
|
|
'single_segment_segmenter.cc',
|
|
|
|
'single_segment_segmenter.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'sync_sample_iterator.cc',
|
|
|
|
'sync_sample_iterator.h',
|
|
|
|
'track_run_iterator.cc',
|
|
|
|
'track_run_iterator.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2015-07-24 18:44:52 +00:00
|
|
|
'../../../third_party/boringssl/boringssl.gyp:boringssl',
|
2018-07-13 00:31:06 +00:00
|
|
|
'../../../third_party/gflags/gflags.gyp:gflags',
|
2016-01-15 14:57:20 +00:00
|
|
|
'../../base/media_base.gyp:media_base',
|
2016-05-25 18:03:17 +00:00
|
|
|
'../../codecs/codecs.gyp:codecs',
|
2015-08-26 20:25:29 +00:00
|
|
|
'../../event/media_event.gyp:media_event',
|
2020-10-13 21:43:18 +00:00
|
|
|
'../../formats/ttml/ttml.gyp:ttml',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'mp4_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
|
|
|
'box_definitions_unittest.cc',
|
|
|
|
'box_reader_unittest.cc',
|
|
|
|
'chunk_info_iterator_unittest.cc',
|
|
|
|
'composition_offset_iterator_unittest.cc',
|
|
|
|
'decoding_time_iterator_unittest.cc',
|
|
|
|
'mp4_media_parser_unittest.cc',
|
|
|
|
'sync_sample_iterator_unittest.cc',
|
|
|
|
'track_run_iterator_unittest.cc',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2017-07-10 18:26:22 +00:00
|
|
|
'../../../file/file.gyp:file',
|
2014-04-10 21:42:38 +00:00
|
|
|
'../../../testing/gtest.gyp:gtest',
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
2018-07-13 00:31:06 +00:00
|
|
|
'../../../third_party/gflags/gflags.gyp:gflags',
|
2014-04-10 21:42:38 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mp4',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|