OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 if (is_win) { | 62 if (is_win) { |
63 include_dirs += [ "win" ] | 63 include_dirs += [ "win" ] |
64 } | 64 } |
65 if (is_android) { | 65 if (is_android) { |
66 include_dirs += [ "android" ] | 66 include_dirs += [ "android" ] |
67 } | 67 } |
68 defines = [] | 68 defines = [] |
69 cflags = [] | 69 cflags = [] |
70 if (rtc_include_internal_audio_device) { | 70 if (rtc_include_internal_audio_device) { |
71 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] | |
72 sources += [ | 71 sources += [ |
73 "audio_device_impl.cc", | 72 "audio_device_impl.cc", |
74 "audio_device_impl.h", | 73 "audio_device_impl.h", |
75 ] | 74 ] |
76 if (is_android) { | 75 if (is_android) { |
77 sources += [ | 76 sources += [ |
78 "android/audio_device_template.h", | 77 "android/audio_device_template.h", |
79 "android/audio_manager.cc", | 78 "android/audio_manager.cc", |
80 "android/audio_manager.h", | 79 "android/audio_manager.h", |
81 "android/audio_record_jni.cc", | 80 "android/audio_record_jni.cc", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 "../..:common_inherited_config", | 200 "../..:common_inherited_config", |
202 ":audio_device_config", | 201 ":audio_device_config", |
203 ] | 202 ] |
204 | 203 |
205 if (is_clang) { | 204 if (is_clang) { |
206 # Suppress warnings from Chrome's Clang plugins. | 205 # Suppress warnings from Chrome's Clang plugins. |
207 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 206 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
208 configs -= [ "//build/config/clang:find_bad_constructs" ] | 207 configs -= [ "//build/config/clang:find_bad_constructs" ] |
209 } | 208 } |
210 } | 209 } |
OLD | NEW |