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 'include_dirs': [ 14 'include', 15 '<(webrtc_root)', 16 ], 17 'direct_dependent_settings': { 18 'include_dirs': [ 19 'include', 20 '<(webrtc_root)', 21 ], 22 }, 23 'sources': [ 24 'include/g722_interface.h', 25 'g722_interface.c', 26 'g722_encode.c', 27 'g722_decode.c', 28 'g722_enc_dec.h', 29 ], 30 }, 31 ], # targets 32 'conditions': [ 33 ['include_tests==1', { 34 'targets': [ 35 { 36 'target_name': 'G722Test', 37 'type': 'executable', 38 'dependencies': [ 39 'G722', 40 ], 41 'sources': [ 42 'test/testG722.cc', 43 ], 44 }, 45 ], # targets 46 }], # include_tests 47 ], # conditions 48 } 49