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

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

Issue 2308553002: GN Templates: Add //build/config/sanitizers:deps to rtc_executable. (Closed)
Patch 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 | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/voice_engine/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("//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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 sources = [ 56 sources = [
57 "frame_analyzer/frame_analyzer.cc", 57 "frame_analyzer/frame_analyzer.cc",
58 ] 58 ]
59 59
60 configs += [ "..:common_config" ] 60 configs += [ "..:common_config" ]
61 public_configs = [ "..:common_inherited_config" ] 61 public_configs = [ "..:common_inherited_config" ]
62 62
63 deps = [ 63 deps = [
64 ":command_line_parser", 64 ":command_line_parser",
65 ":video_quality_analysis", 65 ":video_quality_analysis",
66 "//build/config/sanitizers:deps",
67 "//build/win:default_exe_manifest", 66 "//build/win:default_exe_manifest",
68 ] 67 ]
69 } 68 }
70 69
71 rtc_executable("psnr_ssim_analyzer") { 70 rtc_executable("psnr_ssim_analyzer") {
72 sources = [ 71 sources = [
73 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc", 72 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc",
74 ] 73 ]
75 74
76 configs += [ "..:common_config" ] 75 configs += [ "..:common_config" ]
77 public_configs = [ "..:common_inherited_config" ] 76 public_configs = [ "..:common_inherited_config" ]
78 77
79 deps = [ 78 deps = [
80 ":command_line_parser", 79 ":command_line_parser",
81 ":video_quality_analysis", 80 ":video_quality_analysis",
82 "//build/config/sanitizers:deps",
83 "//build/win:default_exe_manifest", 81 "//build/win:default_exe_manifest",
84 ] 82 ]
85 } 83 }
86 84
87 rtc_executable("rgba_to_i420_converter") { 85 rtc_executable("rgba_to_i420_converter") {
88 sources = [ 86 sources = [
89 "converter/converter.cc", 87 "converter/converter.cc",
90 "converter/converter.h", 88 "converter/converter.h",
91 "converter/rgba_to_i420_converter.cc", 89 "converter/rgba_to_i420_converter.cc",
92 ] 90 ]
93 91
94 configs += [ "..:common_config" ] 92 configs += [ "..:common_config" ]
95 public_configs = [ "..:common_inherited_config" ] 93 public_configs = [ "..:common_inherited_config" ]
96 94
97 deps = [ 95 deps = [
98 ":command_line_parser", 96 ":command_line_parser",
99 "../common_video", 97 "../common_video",
100 "//build/config/sanitizers:deps",
101 "//build/win:default_exe_manifest", 98 "//build/win:default_exe_manifest",
102 ] 99 ]
103 } 100 }
104 101
105 rtc_source_set("frame_editing_lib") { 102 rtc_source_set("frame_editing_lib") {
106 sources = [ 103 sources = [
107 "frame_editing/frame_editing_lib.cc", 104 "frame_editing/frame_editing_lib.cc",
108 "frame_editing/frame_editing_lib.h", 105 "frame_editing/frame_editing_lib.h",
109 ] 106 ]
110 107
(...skipping 18 matching lines...) Expand all
129 sources = [ 126 sources = [
130 "frame_editing/frame_editing.cc", 127 "frame_editing/frame_editing.cc",
131 ] 128 ]
132 129
133 configs += [ "..:common_config" ] 130 configs += [ "..:common_config" ]
134 public_configs = [ "..:common_inherited_config" ] 131 public_configs = [ "..:common_inherited_config" ]
135 132
136 deps = [ 133 deps = [
137 ":command_line_parser", 134 ":command_line_parser",
138 ":frame_editing_lib", 135 ":frame_editing_lib",
139 "//build/config/sanitizers:deps",
140 "//build/win:default_exe_manifest", 136 "//build/win:default_exe_manifest",
141 ] 137 ]
142 } 138 }
143 139
144 rtc_executable("force_mic_volume_max") { 140 rtc_executable("force_mic_volume_max") {
145 sources = [ 141 sources = [
146 "force_mic_volume_max/force_mic_volume_max.cc", 142 "force_mic_volume_max/force_mic_volume_max.cc",
147 ] 143 ]
148 144
149 configs += [ "..:common_config" ] 145 configs += [ "..:common_config" ]
150 public_configs = [ "..:common_inherited_config" ] 146 public_configs = [ "..:common_inherited_config" ]
151 147
152 if (is_clang) { 148 if (is_clang) {
153 # Suppress warnings from the Chromium Clang plugin. 149 # Suppress warnings from the Chromium Clang plugin.
154 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 150 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
155 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 151 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
156 } 152 }
157 153
158 deps = [ 154 deps = [
159 "../system_wrappers:system_wrappers_default", 155 "../system_wrappers:system_wrappers_default",
160 "../voice_engine", 156 "../voice_engine",
161 "//build/config/sanitizers:deps",
162 "//build/win:default_exe_manifest", 157 "//build/win:default_exe_manifest",
163 ] 158 ]
164 } 159 }
165 160
166 if (rtc_enable_protobuf) { 161 if (rtc_enable_protobuf) {
167 proto_library("graph_proto") { 162 proto_library("graph_proto") {
168 sources = [ 163 sources = [
169 "event_log_visualizer/graph.proto", 164 "event_log_visualizer/graph.proto",
170 ] 165 ]
171 proto_out_dir = "webrtc/tools/event_log_visualizer" 166 proto_out_dir = "webrtc/tools/event_log_visualizer"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 214
220 if (is_clang && !is_nacl) { 215 if (is_clang && !is_nacl) {
221 # Suppress warnings from the Chromium Clang plugin. 216 # Suppress warnings from the Chromium Clang plugin.
222 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 217 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
223 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 218 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
224 } 219 }
225 220
226 defines = [ "ENABLE_RTC_EVENT_LOG" ] 221 defines = [ "ENABLE_RTC_EVENT_LOG" ]
227 deps = [ 222 deps = [
228 ":event_log_visualizer_utils", 223 ":event_log_visualizer_utils",
229 "//build/config/sanitizers:deps",
230 "//third_party/gflags", 224 "//third_party/gflags",
231 ] 225 ]
232 } 226 }
233 } 227 }
234 228
235 rtc_executable("activity_metric") { 229 rtc_executable("activity_metric") {
236 testonly = true 230 testonly = true
237 sources = [ 231 sources = [
238 "agc/activity_metric.cc", 232 "agc/activity_metric.cc",
239 ] 233 ]
240 234
241 configs += [ "..:common_config" ] 235 configs += [ "..:common_config" ]
242 public_configs = [ "..:common_inherited_config" ] 236 public_configs = [ "..:common_inherited_config" ]
243 237
244 if (is_clang) { 238 if (is_clang) {
245 # Suppress warnings from the Chromium Clang plugin. 239 # Suppress warnings from the Chromium Clang plugin.
246 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 240 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
247 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
248 } 242 }
249 243
250 deps = [ 244 deps = [
251 "../modules/audio_processing", 245 "../modules/audio_processing",
252 "../system_wrappers:metrics_default", 246 "../system_wrappers:metrics_default",
253 "//build/config/sanitizers:deps",
254 "//build/win:default_exe_manifest", 247 "//build/win:default_exe_manifest",
255 "//testing/gtest", 248 "//testing/gtest",
256 "//third_party/gflags", 249 "//third_party/gflags",
257 ] 250 ]
258 } 251 }
259 252
260 rtc_executable("audio_e2e_harness") { 253 rtc_executable("audio_e2e_harness") {
261 testonly = true 254 testonly = true
262 sources = [ 255 sources = [
263 "e2e_quality/audio/audio_e2e_harness.cc", 256 "e2e_quality/audio/audio_e2e_harness.cc",
264 ] 257 ]
265 258
266 configs += [ "..:common_config" ] 259 configs += [ "..:common_config" ]
267 public_configs = [ "..:common_inherited_config" ] 260 public_configs = [ "..:common_inherited_config" ]
268 261
269 if (is_clang) { 262 if (is_clang) {
270 # Suppress warnings from the Chromium Clang plugin. 263 # Suppress warnings from the Chromium Clang plugin.
271 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 264 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
272 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 265 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
273 } 266 }
274 267
275 deps = [ 268 deps = [
276 "../system_wrappers:system_wrappers_default", 269 "../system_wrappers:system_wrappers_default",
277 "../test:channel_transport", 270 "../test:channel_transport",
278 "../voice_engine", 271 "../voice_engine",
279 "//build/config/sanitizers:deps",
280 "//build/win:default_exe_manifest", 272 "//build/win:default_exe_manifest",
281 "//testing/gtest", 273 "//testing/gtest",
282 "//third_party/gflags", 274 "//third_party/gflags",
283 ] 275 ]
284 } 276 }
285 277
286 if (is_android || is_ios) { 278 if (is_android || is_ios) {
287 tools_unittests_resources = [ "//resources/foreman_cif.yuv" ] 279 tools_unittests_resources = [ "//resources/foreman_cif.yuv" ]
288 } 280 }
289 281
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 ] 338 ]
347 outputs = [ 339 outputs = [
348 "$root_build_dir/{{source_file_part}}", 340 "$root_build_dir/{{source_file_part}}",
349 ] 341 ]
350 deps = [ 342 deps = [
351 "..:rtc_event_log_proto", 343 "..:rtc_event_log_proto",
352 ] 344 ]
353 } 345 }
354 } 346 }
355 } 347 }
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698