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': 'file',
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
'file.cc',
|
|
|
|
'file.h',
|
|
|
|
'file_closer.h',
|
|
|
|
'local_file.cc',
|
|
|
|
'local_file.h',
|
2014-04-30 23:22:15 +00:00
|
|
|
'udp_file.cc',
|
|
|
|
'udp_file.h',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../base/base.gyp:base',
|
2014-04-30 23:22:15 +00:00
|
|
|
'../../third_party/gflags/gflags.gyp:gflags',
|
2014-02-13 23:56:38 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'file_unittest',
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
'sources': [
|
|
|
|
'file_unittest.cc',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../testing/gtest.gyp:gtest',
|
|
|
|
'../../testing/gtest.gyp:gtest_main',
|
|
|
|
'file',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|