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

Side by Side Diff: webrtc/tools/BUILD.gn

Issue 2268183007: Don't use VoE legacy APIs in force_mic_volume_max tool. (Closed)
Patch Set: Exclude force_mic_volume_max target when rtc_include_internal_audio_device not set. 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 | « no previous file | webrtc/tools/DEPS » ('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("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 "frame_editing/frame_editing.cc", 110 "frame_editing/frame_editing.cc",
111 ] 111 ]
112 112
113 deps = [ 113 deps = [
114 ":command_line_parser", 114 ":command_line_parser",
115 ":frame_editing_lib", 115 ":frame_editing_lib",
116 "//build/win:default_exe_manifest", 116 "//build/win:default_exe_manifest",
117 ] 117 ]
118 } 118 }
119 119
120 rtc_executable("force_mic_volume_max") { 120 # It doesn't make sense to build this tool without the ADM enabled.
121 sources = [ 121 if (rtc_include_internal_audio_device) {
122 "force_mic_volume_max/force_mic_volume_max.cc", 122 rtc_executable("force_mic_volume_max") {
123 ] 123 sources = [
124 "force_mic_volume_max/force_mic_volume_max.cc",
125 ]
124 126
125 if (is_clang) { 127 if (is_clang) {
126 # Suppress warnings from the Chromium Clang plugin. 128 # Suppress warnings from the Chromium Clang plugin.
127 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 129 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 130 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
131 }
132
133 deps = [
134 "../modules/audio_device:audio_device",
135 "../system_wrappers:system_wrappers_default",
136 "//build/win:default_exe_manifest",
137 ]
129 } 138 }
130
131 deps = [
132 "../system_wrappers:system_wrappers_default",
133 "../voice_engine",
134 "//build/win:default_exe_manifest",
135 ]
136 } 139 }
137 140
138 if (rtc_enable_protobuf) { 141 if (rtc_enable_protobuf) {
139 proto_library("chart_proto") { 142 proto_library("chart_proto") {
140 sources = [ 143 sources = [
141 "event_log_visualizer/chart.proto", 144 "event_log_visualizer/chart.proto",
142 ] 145 ]
143 proto_out_dir = "webrtc/tools/event_log_visualizer" 146 proto_out_dir = "webrtc/tools/event_log_visualizer"
144 } 147 }
145 148
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 ] 304 ]
302 outputs = [ 305 outputs = [
303 "$root_build_dir/{{source_file_part}}", 306 "$root_build_dir/{{source_file_part}}",
304 ] 307 ]
305 deps = [ 308 deps = [
306 "..:rtc_event_log_proto", 309 "..:rtc_event_log_proto",
307 ] 310 ]
308 } 311 }
309 } 312 }
310 } 313 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698