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

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

Issue 2629923002: GN: Refactor modules_unittests to eliminate package boundary violations. (Closed)
Patch Set: Addressing comments. Created 3 years, 11 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_device/BUILD.gn ('k') | webrtc/modules/audio_processing/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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 sources = [ 51 sources = [
52 "audio_frame_manipulator.cc", 52 "audio_frame_manipulator.cc",
53 "audio_frame_manipulator.h", 53 "audio_frame_manipulator.h",
54 ] 54 ]
55 55
56 deps = [ 56 deps = [
57 "../../audio/utility", 57 "../../audio/utility",
58 "../../base:rtc_base_approved", 58 "../../base:rtc_base_approved",
59 ] 59 ]
60 } 60 }
61
62 if (rtc_include_tests) {
63 rtc_source_set("audio_mixer_unittests") {
64 # When enabled, fails with error audio_mixer_impl_unittest.cc includes a
65 # private header. Fie default_output_rate_calculator.h is private to the
66 # target :audio_mixer_impl
67 check_includes = false
68 testonly = true
69 sources = [
70 "audio_frame_manipulator_unittest.cc",
71 "audio_mixer_impl_unittest.cc",
72 ]
73 deps = [
74 ":audio_frame_manipulator",
75 ":audio_mixer_impl",
76 "../../api:audio_mixer_api",
77 "../../base:rtc_base",
78 "../../base:rtc_base_approved",
79 "../../test:test_support",
80 "//testing/gmock",
81 ]
82
83 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
84 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
85 if (!build_with_chromium && is_clang) {
86 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
87 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
88 }
89 }
90 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/BUILD.gn ('k') | webrtc/modules/audio_processing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698