shaka-packager/media/file/file.gyp

49 lines
1.1 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
{
'variables': {
# Compile as chromium code to enable warnings and warnings-as-errors.
'chromium_code': 1,
},
'target_defaults': {
'include_dirs': [
'../..',
],
},
'targets': [
{
'target_name': 'file',
'type': '<(component)',
'sources': [
'file.cc',
'file.h',
'file_closer.h',
'local_file.cc',
'local_file.h',
'udp_file.cc',
'udp_file.h',
],
'dependencies': [
'../../base/base.gyp:base',
'../../third_party/gflags/gflags.gyp:gflags',
],
},
{
'target_name': 'file_unittest',
'type': '<(gtest_target_type)',
'sources': [
'file_unittest.cc',
],
'dependencies': [
'../../testing/gtest.gyp:gtest',
'../../testing/gtest.gyp:gtest_main',
'file',
],
},
],
}