123 lines
3.5 KiB
Python
123 lines
3.5 KiB
Python
# 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
|
|
|
|
{
|
|
'includes': [
|
|
'../../common.gypi',
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'base',
|
|
'type': '<(component)',
|
|
'sources': [
|
|
'aes_encryptor.cc',
|
|
'aes_encryptor.h',
|
|
'audio_stream_info.cc',
|
|
'audio_stream_info.h',
|
|
'audio_timestamp_helper.cc',
|
|
'audio_timestamp_helper.h',
|
|
'bit_reader.cc',
|
|
'bit_reader.h',
|
|
'buffer_reader.cc',
|
|
'buffer_reader.h',
|
|
'buffer_writer.cc',
|
|
'buffer_writer.h',
|
|
'byte_queue.cc',
|
|
'byte_queue.h',
|
|
'closure_thread.cc',
|
|
'closure_thread.h',
|
|
'container_names.cc',
|
|
'container_names.h',
|
|
'demuxer.cc',
|
|
'demuxer.h',
|
|
'decrypt_config.cc',
|
|
'decrypt_config.h',
|
|
'decryptor_source.h',
|
|
'http_key_fetcher.cc',
|
|
'http_key_fetcher.h',
|
|
'key_fetcher.cc',
|
|
'key_fetcher.h',
|
|
'key_source.cc',
|
|
'key_source.h',
|
|
'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',
|
|
'muxer_util.cc',
|
|
'muxer_util.h',
|
|
'network_util.cc',
|
|
'network_util.h',
|
|
'offset_byte_queue.cc',
|
|
'offset_byte_queue.h',
|
|
'producer_consumer_queue.h',
|
|
'request_signer.cc',
|
|
'request_signer.h',
|
|
'rsa_key.cc',
|
|
'rsa_key.h',
|
|
'status.cc',
|
|
'status.h',
|
|
'stream_info.cc',
|
|
'stream_info.h',
|
|
'text_stream_info.cc',
|
|
'text_stream_info.h',
|
|
'text_track.h',
|
|
'text_track_config.cc',
|
|
'text_track_config.h',
|
|
'timestamp.h',
|
|
'video_stream_info.cc',
|
|
'video_stream_info.h',
|
|
'widevine_key_source.cc',
|
|
'widevine_key_source.h',
|
|
],
|
|
'dependencies': [
|
|
'../../base/base.gyp:base',
|
|
'../../third_party/boringssl/boringssl.gyp:boringssl',
|
|
'../../third_party/curl/curl.gyp:libcurl',
|
|
'../../third_party/libxml/libxml.gyp:libxml',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'media_base_unittest',
|
|
'type': '<(gtest_target_type)',
|
|
'sources': [
|
|
'aes_encryptor_unittest.cc',
|
|
'audio_timestamp_helper_unittest.cc',
|
|
'bit_reader_unittest.cc',
|
|
'buffer_writer_unittest.cc',
|
|
'closure_thread_unittest.cc',
|
|
'container_names_unittest.cc',
|
|
'http_key_fetcher_unittest.cc',
|
|
'muxer_util_unittest.cc',
|
|
'offset_byte_queue_unittest.cc',
|
|
'producer_consumer_queue_unittest.cc',
|
|
'rsa_key_unittest.cc',
|
|
'status_test_util_unittest.cc',
|
|
'status_unittest.cc',
|
|
'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',
|
|
'widevine_key_source_unittest.cc',
|
|
],
|
|
'dependencies': [
|
|
'../../testing/gtest.gyp:gtest',
|
|
'../../testing/gmock.gyp:gmock',
|
|
'../../third_party/boringssl/boringssl.gyp:boringssl',
|
|
'../file/file.gyp:file',
|
|
'../test/media_test.gyp:media_test_support',
|
|
'base',
|
|
],
|
|
},
|
|
],
|
|
}
|