2015-10-14 23:12:10 +00:00
|
|
|
# Copyright 2015 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
|
|
|
|
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'../../../common.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'webm',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2015-11-18 21:11:31 +00:00
|
|
|
'encryptor.cc',
|
|
|
|
'encryptor.h',
|
2015-10-28 17:23:08 +00:00
|
|
|
'mkv_writer.cc',
|
|
|
|
'mkv_writer.h',
|
|
|
|
'multi_segment_segmenter.cc',
|
|
|
|
'multi_segment_segmenter.h',
|
|
|
|
'seek_head.cc',
|
|
|
|
'seek_head.h',
|
|
|
|
'segmenter.cc',
|
|
|
|
'segmenter.h',
|
|
|
|
'single_segment_segmenter.cc',
|
|
|
|
'single_segment_segmenter.h',
|
|
|
|
'two_pass_single_segment_segmenter.cc',
|
|
|
|
'two_pass_single_segment_segmenter.h',
|
2015-10-14 23:12:10 +00:00
|
|
|
'webm_audio_client.cc',
|
|
|
|
'webm_audio_client.h',
|
|
|
|
'webm_cluster_parser.cc',
|
|
|
|
'webm_cluster_parser.h',
|
|
|
|
'webm_constants.cc',
|
|
|
|
'webm_constants.h',
|
|
|
|
'webm_content_encodings.cc',
|
|
|
|
'webm_content_encodings.h',
|
|
|
|
'webm_content_encodings_client.cc',
|
|
|
|
'webm_content_encodings_client.h',
|
|
|
|
'webm_crypto_helpers.cc',
|
|
|
|
'webm_crypto_helpers.h',
|
|
|
|
'webm_info_parser.cc',
|
|
|
|
'webm_info_parser.h',
|
|
|
|
'webm_parser.cc',
|
|
|
|
'webm_parser.h',
|
2015-10-15 22:39:16 +00:00
|
|
|
'webm_media_parser.cc',
|
|
|
|
'webm_media_parser.h',
|
2015-10-28 17:23:08 +00:00
|
|
|
'webm_muxer.cc',
|
|
|
|
'webm_muxer.h',
|
2015-10-14 23:12:10 +00:00
|
|
|
'webm_tracks_parser.cc',
|
|
|
|
'webm_tracks_parser.h',
|
|
|
|
'webm_video_client.cc',
|
|
|
|
'webm_video_client.h',
|
|
|
|
'webm_webvtt_parser.cc',
|
|
|
|
'webm_webvtt_parser.h'
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2015-10-28 17:23:08 +00:00
|
|
|
'../../../third_party/boringssl/boringssl.gyp:boringssl',
|
2016-01-20 01:57:44 +00:00
|
|
|
'../../../third_party/libwebm/libwebm.gyp:mkvmuxer',
|
2016-01-15 14:57:20 +00:00
|
|
|
'../../base/media_base.gyp:media_base',
|
2016-01-13 01:32:48 +00:00
|
|
|
'../../base/media_base.gyp:widevine_pssh_data_proto',
|
2015-10-26 20:50:22 +00:00
|
|
|
'../../filters/filters.gyp:filters'
|
2015-10-14 23:12:10 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'webm_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
|
|
|
'cluster_builder.cc',
|
|
|
|
'cluster_builder.h',
|
2015-11-18 21:11:31 +00:00
|
|
|
'encrypted_segmenter_unittest.cc',
|
2015-12-22 00:33:55 +00:00
|
|
|
'multi_segment_segmenter_unittest.cc',
|
|
|
|
'segmenter_test_base.cc',
|
|
|
|
'segmenter_test_base.h',
|
|
|
|
'single_segment_segmenter_unittest.cc',
|
2015-10-14 23:12:10 +00:00
|
|
|
'tracks_builder.cc',
|
|
|
|
'tracks_builder.h',
|
|
|
|
'webm_cluster_parser_unittest.cc',
|
|
|
|
'webm_content_encodings_client_unittest.cc',
|
|
|
|
'webm_parser_unittest.cc',
|
|
|
|
'webm_tracks_parser_unittest.cc',
|
|
|
|
'webm_webvtt_parser_unittest.cc',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../../testing/gtest.gyp:gtest',
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
2015-12-22 00:33:55 +00:00
|
|
|
'../../file/file.gyp:file',
|
2015-10-14 23:12:10 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
|
|
|
'webm',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|