Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2216423002: Add gn target for audio_device_tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5748 22 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5748
23 cflags = [ "-Wno-thread-safety-analysis" ] 23 cflags = [ "-Wno-thread-safety-analysis" ]
24 } 24 }
25 } 25 }
26 26
27 source_set("audio_device") { 27 source_set("audio_device") {
28 deps = [ 28 deps = [
29 "../..:webrtc_common", 29 "../..:webrtc_common",
30 "../../base:rtc_base", 30 "../../base:rtc_base",
31 "../../base:rtc_base_approved", 31 "../../base:rtc_base_approved",
32 "../../base:rtc_task_queue",
32 "../../common_audio", 33 "../../common_audio",
33 "../../system_wrappers", 34 "../../system_wrappers",
34 "../utility", 35 "../utility",
35 ] 36 ]
36 37
37 sources = [ 38 sources = [
38 "audio_device_buffer.cc", 39 "audio_device_buffer.cc",
39 "audio_device_buffer.h", 40 "audio_device_buffer.h",
40 "audio_device_config.h", 41 "audio_device_config.h",
41 "audio_device_generic.cc", 42 "audio_device_generic.cc",
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "../..:common_inherited_config", 204 "../..:common_inherited_config",
204 ":audio_device_config", 205 ":audio_device_config",
205 ] 206 ]
206 207
207 if (is_clang) { 208 if (is_clang) {
208 # Suppress warnings from Chrome's Clang plugins. 209 # Suppress warnings from Chrome's Clang plugins.
209 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 210 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
210 configs -= [ "//build/config/clang:find_bad_constructs" ] 211 configs -= [ "//build/config/clang:find_bad_constructs" ]
211 } 212 }
212 } 213 }
214
215 # These tests do not work on ios, see
216 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
217 if (rtc_include_tests && !is_ios) {
218 executable("audio_device_tests") {
219 testonly = true
220 sources = [
221 "test/audio_device_test_api.cc",
222 "test/audio_device_test_defines.h",
223 ]
224 deps = [
225 ":audio_device",
226 "../..:webrtc_common",
227 "../../system_wrappers",
228 "../../test:test_support",
229 "../../test:test_support_main",
230 "../rtp_rtcp",
231 "../utility",
232 "//testing/gtest",
233 ]
234 configs += [ "../..:common_config" ]
235 public_configs = [
236 "../..:common_inherited_config",
237 ":audio_device_config",
238 ]
239 }
240 }
OLDNEW
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698