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-10 00:07:10 +00:00
|
|
|
{
|
2014-03-21 17:26:49 +00:00
|
|
|
'variables': {
|
|
|
|
# Compile as chromium code to enable warnings and warnings-as-errors.
|
|
|
|
'chromium_code': 1,
|
|
|
|
},
|
2013-10-10 00:07:10 +00:00
|
|
|
'target_defaults': {
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'targets': [
|
2014-01-14 04:52:05 +00:00
|
|
|
{
|
2014-05-09 01:23:54 +00:00
|
|
|
'target_name': 'packager',
|
2013-10-11 21:44:55 +00:00
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2014-05-08 21:02:36 +00:00
|
|
|
'app/fixed_key_encryption_flags.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'app/fixed_key_encryption_flags.h',
|
2014-05-09 01:23:54 +00:00
|
|
|
'app/libcrypto_threading.cc',
|
|
|
|
'app/libcrypto_threading.h',
|
2014-05-22 19:39:30 +00:00
|
|
|
'app/mpd_flags.cc',
|
|
|
|
'app/mpd_flags.h',
|
2014-05-09 01:23:54 +00:00
|
|
|
'app/muxer_flags.cc',
|
|
|
|
'app/muxer_flags.h',
|
2014-05-08 21:02:36 +00:00
|
|
|
'app/packager_common.cc',
|
|
|
|
'app/packager_common.h',
|
2014-05-09 01:23:54 +00:00
|
|
|
'app/packager_main.cc',
|
|
|
|
'app/widevine_encryption_flags.cc',
|
|
|
|
'app/widevine_encryption_flags.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'media/event/media_event.gyp:media_event',
|
|
|
|
'media/file/file.gyp:file',
|
|
|
|
'media/filters/filters.gyp:filters',
|
|
|
|
'media/formats/mp2t/mp2t.gyp:mp2t',
|
|
|
|
'media/formats/mp4/mp4.gyp:mp4',
|
|
|
|
'media/formats/mpeg/mpeg.gyp:mpeg',
|
2014-05-22 19:39:30 +00:00
|
|
|
'mpd/mpd.gyp:mpd_builder',
|
2014-05-09 01:23:54 +00:00
|
|
|
'third_party/gflags/gflags.gyp:gflags',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'os_posix == 1', {
|
|
|
|
'sources': [
|
|
|
|
'app/libcrypto_threading_posix.cc',
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'single_packager',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'app/fixed_key_encryption_flags.cc',
|
|
|
|
'app/fixed_key_encryption_flags.h',
|
2014-05-22 19:39:30 +00:00
|
|
|
'app/mpd_flags.cc',
|
|
|
|
'app/mpd_flags.h',
|
2014-05-08 21:02:36 +00:00
|
|
|
'app/muxer_flags.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'app/muxer_flags.h',
|
2014-05-09 01:23:54 +00:00
|
|
|
'app/packager_common.cc',
|
|
|
|
'app/packager_common.h',
|
2014-05-08 21:02:36 +00:00
|
|
|
'app/single_muxer_flags.cc',
|
|
|
|
'app/single_muxer_flags.h',
|
|
|
|
'app/single_packager_main.cc',
|
|
|
|
'app/widevine_encryption_flags.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'app/widevine_encryption_flags.h',
|
2013-10-11 21:44:55 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/event/media_event.gyp:media_event',
|
|
|
|
'media/file/file.gyp:file',
|
2014-04-15 23:51:32 +00:00
|
|
|
'media/filters/filters.gyp:filters',
|
|
|
|
'media/formats/mp2t/mp2t.gyp:mp2t',
|
2014-04-10 21:42:38 +00:00
|
|
|
'media/formats/mp4/mp4.gyp:mp4',
|
2014-04-15 23:51:32 +00:00
|
|
|
'media/formats/mpeg/mpeg.gyp:mpeg',
|
2014-05-22 19:39:30 +00:00
|
|
|
'mpd/mpd.gyp:mpd_builder',
|
2014-02-13 23:56:38 +00:00
|
|
|
'third_party/gflags/gflags.gyp:gflags',
|
2013-10-11 21:44:55 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2014-02-13 23:56:38 +00:00
|
|
|
'target_name': 'mpd_generator',
|
2013-10-11 21:44:55 +00:00
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'app/mpd_generator.cc',
|
|
|
|
'app/mpd_generator_flags.h',
|
2013-10-11 21:44:55 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'base/base.gyp:base',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mpd/mpd.gyp:mpd_util',
|
|
|
|
'third_party/gflags/gflags.gyp:gflags',
|
2013-10-11 21:44:55 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'packager_test',
|
2014-01-22 15:52:18 +00:00
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/test/packager_test.cc',
|
2014-01-22 15:52:18 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/file/file.gyp:file',
|
2014-04-15 23:51:32 +00:00
|
|
|
'media/filters/filters.gyp:filters',
|
|
|
|
'media/formats/mp2t/mp2t.gyp:mp2t',
|
2014-04-10 21:42:38 +00:00
|
|
|
'media/formats/mp4/mp4.gyp:mp4',
|
2014-04-15 23:51:32 +00:00
|
|
|
'media/formats/mpeg/mpeg.gyp:mpeg',
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/test/media_test.gyp:media_test_support',
|
2014-01-22 15:52:18 +00:00
|
|
|
'testing/gtest.gyp:gtest',
|
|
|
|
],
|
|
|
|
},
|
2014-01-15 22:44:11 +00:00
|
|
|
{
|
2014-02-13 23:56:38 +00:00
|
|
|
'target_name': 'All',
|
|
|
|
'type': 'none',
|
2014-01-15 22:44:11 +00:00
|
|
|
'dependencies': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/base/media_base.gyp:*',
|
|
|
|
'media/event/media_event.gyp:*',
|
|
|
|
'media/file/file.gyp:*',
|
2014-04-15 23:51:32 +00:00
|
|
|
'media/formats/mp2t/mp2t.gyp:*',
|
2014-04-10 21:42:38 +00:00
|
|
|
'media/formats/mp4/mp4.gyp:*',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mpd/mpd.gyp:*',
|
2014-01-15 22:44:11 +00:00
|
|
|
],
|
|
|
|
},
|
2014-01-29 21:40:13 +00:00
|
|
|
{
|
2014-02-13 23:56:38 +00:00
|
|
|
'target_name': 'packager_builder_tests',
|
|
|
|
'type': 'none',
|
2014-01-29 21:40:13 +00:00
|
|
|
'dependencies': [
|
2014-02-13 23:56:38 +00:00
|
|
|
'media/base/media_base.gyp:media_base_unittest',
|
|
|
|
'media/event/media_event.gyp:media_event_unittest',
|
|
|
|
'media/file/file.gyp:file_unittest',
|
2014-04-01 21:18:11 +00:00
|
|
|
'media/filters/filters.gyp:filters_unittest',
|
2014-04-08 00:39:14 +00:00
|
|
|
'media/formats/mp2t/mp2t.gyp:mp2t_unittest',
|
2014-04-10 21:42:38 +00:00
|
|
|
'media/formats/mp4/mp4.gyp:mp4_unittest',
|
2014-02-13 23:56:38 +00:00
|
|
|
'mpd/mpd.gyp:mpd_unittest',
|
|
|
|
'packager_test',
|
2014-01-29 21:40:13 +00:00
|
|
|
],
|
|
|
|
},
|
2013-10-10 00:07:10 +00:00
|
|
|
],
|
|
|
|
}
|