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

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

Issue 2874403003: Remove gflags dependency for event_log_visualizer and activity_metric (Closed)
Patch Set: Implemented --help flag Created 3 years, 7 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/agc/activity_metric.cc » ('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("../webrtc.gni") 10 import("../webrtc.gni")
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 ] 237 ]
238 238
239 if (!build_with_chromium && is_clang) { 239 if (!build_with_chromium && is_clang) {
240 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 240 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
242 } 242 }
243 243
244 defines = [ "ENABLE_RTC_EVENT_LOG" ] 244 defines = [ "ENABLE_RTC_EVENT_LOG" ]
245 deps = [ 245 deps = [
246 ":event_log_visualizer_utils", 246 ":event_log_visualizer_utils",
247 "../base:rtc_base_approved",
247 "../test:field_trial", 248 "../test:field_trial",
248 "//third_party/gflags",
249 ] 249 ]
250 } 250 }
251 } 251 }
252 252
253 rtc_executable("activity_metric") { 253 rtc_executable("activity_metric") {
254 testonly = true 254 testonly = true
255 sources = [ 255 sources = [
256 "agc/activity_metric.cc", 256 "agc/activity_metric.cc",
257 ] 257 ]
258 258
259 if (!build_with_chromium && is_clang) { 259 if (!build_with_chromium && is_clang) {
260 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 260 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
261 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 261 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
262 } 262 }
263 263
264 deps = [ 264 deps = [
265 "../base:rtc_base_approved",
265 "../modules:module_api", 266 "../modules:module_api",
266 "../modules/audio_processing", 267 "../modules/audio_processing",
267 "../system_wrappers:metrics_default", 268 "../system_wrappers:metrics_default",
268 "../test:test_support", 269 "../test:test_support",
269 "//build/win:default_exe_manifest", 270 "//build/win:default_exe_manifest",
270 "//testing/gtest", 271 "//testing/gtest",
271 "//third_party/gflags",
272 ] 272 ]
273 } 273 }
274 274
275 tools_unittests_resources = [ 275 tools_unittests_resources = [
276 "//resources/foreman_cif.yuv", 276 "//resources/foreman_cif.yuv",
277 "//resources/reference_less_video_test_file.y4m", 277 "//resources/reference_less_video_test_file.y4m",
278 "//resources/video_quality_analysis_frame.txt", 278 "//resources/video_quality_analysis_frame.txt",
279 ] 279 ]
280 280
281 if (is_ios) { 281 if (is_ios) {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 ] 339 ]
340 outputs = [ 340 outputs = [
341 "$root_build_dir/{{source_file_part}}", 341 "$root_build_dir/{{source_file_part}}",
342 ] 342 ]
343 deps = [ 343 deps = [
344 "../logging:rtc_event_log_proto", 344 "../logging:rtc_event_log_proto",
345 ] 345 ]
346 } 346 }
347 } 347 }
348 } 348 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/agc/activity_metric.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698