OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'targets': [ | 10 'targets': [ |
(...skipping 18 matching lines...) Expand all Loading... |
29 'fec_controller.h', | 29 'fec_controller.h', |
30 'fec_controller.cc', | 30 'fec_controller.cc', |
31 'frame_length_controller.cc', | 31 'frame_length_controller.cc', |
32 'frame_length_controller.h', | 32 'frame_length_controller.h', |
33 'include/audio_network_adaptor.h', | 33 'include/audio_network_adaptor.h', |
34 'smoothing_filter.h', | 34 'smoothing_filter.h', |
35 'smoothing_filter.cc', | 35 'smoothing_filter.cc', |
36 ], # sources | 36 ], # sources |
37 'conditions': [ | 37 'conditions': [ |
38 ['enable_protobuf==1', { | 38 ['enable_protobuf==1', { |
39 'dependencies': ['ana_debug_dump_proto'], | 39 'dependencies': [ |
| 40 'ana_config_proto', |
| 41 'ana_debug_dump_proto', |
| 42 ], |
40 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], | 43 'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], |
41 }], | 44 }], |
42 ], # conditions | 45 ], # conditions |
43 }, | 46 }, |
44 ], # targets | 47 ], # targets |
45 | 48 |
46 'conditions': [ | 49 'conditions': [ |
47 ['enable_protobuf==1', { | 50 ['enable_protobuf==1', { |
48 'targets': [ | 51 'targets': [ |
49 { 'target_name': 'ana_debug_dump_proto', | 52 { 'target_name': 'ana_debug_dump_proto', |
50 'type': 'static_library', | 53 'type': 'static_library', |
51 'sources': ['debug_dump.proto',], | 54 'sources': ['debug_dump.proto',], |
52 'variables': { | 55 'variables': { |
53 'proto_in_dir': '.', | 56 'proto_in_dir': '.', |
54 # Workaround to protect against gyp's pathname relativization when | 57 # Workaround to protect against gyp's pathname relativization when |
55 # this file is included by modules.gyp. | 58 # this file is included by modules.gyp. |
56 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', | 59 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', |
57 'proto_out_dir': '<(proto_out_protected)', | 60 'proto_out_dir': '<(proto_out_protected)', |
58 }, | 61 }, |
59 'includes': ['../../../build/protoc.gypi',], | 62 'includes': ['../../../build/protoc.gypi',], |
60 }, | 63 }, |
| 64 { 'target_name': 'ana_config_proto', |
| 65 'type': 'static_library', |
| 66 'sources': ['config.proto',], |
| 67 'variables': { |
| 68 'proto_in_dir': '.', |
| 69 # Workaround to protect against gyp's pathname relativization when |
| 70 # this file is included by modules.gyp. |
| 71 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_ad
aptor', |
| 72 'proto_out_dir': '<(proto_out_protected)', |
| 73 }, |
| 74 'includes': ['../../../build/protoc.gypi',], |
| 75 }, |
61 ], # targets | 76 ], # targets |
62 }], | 77 }], |
63 ], # conditions | 78 ], # conditions |
64 } | 79 } |
OLD | NEW |