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': 'g711', 13 'type': 'static_library', 14 'dependencies': [ 15 'audio_encoder_interface', 16 ], 17 'sources': [ 18 'audio_decoder_pcm.cc', 19 'audio_decoder_pcm.h', 20 'audio_encoder_pcm.cc', 21 'audio_encoder_pcm.h', 22 'g711_interface.c', 23 'g711_interface.h', 24 'g711.c', 25 'g711.h', 26 ], 27 }, 28 ], # targets 29 'conditions': [ 30 ['include_tests==1', { 31 'targets': [ 32 { 33 'target_name': 'g711_test', 34 'type': 'executable', 35 'dependencies': [ 36 'g711', 37 ], 38 'sources': [ 39 'test/testG711.cc', 40 ], 41 }, 42 ], # targets 43 }], # include_tests 44 ], # conditions 45 } 46