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': [
|
|
|
|
{
|
|
|
|
'target_name': 'base',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'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',
|
|
|
|
'decryptor_source.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',
|
|
|
|
'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',
|
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',
|
|
|
|
'text_track.h',
|
2014-04-07 17:48:25 +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': [
|
|
|
|
'../../base/base.gyp:base',
|
2014-06-18 01:33:07 +00:00
|
|
|
'../../third_party/curl/curl.gyp:libcurl',
|
2014-02-13 23:56:38 +00:00
|
|
|
'../../third_party/openssl/openssl.gyp:openssl',
|
2015-06-17 22:42:56 +00:00
|
|
|
'../filters/filters.gyp:filters',
|
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',
|
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',
|
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',
|
2014-02-26 23:55:01 +00:00
|
|
|
'../../third_party/openssl/openssl.gyp:openssl',
|
2014-02-13 23:56:38 +00:00
|
|
|
'../file/file.gyp:file',
|
|
|
|
'../test/media_test.gyp:media_test_support',
|
|
|
|
'base',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|