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
|
|
|
|
#
|
2013-10-17 21:10:38 +00:00
|
|
|
# GYP file for any MPD generation targets.
|
|
|
|
|
|
|
|
{
|
2014-07-02 16:58:40 +00:00
|
|
|
'includes': [
|
|
|
|
'../common.gypi',
|
|
|
|
],
|
2013-10-17 21:10:38 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'media_info_proto',
|
|
|
|
'type': 'static_library',
|
|
|
|
'sources': [
|
|
|
|
'base/media_info.proto',
|
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'proto_in_dir': 'base',
|
2014-10-01 22:10:21 +00:00
|
|
|
'proto_out_dir': 'packager/mpd/base',
|
2013-10-17 21:10:38 +00:00
|
|
|
},
|
2017-05-23 02:41:26 +00:00
|
|
|
'includes': ['../protoc.gypi'],
|
2013-10-17 21:10:38 +00:00
|
|
|
},
|
2013-11-18 23:48:14 +00:00
|
|
|
{
|
|
|
|
'target_name': 'mpd_builder',
|
|
|
|
'type': 'static_library',
|
|
|
|
'sources': [
|
2014-05-22 02:16:17 +00:00
|
|
|
'base/bandwidth_estimator.cc',
|
|
|
|
'base/bandwidth_estimator.h',
|
2014-01-16 08:12:14 +00:00
|
|
|
'base/content_protection_element.cc',
|
2013-11-18 23:48:14 +00:00
|
|
|
'base/content_protection_element.h',
|
2015-07-22 06:57:21 +00:00
|
|
|
'base/dash_iop_mpd_notifier.cc',
|
|
|
|
'base/dash_iop_mpd_notifier.h',
|
2013-11-18 23:48:14 +00:00
|
|
|
'base/mpd_builder.cc',
|
|
|
|
'base/mpd_builder.h',
|
2015-07-22 06:57:21 +00:00
|
|
|
'base/mpd_notifier_util.cc',
|
|
|
|
'base/mpd_notifier_util.h',
|
2014-05-19 21:30:58 +00:00
|
|
|
'base/mpd_notifier.h',
|
2014-12-13 00:13:48 +00:00
|
|
|
'base/mpd_options.h',
|
2013-11-18 23:48:14 +00:00
|
|
|
'base/mpd_utils.cc',
|
|
|
|
'base/mpd_utils.h',
|
2014-10-09 23:33:56 +00:00
|
|
|
'base/segment_info.h',
|
2014-05-19 21:30:58 +00:00
|
|
|
'base/simple_mpd_notifier.cc',
|
|
|
|
'base/simple_mpd_notifier.h',
|
2013-11-18 23:48:14 +00:00
|
|
|
'base/xml/scoped_xml_ptr.h',
|
|
|
|
'base/xml/xml_node.cc',
|
|
|
|
'base/xml/xml_node.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../base/base.gyp:base',
|
2014-01-31 19:02:30 +00:00
|
|
|
'../media/file/file.gyp:file',
|
2013-11-18 23:48:14 +00:00
|
|
|
'../third_party/libxml/libxml.gyp:libxml',
|
2015-12-21 23:10:17 +00:00
|
|
|
'../version/version.gyp:version',
|
2013-11-18 23:48:14 +00:00
|
|
|
'media_info_proto',
|
|
|
|
],
|
2013-12-30 23:05:27 +00:00
|
|
|
'export_dependent_settings': [
|
|
|
|
'../third_party/libxml/libxml.gyp:libxml',
|
|
|
|
'media_info_proto',
|
|
|
|
],
|
|
|
|
},
|
2015-09-14 19:53:32 +00:00
|
|
|
{
|
|
|
|
'target_name': 'mpd_mocks',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'base/mock_mpd_builder.cc',
|
|
|
|
'base/mock_mpd_builder.h',
|
|
|
|
'base/mock_mpd_notifier.cc',
|
|
|
|
'base/mock_mpd_notifier.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../testing/gmock.gyp:gmock',
|
|
|
|
'mpd_builder',
|
|
|
|
],
|
|
|
|
},
|
2013-12-30 23:05:27 +00:00
|
|
|
{
|
|
|
|
'target_name': 'mpd_unittest',
|
2014-01-28 23:06:58 +00:00
|
|
|
'type': '<(gtest_target_type)',
|
2013-12-30 23:05:27 +00:00
|
|
|
'sources': [
|
2014-10-09 23:33:56 +00:00
|
|
|
'base/bandwidth_estimator_unittest.cc',
|
2015-07-22 06:57:21 +00:00
|
|
|
'base/dash_iop_mpd_notifier_unittest.cc',
|
2013-12-30 23:05:27 +00:00
|
|
|
'base/mpd_builder_unittest.cc',
|
2015-07-16 06:51:24 +00:00
|
|
|
'base/simple_mpd_notifier_unittest.cc',
|
2014-01-15 03:55:04 +00:00
|
|
|
'base/xml/xml_node_unittest.cc',
|
2014-02-05 02:32:46 +00:00
|
|
|
'test/mpd_builder_test_helper.cc',
|
|
|
|
'test/mpd_builder_test_helper.h',
|
2014-04-12 01:23:20 +00:00
|
|
|
'test/xml_compare.cc',
|
|
|
|
'test/xml_compare.h',
|
2014-01-28 23:06:58 +00:00
|
|
|
'util/mpd_writer_unittest.cc',
|
2013-12-30 23:05:27 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../base/base.gyp:base',
|
2014-02-13 23:56:38 +00:00
|
|
|
'../media/file/file.gyp:file',
|
2016-01-20 01:46:31 +00:00
|
|
|
'../media/test/media_test.gyp:run_tests_with_atexit_manager',
|
2015-07-13 17:44:52 +00:00
|
|
|
'../testing/gmock.gyp:gmock',
|
2013-12-30 23:05:27 +00:00
|
|
|
'../testing/gtest.gyp:gtest',
|
|
|
|
'mpd_builder',
|
2015-09-14 19:53:32 +00:00
|
|
|
'mpd_mocks',
|
2014-01-28 23:06:58 +00:00
|
|
|
'mpd_util',
|
2013-12-30 23:05:27 +00:00
|
|
|
],
|
2013-11-18 23:48:14 +00:00
|
|
|
},
|
2014-01-15 18:50:47 +00:00
|
|
|
{
|
|
|
|
'target_name': 'mpd_util',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'util/mpd_writer.cc',
|
|
|
|
'util/mpd_writer.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'../media/file/file.gyp:file',
|
2015-09-14 19:53:32 +00:00
|
|
|
'../third_party/gflags/gflags.gyp:gflags',
|
2014-01-15 18:50:47 +00:00
|
|
|
'mpd_builder',
|
2015-09-14 19:53:32 +00:00
|
|
|
'mpd_mocks',
|
2014-01-15 18:50:47 +00:00
|
|
|
],
|
|
|
|
},
|
2013-10-17 21:10:38 +00:00
|
|
|
],
|
|
|
|
}
|