2013-10-17 21:10:38 +00:00
|
|
|
# GYP file for any MPD generation targets.
|
|
|
|
|
|
|
|
{
|
2013-12-30 23:05:27 +00:00
|
|
|
'target_defaults': {
|
|
|
|
'include_dirs': [
|
|
|
|
'..',
|
|
|
|
],
|
|
|
|
},
|
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',
|
|
|
|
'proto_out_dir': 'mpd/base',
|
|
|
|
},
|
|
|
|
'includes': ['../build/protoc.gypi'],
|
2014-01-14 19:01:53 +00:00
|
|
|
'dependencies': [
|
|
|
|
# This target needs to depend on 'protobuf_full_do_not_use' to generate
|
|
|
|
# non-LITE (full) protobuf. We need full protobuf to serialize and
|
|
|
|
# deserialize human readable protobuf messages.
|
|
|
|
'../third_party/protobuf/protobuf.gyp:protobuf_full_do_not_use',
|
|
|
|
],
|
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-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',
|
|
|
|
'base/mpd_builder.cc',
|
|
|
|
'base/mpd_builder.h',
|
|
|
|
'base/mpd_utils.cc',
|
|
|
|
'base/mpd_utils.h',
|
|
|
|
'base/xml/scoped_xml_ptr.h',
|
|
|
|
'base/xml/xml_node.cc',
|
|
|
|
'base/xml/xml_node.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../base/base.gyp:base',
|
|
|
|
'../third_party/libxml/libxml.gyp:libxml',
|
|
|
|
'media_info_proto',
|
|
|
|
],
|
2013-12-30 23:05:27 +00:00
|
|
|
'export_dependent_settings': [
|
|
|
|
'../third_party/libxml/libxml.gyp:libxml',
|
|
|
|
'media_info_proto',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'mpd_unittest',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'base/mpd_builder_unittest.cc',
|
2014-01-15 03:55:04 +00:00
|
|
|
'base/xml/xml_node_unittest.cc',
|
2013-12-30 23:05:27 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../base/base.gyp:base',
|
|
|
|
'../base/base.gyp:run_all_unittests',
|
|
|
|
'../testing/gtest.gyp:gtest',
|
|
|
|
'mpd_builder',
|
|
|
|
],
|
2013-11-18 23:48:14 +00:00
|
|
|
},
|
2013-10-17 21:10:38 +00:00
|
|
|
],
|
|
|
|
}
|