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': [
|
2017-02-13 22:25:34 +00:00
|
|
|
'cue.cc',
|
|
|
|
'cue.h',
|
2017-09-14 16:15:24 +00:00
|
|
|
'text_readers.cc',
|
|
|
|
'text_readers.h',
|
2015-11-19 23:58:29 +00:00
|
|
|
'webvtt_media_parser.cc',
|
|
|
|
'webvtt_media_parser.h',
|
2017-09-14 16:15:24 +00:00
|
|
|
'webvtt_parser.cc',
|
|
|
|
'webvtt_parser.h',
|
2017-02-13 22:25:34 +00:00
|
|
|
'webvtt_sample_converter.cc',
|
|
|
|
'webvtt_sample_converter.h',
|
2017-09-18 15:43:21 +00:00
|
|
|
'webvtt_segmenter.cc',
|
|
|
|
'webvtt_segmenter.h',
|
2017-05-31 19:23:44 +00:00
|
|
|
'webvtt_timestamp.cc',
|
|
|
|
'webvtt_timestamp.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',
|
2015-11-19 23:58:29 +00:00
|
|
|
'webvtt_media_parser_unittest.cc',
|
2017-09-14 16:15:24 +00:00
|
|
|
'webvtt_parser_unittest.cc',
|
2017-02-13 22:25:34 +00:00
|
|
|
'webvtt_sample_converter_unittest.cc',
|
2017-09-18 15:43:21 +00:00
|
|
|
'webvtt_segmenter_unittest.cc',
|
2017-05-31 19:23:44 +00:00
|
|
|
'webvtt_timestamp_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',
|
2015-11-19 23:58:29 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
|
|
|
'webvtt',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|