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
|
|
|
|
|
|
|
{
|
2017-12-06 23:08:40 +00:00
|
|
|
'variables': {
|
|
|
|
'shaka_code': 1,
|
|
|
|
},
|
2014-02-13 23:56:38 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'file',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2017-07-17 18:15:07 +00:00
|
|
|
'callback_file.cc',
|
|
|
|
'callback_file.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'file.cc',
|
|
|
|
'file.h',
|
2016-10-04 22:46:02 +00:00
|
|
|
'file_util.cc',
|
|
|
|
'file_util.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'file_closer.h',
|
2015-03-13 00:54:12 +00:00
|
|
|
'io_cache.cc',
|
|
|
|
'io_cache.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
'local_file.cc',
|
|
|
|
'local_file.h',
|
2015-12-22 00:20:34 +00:00
|
|
|
'memory_file.cc',
|
|
|
|
'memory_file.h',
|
2017-07-17 18:15:07 +00:00
|
|
|
'public/buffer_callback_params.h',
|
2015-03-19 18:28:04 +00:00
|
|
|
'threaded_io_file.cc',
|
|
|
|
'threaded_io_file.h',
|
2017-01-10 18:05:28 +00:00
|
|
|
'udp_file.cc',
|
2014-04-30 23:22:15 +00:00
|
|
|
'udp_file.h',
|
2016-10-05 01:17:07 +00:00
|
|
|
'udp_options.cc',
|
|
|
|
'udp_options.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2017-07-10 18:26:22 +00:00
|
|
|
'../base/base.gyp:base',
|
|
|
|
'../third_party/gflags/gflags.gyp:gflags',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'file_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
2017-07-17 18:15:07 +00:00
|
|
|
'callback_file_unittest.cc',
|
2014-02-13 23:56:38 +00:00
|
|
|
'file_unittest.cc',
|
2016-10-04 22:46:02 +00:00
|
|
|
'file_util_unittest.cc',
|
2015-03-13 00:54:12 +00:00
|
|
|
'io_cache_unittest.cc',
|
2015-12-22 00:20:34 +00:00
|
|
|
'memory_file_unittest.cc',
|
2016-10-05 01:17:07 +00:00
|
|
|
'udp_options_unittest.cc',
|
2015-03-13 00:54:12 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2017-07-10 18:26:22 +00:00
|
|
|
'../media/test/media_test.gyp:run_tests_with_atexit_manager',
|
2017-07-17 18:15:07 +00:00
|
|
|
'../testing/gmock.gyp:gmock',
|
2017-07-10 18:26:22 +00:00
|
|
|
'../testing/gtest.gyp:gtest',
|
|
|
|
'../third_party/gflags/gflags.gyp:gflags',
|
2015-03-13 00:54:12 +00:00
|
|
|
'file',
|
|
|
|
],
|
|
|
|
},
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
}
|