2015-11-19 23:58:29 +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
|
|
|
|
|
|
|
|
{
|
2017-12-06 23:08:40 +00:00
|
|
|
'variables': {
|
|
|
|
'shaka_code': 1,
|
|
|
|
},
|
2015-11-19 23:58:29 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'webvtt',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2018-03-29 18:00:14 +00:00
|
|
|
'text_padder.cc',
|
|
|
|
'text_padder.h',
|
2017-09-14 16:15:24 +00:00
|
|
|
'text_readers.cc',
|
|
|
|
'text_readers.h',
|
2018-05-21 16:58:02 +00:00
|
|
|
'webvtt_file_buffer.cc',
|
|
|
|
'webvtt_file_buffer.h',
|
2017-05-22 16:35:49 +00:00
|
|
|
'webvtt_output_handler.cc',
|
|
|
|
'webvtt_output_handler.h',
|
2017-09-14 16:15:24 +00:00
|
|
|
'webvtt_parser.cc',
|
|
|
|
'webvtt_parser.h',
|
2017-05-31 19:23:44 +00:00
|
|
|
'webvtt_timestamp.cc',
|
|
|
|
'webvtt_timestamp.h',
|
2017-05-31 00:24:40 +00:00
|
|
|
'webvtt_to_mp4_handler.cc',
|
|
|
|
'webvtt_to_mp4_handler.h',
|
2015-11-19 23:58:29 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../../base/base.gyp:base',
|
2016-01-15 14:57:20 +00:00
|
|
|
'../../base/media_base.gyp:media_base',
|
2017-02-13 22:25:34 +00:00
|
|
|
'../../formats/mp4/mp4.gyp:mp4',
|
2017-08-16 17:25:53 +00:00
|
|
|
'../../origin/origin.gyp:origin',
|
2015-11-19 23:58:29 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'webvtt_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
2017-09-14 16:15:24 +00:00
|
|
|
'text_readers_unittest.cc',
|
2017-05-22 16:35:49 +00:00
|
|
|
'webvtt_output_handler_unittest.cc',
|
2017-09-14 16:15:24 +00:00
|
|
|
'webvtt_parser_unittest.cc',
|
2017-05-31 00:24:40 +00:00
|
|
|
'webvtt_timestamp_unittest.cc',
|
|
|
|
'webvtt_to_mp4_handler_unittest.cc',
|
2015-11-19 23:58:29 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
|
|
|
'../../../testing/gtest.gyp:gtest',
|
2017-09-14 16:15:24 +00:00
|
|
|
'../../base/media_base.gyp:media_handler_test_base',
|
2017-10-02 21:35:55 +00:00
|
|
|
'../../event/media_event.gyp:mock_muxer_listener',
|
2015-11-19 23:58:29 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
|
|
|
'webvtt',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|