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
|
2014-02-13 23:56:38 +00:00
|
|
|
|
|
|
|
{
|
2014-07-02 16:58:40 +00:00
|
|
|
'includes': [
|
|
|
|
'../../common.gypi',
|
|
|
|
],
|
2014-02-13 23:56:38 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
2016-01-15 14:57:20 +00:00
|
|
|
'target_name': 'media_base',
|
2014-02-13 23:56:38 +00:00
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2016-03-17 17:03:19 +00:00
|
|
|
'aes_decryptor.cc',
|
|
|
|
'aes_decryptor.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'aes_encryptor.cc',
|
|
|
|
'aes_encryptor.h',
|
|
|
|
'audio_stream_info.cc',
|
|
|
|
'audio_stream_info.h',
|
2014-04-07 17:48:25 +00:00
|
|
|
'audio_timestamp_helper.cc',
|
|
|
|
'audio_timestamp_helper.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'bit_reader.cc',
|
|
|
|
'bit_reader.h',
|
|
|
|
'buffer_reader.cc',
|
|
|
|
'buffer_reader.h',
|
|
|
|
'buffer_writer.cc',
|
|
|
|
'buffer_writer.h',
|
|
|
|
'byte_queue.cc',
|
|
|
|
'byte_queue.h',
|
2014-04-11 21:31:28 +00:00
|
|
|
'closure_thread.cc',
|
|
|
|
'closure_thread.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'container_names.cc',
|
|
|
|
'container_names.h',
|
|
|
|
'demuxer.cc',
|
|
|
|
'demuxer.h',
|
|
|
|
'decrypt_config.cc',
|
|
|
|
'decrypt_config.h',
|
2016-01-13 01:32:48 +00:00
|
|
|
'decryptor_source.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'decryptor_source.h',
|
2016-03-17 17:03:19 +00:00
|
|
|
'encryption_modes.h',
|
2014-10-07 21:33:08 +00:00
|
|
|
'http_key_fetcher.cc',
|
|
|
|
'http_key_fetcher.h',
|
|
|
|
'key_fetcher.cc',
|
|
|
|
'key_fetcher.h',
|
2014-08-20 23:51:15 +00:00
|
|
|
'key_source.cc',
|
|
|
|
'key_source.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'limits.h',
|
2016-01-06 23:52:18 +00:00
|
|
|
'macros.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'media_parser.h',
|
|
|
|
'media_sample.cc',
|
|
|
|
'media_sample.h',
|
|
|
|
'media_stream.cc',
|
|
|
|
'media_stream.h',
|
|
|
|
'muxer.cc',
|
|
|
|
'muxer.h',
|
|
|
|
'muxer_options.cc',
|
|
|
|
'muxer_options.h',
|
2014-05-14 23:19:35 +00:00
|
|
|
'muxer_util.cc',
|
|
|
|
'muxer_util.h',
|
2014-07-14 21:35:57 +00:00
|
|
|
'network_util.cc',
|
|
|
|
'network_util.h',
|
2014-04-08 00:39:14 +00:00
|
|
|
'offset_byte_queue.cc',
|
|
|
|
'offset_byte_queue.h',
|
2014-04-07 19:40:52 +00:00
|
|
|
'producer_consumer_queue.h',
|
2016-02-10 17:51:15 +00:00
|
|
|
'protection_system_specific_info.cc',
|
|
|
|
'protection_system_specific_info.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'request_signer.cc',
|
|
|
|
'request_signer.h',
|
|
|
|
'rsa_key.cc',
|
|
|
|
'rsa_key.h',
|
2014-06-18 01:33:07 +00:00
|
|
|
'status.cc',
|
|
|
|
'status.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'stream_info.cc',
|
|
|
|
'stream_info.h',
|
2015-11-19 23:58:29 +00:00
|
|
|
'text_stream_info.cc',
|
|
|
|
'text_stream_info.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'text_track.h',
|
2015-10-14 23:12:10 +00:00
|
|
|
'text_track_config.cc',
|
|
|
|
'text_track_config.h',
|
2015-11-19 23:58:29 +00:00
|
|
|
'timestamp.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'video_stream_info.cc',
|
|
|
|
'video_stream_info.h',
|
2014-08-20 23:51:15 +00:00
|
|
|
'widevine_key_source.cc',
|
|
|
|
'widevine_key_source.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2016-02-19 18:24:33 +00:00
|
|
|
'widevine_pssh_data_proto',
|
2014-02-13 23:56:38 +00:00
|
|
|
'../../base/base.gyp:base',
|
2015-07-24 18:44:52 +00:00
|
|
|
'../../third_party/boringssl/boringssl.gyp:boringssl',
|
2014-06-18 01:33:07 +00:00
|
|
|
'../../third_party/curl/curl.gyp:libcurl',
|
2015-11-16 23:47:39 +00:00
|
|
|
'../../third_party/libxml/libxml.gyp:libxml',
|
2015-12-21 23:10:17 +00:00
|
|
|
'../../version/version.gyp:version',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
2016-01-13 01:32:48 +00:00
|
|
|
{
|
|
|
|
'target_name': 'widevine_pssh_data_proto',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': ['widevine_pssh_data.proto'],
|
|
|
|
'variables': {
|
|
|
|
'proto_in_dir': '.',
|
|
|
|
'proto_out_dir': 'packager/media/base',
|
|
|
|
},
|
|
|
|
'includes': ['../../build/protoc.gypi'],
|
|
|
|
'dependencies': [
|
|
|
|
'../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
|
|
|
],
|
|
|
|
},
|
2014-02-13 23:56:38 +00:00
|
|
|
{
|
|
|
|
'target_name': 'media_base_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
|
|
|
'aes_encryptor_unittest.cc',
|
2014-04-07 17:48:25 +00:00
|
|
|
'audio_timestamp_helper_unittest.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'bit_reader_unittest.cc',
|
|
|
|
'buffer_writer_unittest.cc',
|
2014-04-11 21:31:28 +00:00
|
|
|
'closure_thread_unittest.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'container_names_unittest.cc',
|
2016-01-13 01:32:48 +00:00
|
|
|
'decryptor_source_unittest.cc',
|
2014-10-07 21:33:08 +00:00
|
|
|
'http_key_fetcher_unittest.cc',
|
2014-05-14 23:19:35 +00:00
|
|
|
'muxer_util_unittest.cc',
|
2014-04-08 00:39:14 +00:00
|
|
|
'offset_byte_queue_unittest.cc',
|
2014-04-11 22:01:13 +00:00
|
|
|
'producer_consumer_queue_unittest.cc',
|
2016-02-10 17:51:15 +00:00
|
|
|
'protection_system_specific_info_unittest.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'rsa_key_unittest.cc',
|
|
|
|
'status_test_util_unittest.cc',
|
|
|
|
'status_unittest.cc',
|
2014-10-09 23:33:56 +00:00
|
|
|
'test/fake_prng.cc', # For rsa_key_unittest
|
|
|
|
'test/fake_prng.h', # For rsa_key_unittest
|
|
|
|
'test/rsa_test_data.cc', # For rsa_key_unittest
|
|
|
|
'test/rsa_test_data.h', # For rsa_key_unittest
|
|
|
|
'test/status_test_util.h',
|
2014-08-20 23:51:15 +00:00
|
|
|
'widevine_key_source_unittest.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../testing/gtest.gyp:gtest',
|
|
|
|
'../../testing/gmock.gyp:gmock',
|
2015-07-24 18:44:52 +00:00
|
|
|
'../../third_party/boringssl/boringssl.gyp:boringssl',
|
2014-02-13 23:56:38 +00:00
|
|
|
'../file/file.gyp:file',
|
|
|
|
'../test/media_test.gyp:media_test_support',
|
2016-01-15 14:57:20 +00:00
|
|
|
'media_base',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|