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

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

Issue 2799633002: Enabling 'gn check' on //webrtc/tools. (Closed)
Patch Set: Created 3 years, 8 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 | « .gn ('k') | no next file » | 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 30 matching lines...) Expand all
41 } 41 }
42 } 42 }
43 43
44 rtc_static_library("command_line_parser") { 44 rtc_static_library("command_line_parser") {
45 sources = [ 45 sources = [
46 "simple_command_line_parser.cc", 46 "simple_command_line_parser.cc",
47 "simple_command_line_parser.h", 47 "simple_command_line_parser.h",
48 ] 48 ]
49 deps = [ 49 deps = [
50 "../base:gtest_prod", 50 "../base:gtest_prod",
51 "../base:rtc_base_approved",
51 ] 52 ]
52 } 53 }
53 54
54 rtc_static_library("video_quality_analysis") { 55 rtc_static_library("video_quality_analysis") {
55 sources = [ 56 sources = [
56 "frame_analyzer/video_quality_analysis.cc", 57 "frame_analyzer/video_quality_analysis.cc",
57 "frame_analyzer/video_quality_analysis.h", 58 "frame_analyzer/video_quality_analysis.h",
58 ] 59 ]
59 60
60 deps = [ 61 deps = [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 # TODO(jschuh): Bug 1348: fix this warning. 136 # TODO(jschuh): Bug 1348: fix this warning.
136 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 137 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
137 138
138 if (!build_with_chromium && is_clang) { 139 if (!build_with_chromium && is_clang) {
139 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 140 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
140 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
141 } 142 }
142 143
143 deps = [ 144 deps = [
145 "..:webrtc_common",
144 "../common_video", 146 "../common_video",
145 ] 147 ]
146 } 148 }
147 149
148 rtc_executable("frame_editor") { 150 rtc_executable("frame_editor") {
149 sources = [ 151 sources = [
150 "frame_editing/frame_editing.cc", 152 "frame_editing/frame_editing.cc",
151 ] 153 ]
152 154
153 deps = [ 155 deps = [
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "event_log_visualizer/plot_protobuf.h", 197 "event_log_visualizer/plot_protobuf.h",
196 "event_log_visualizer/plot_python.cc", 198 "event_log_visualizer/plot_python.cc",
197 "event_log_visualizer/plot_python.h", 199 "event_log_visualizer/plot_python.h",
198 ] 200 ]
199 if (!build_with_chromium && is_clang) { 201 if (!build_with_chromium && is_clang) {
200 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 202 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
201 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 203 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
202 } 204 }
203 defines = [ "ENABLE_RTC_EVENT_LOG" ] 205 defines = [ "ENABLE_RTC_EVENT_LOG" ]
204 deps = [ 206 deps = [
207 "../base:rtc_base_approved",
205 "../call:call_interfaces", 208 "../call:call_interfaces",
206 "../logging:rtc_event_log_impl", 209 "../logging:rtc_event_log_impl",
207 "../logging:rtc_event_log_parser", 210 "../logging:rtc_event_log_parser",
208 "../modules/audio_coding:ana_debug_dump_proto", 211 "../modules/audio_coding:ana_debug_dump_proto",
209 212
210 # TODO(kwiberg): Remove this dependency. 213 # TODO(kwiberg): Remove this dependency.
211 "../api/audio_codecs:audio_codecs_api", 214 "../api/audio_codecs:audio_codecs_api",
212 "../modules/congestion_controller", 215 "../modules/congestion_controller",
213 "../modules/rtp_rtcp", 216 "../modules/rtp_rtcp",
214 "../system_wrappers:system_wrappers_default", 217 "../system_wrappers:system_wrappers_default",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 ] 254 ]
252 255
253 if (!build_with_chromium && is_clang) { 256 if (!build_with_chromium && is_clang) {
254 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 257 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
255 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 258 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
256 } 259 }
257 260
258 deps = [ 261 deps = [
259 "../modules/audio_processing", 262 "../modules/audio_processing",
260 "../system_wrappers:metrics_default", 263 "../system_wrappers:metrics_default",
264 "../test:test_support",
261 "//build/win:default_exe_manifest", 265 "//build/win:default_exe_manifest",
262 "//testing/gtest", 266 "//testing/gtest",
263 "//third_party/gflags", 267 "//third_party/gflags",
264 ] 268 ]
265 } 269 }
266 270
267 tools_unittests_resources = [ 271 tools_unittests_resources = [
268 "//resources/foreman_cif.yuv", 272 "//resources/foreman_cif.yuv",
269 "//resources/reference_less_video_test_file.y4m", 273 "//resources/reference_less_video_test_file.y4m",
270 "//resources/video_quality_analysis_frame.txt", 274 "//resources/video_quality_analysis_frame.txt",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 ] 331 ]
328 outputs = [ 332 outputs = [
329 "$root_build_dir/{{source_file_part}}", 333 "$root_build_dir/{{source_file_part}}",
330 ] 334 ]
331 deps = [ 335 deps = [
332 "../logging:rtc_event_log_proto", 336 "../logging:rtc_event_log_proto",
333 ] 337 ]
334 } 338 }
335 } 339 }
336 } 340 }
OLDNEW
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698