2014-02-14 23:21:05 +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-02-13 23:56:38 +00:00
|
|
|
|
|
|
|
{
|
2014-03-21 17:26:49 +00:00
|
|
|
'variables': {
|
|
|
|
# Compile as chromium code to enable warnings and warnings-as-errors.
|
|
|
|
'chromium_code': 1,
|
|
|
|
},
|
2014-02-13 23:56:38 +00:00
|
|
|
'target_defaults': {
|
|
|
|
'include_dirs': [
|
2014-04-10 21:42:38 +00:00
|
|
|
'../../..',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'mp4',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'aac_audio_specific_config.cc',
|
|
|
|
'aac_audio_specific_config.h',
|
|
|
|
'box.cc',
|
|
|
|
'box.h',
|
|
|
|
'box_buffer.h',
|
|
|
|
'box_definitions.cc',
|
|
|
|
'box_definitions.h',
|
|
|
|
'box_reader.cc',
|
|
|
|
'box_reader.h',
|
|
|
|
'box_writer.h',
|
|
|
|
'cenc.cc',
|
|
|
|
'cenc.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-05-08 20:53:08 +00:00
|
|
|
'encrypting_fragmenter.cc',
|
|
|
|
'encrypting_fragmenter.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'es_descriptor.cc',
|
|
|
|
'es_descriptor.h',
|
|
|
|
'fourccs.h',
|
2014-04-08 20:21:07 +00:00
|
|
|
'fragmenter.cc',
|
|
|
|
'fragmenter.h',
|
2014-04-18 18:49:49 +00:00
|
|
|
'key_rotation_fragmenter.cc',
|
|
|
|
'key_rotation_fragmenter.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',
|
2014-02-13 23:56:38 +00:00
|
|
|
'rcheck.h',
|
2014-04-08 20:21:07 +00:00
|
|
|
'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': [
|
2014-04-10 21:42:38 +00:00
|
|
|
'../../base/media_base.gyp:base',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'mp4_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
|
|
|
'aac_audio_specific_config_unittest.cc',
|
|
|
|
'box_definitions_unittest.cc',
|
|
|
|
'box_reader_unittest.cc',
|
|
|
|
'chunk_info_iterator_unittest.cc',
|
|
|
|
'composition_offset_iterator_unittest.cc',
|
|
|
|
'decoding_time_iterator_unittest.cc',
|
|
|
|
'es_descriptor_unittest.cc',
|
|
|
|
'mp4_media_parser_unittest.cc',
|
|
|
|
'sync_sample_iterator_unittest.cc',
|
|
|
|
'track_run_iterator_unittest.cc',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-04-10 21:42:38 +00:00
|
|
|
'../../../testing/gtest.gyp:gtest',
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
|
|
|
'../../test/media_test.gyp:media_test_support',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mp4',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|