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

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

Issue 2301053002: GN: Introduce templates. (Closed)
Patch Set: Rebase Created 4 years, 3 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 | « webrtc/modules/audio_conference_mixer/BUILD.gn ('k') | webrtc/modules/audio_mixer/BUILD.gn » ('j') | 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 30 matching lines...) Expand all
41 "-Wno-tautological-compare", 41 "-Wno-tautological-compare",
42 42
43 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6265 43 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6265
44 # for -Wno-thread-safety-analysis 44 # for -Wno-thread-safety-analysis
45 "-Wno-thread-safety-analysis", 45 "-Wno-thread-safety-analysis",
46 "-Wno-unused-private-field", 46 "-Wno-unused-private-field",
47 ] 47 ]
48 } 48 }
49 } 49 }
50 50
51 source_set("audio_device") { 51 rtc_source_set("audio_device") {
52 configs += [ "../..:common_config" ] 52 configs += [ "../..:common_config" ]
53 public_configs = [ 53 public_configs = [
54 "../..:common_inherited_config", 54 "../..:common_inherited_config",
55 ":audio_device_config", 55 ":audio_device_config",
56 ] 56 ]
57 57
58 deps = [ 58 deps = [
59 "../..:webrtc_common", 59 "../..:webrtc_common",
60 "../../base:rtc_base", 60 "../../base:rtc_base",
61 "../../base:rtc_base_approved", 61 "../../base:rtc_base_approved",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 sources += [ 233 sources += [
234 # Do not link these into Chrome since they contain static data. 234 # Do not link these into Chrome since they contain static data.
235 "dummy/file_audio_device_factory.cc", 235 "dummy/file_audio_device_factory.cc",
236 "dummy/file_audio_device_factory.h", 236 "dummy/file_audio_device_factory.h",
237 ] 237 ]
238 } 238 }
239 239
240 if (is_clang) { 240 if (is_clang) {
241 # Suppress warnings from Chrome's Clang plugins. 241 # Suppress warnings from Chrome's Clang plugins.
242 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 242 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
243 configs -= [ "//build/config/clang:find_bad_constructs" ] 243 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
244 } 244 }
245 } 245 }
246 246
247 # These tests do not work on ios, see 247 # These tests do not work on ios, see
248 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 248 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
249 if (rtc_include_tests && !is_ios) { 249 if (rtc_include_tests && !is_ios) {
250 executable("audio_device_tests") { 250 rtc_executable("audio_device_tests") {
251 testonly = true 251 testonly = true
252 sources = [ 252 sources = [
253 "test/audio_device_test_api.cc", 253 "test/audio_device_test_api.cc",
254 "test/audio_device_test_defines.h", 254 "test/audio_device_test_defines.h",
255 ] 255 ]
256 deps = [ 256 deps = [
257 ":audio_device", 257 ":audio_device",
258 "../..:webrtc_common", 258 "../..:webrtc_common",
259 "../../system_wrappers", 259 "../../system_wrappers",
260 "../../test:test_support", 260 "../../test:test_support",
261 "../../test:test_support_main", 261 "../../test:test_support_main",
262 "../rtp_rtcp", 262 "../rtp_rtcp",
263 "../utility", 263 "../utility",
264 "//build/config/sanitizers:deps", 264 "//build/config/sanitizers:deps",
265 "//testing/gtest", 265 "//testing/gtest",
266 ] 266 ]
267 configs += [ "../..:common_config" ] 267 configs += [ "../..:common_config" ]
268 public_configs = [ 268 public_configs = [
269 "../..:common_inherited_config", 269 "../..:common_inherited_config",
270 ":audio_device_config", 270 ":audio_device_config",
271 ] 271 ]
272 } 272 }
273 } 273 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_conference_mixer/BUILD.gn ('k') | webrtc/modules/audio_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698