1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 # 3 # Use of this source code is governed by a BSD-style license 4 # that can be found in the LICENSE file in the root of the source 5 # tree. An additional intellectual property rights grant can be found 6 # in the file PATENTS. All contributing project authors may 7 # be found in the AUTHORS file in the root of the source tree. 8 9 { 10 'targets': [ 11 { 12 'target_name': 'resampler', 13 'type': '<(library)', 14 'dependencies': [ 15 'signal_processing', 16 ], 17 'include_dirs': [ 18 'include', 19 ], 20 'direct_dependent_settings': { 21 'include_dirs': [ 22 'include', 23 ], 24 }, 25 'sources': [ 26 'include/resampler.h', 27 'resampler.cc', 28 ], 29 }, 30 ], # targets 31 'conditions': [ 32 ['build_with_chromium==0', { 33 'targets' : [ 34 { 35 'target_name': 'resampler_unittests', 36 'type': 'executable', 37 'dependencies': [ 38 'resampler', 39 '<(webrtc_root)/../test/test.gyp:test_support_main', 40 '<(webrtc_root)/../testing/gtest.gyp:gtest', 41 ], 42 'sources': [ 43 'resampler_unittest.cc', 44 ], 45 }, # resampler_unittests 46 ], # targets 47 }], # build_with_chromium 48 ], # conditions 49 } 50 51 # Local Variables: 52 # tab-width:2 53 # indent-tabs-mode:nil 54 # End: 55 # vim: set expandtab tabstop=2 shiftwidth=2: 56