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 'targets': [ 10 { 11 'target_name': 'g722', 12 'type': 'static_library', 13 'dependencies': [ 14 'audio_encoder_interface', 15 ], 16 'sources': [ 17 'audio_decoder_g722.cc', 18 'audio_decoder_g722.h', 19 'audio_encoder_g722.cc', 20 'audio_encoder_g722.h', 21 'g722_interface.c', 22 'g722_interface.h', 23 'g722_decode.c', 24 'g722_enc_dec.h', 25 'g722_encode.c', 26 ], 27 }, 28 ], # targets 29 'conditions': [ 30 ['include_tests==1', { 31 'targets': [ 32 { 33 'target_name': 'g722_test', 34 'type': 'executable', 35 'dependencies': [ 36 'g722', 37 ], 38 'sources': [ 39 'test/testG722.cc', 40 ], 41 }, 42 ], # targets 43 }], # include_tests 44 ], # conditions 45 } 46