2014-04-07 17:48:25 +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
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
# Compile as chromium code to enable warnings and warnings-as-errors.
|
|
|
|
'chromium_code': 1,
|
|
|
|
},
|
|
|
|
'target_defaults': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../../..',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'mp2t',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'es_parser.h',
|
|
|
|
'es_parser_adts.cc',
|
|
|
|
'es_parser_adts.h',
|
2014-04-08 00:39:14 +00:00
|
|
|
'es_parser_h264.cc',
|
|
|
|
'es_parser_h264.h',
|
2014-04-10 19:57:10 +00:00
|
|
|
'mp2t_media_parser.cc',
|
|
|
|
'mp2t_media_parser.h',
|
|
|
|
'ts_packet.cc',
|
|
|
|
'ts_packet.h',
|
|
|
|
'ts_section_pat.cc',
|
|
|
|
'ts_section_pat.h',
|
|
|
|
'ts_section_pes.cc',
|
|
|
|
'ts_section_pes.h',
|
|
|
|
'ts_section_pmt.cc',
|
|
|
|
'ts_section_pmt.h',
|
|
|
|
'ts_section_psi.cc',
|
|
|
|
'ts_section_psi.h',
|
2014-04-07 17:48:25 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../base/media_base.gyp:base',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'mp2t_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
2014-04-08 00:39:14 +00:00
|
|
|
'es_parser_h264_unittest.cc',
|
2014-04-10 19:57:10 +00:00
|
|
|
'mp2t_media_parser_unittest.cc',
|
2014-04-07 17:48:25 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../../testing/gtest.gyp:gtest',
|
|
|
|
'../../../testing/gmock.gyp:gmock',
|
2014-04-08 00:39:14 +00:00
|
|
|
'../../filters/filters.gyp:filters',
|
2014-04-07 17:48:25 +00:00
|
|
|
'../../test/media_test.gyp:media_test_support',
|
2014-04-10 19:57:10 +00:00
|
|
|
'../mpeg/mpeg.gyp:mpeg',
|
2014-04-07 17:48:25 +00:00
|
|
|
'mp2t',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|