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

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

Issue 2976363002: Decoupling rtc_base from apple specific code [without cyclic deps] (Closed)
Patch Set: fixing network_tester_server Created 3 years, 5 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/rtc_base/BUILD.gn ('k') | webrtc/rtc_tools/network_tester/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("../webrtc.gni") 10 import("../webrtc.gni")
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 if (!build_with_chromium && is_clang) { 170 if (!build_with_chromium && is_clang) {
171 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 171 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
173 } 173 }
174 174
175 deps = [ 175 deps = [
176 "../modules/audio_device", 176 "../modules/audio_device",
177 "../system_wrappers:system_wrappers_default", 177 "../system_wrappers:system_wrappers_default",
178 "//build/win:default_exe_manifest", 178 "//build/win:default_exe_manifest",
179 ] 179 ]
180 if (is_ios) {
181 deps += [ "../rtc_base:rtc_base_apple" ]
182 }
180 } 183 }
181 } 184 }
182 185
183 if (rtc_enable_protobuf) { 186 if (rtc_enable_protobuf) {
184 proto_library("chart_proto") { 187 proto_library("chart_proto") {
185 sources = [ 188 sources = [
186 "event_log_visualizer/chart.proto", 189 "event_log_visualizer/chart.proto",
187 ] 190 ]
188 proto_out_dir = "webrtc/rtc_tools/event_log_visualizer" 191 proto_out_dir = "webrtc/rtc_tools/event_log_visualizer"
189 } 192 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 245 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
243 } 246 }
244 247
245 defines = [ "ENABLE_RTC_EVENT_LOG" ] 248 defines = [ "ENABLE_RTC_EVENT_LOG" ]
246 deps = [ 249 deps = [
247 ":event_log_visualizer_utils", 250 ":event_log_visualizer_utils",
248 "../base:rtc_base_approved", 251 "../base:rtc_base_approved",
249 "../test:field_trial", 252 "../test:field_trial",
250 "../test:test_support", 253 "../test:test_support",
251 ] 254 ]
255 if (is_ios) {
256 deps += [ "../rtc_base:rtc_base_apple" ]
257 }
252 } 258 }
253 } 259 }
254 260
255 rtc_executable("activity_metric") { 261 rtc_executable("activity_metric") {
256 testonly = true 262 testonly = true
257 sources = [ 263 sources = [
258 "agc/activity_metric.cc", 264 "agc/activity_metric.cc",
259 ] 265 ]
260 266
261 if (!build_with_chromium && is_clang) { 267 if (!build_with_chromium && is_clang) {
262 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 268 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
264 } 270 }
265 271
266 deps = [ 272 deps = [
267 "../base:rtc_base_approved", 273 "../base:rtc_base_approved",
268 "../modules:module_api", 274 "../modules:module_api",
269 "../modules/audio_processing", 275 "../modules/audio_processing",
270 "../system_wrappers:metrics_default", 276 "../system_wrappers:metrics_default",
271 "../test:test_support", 277 "../test:test_support",
272 "//build/win:default_exe_manifest", 278 "//build/win:default_exe_manifest",
273 "//testing/gtest", 279 "//testing/gtest",
274 ] 280 ]
281
282 if (is_ios) {
283 deps += [ "../rtc_base:rtc_base_apple" ]
284 }
275 } 285 }
276 286
277 tools_unittests_resources = [ 287 tools_unittests_resources = [
278 "../../resources/foreman_cif.yuv", 288 "../../resources/foreman_cif.yuv",
279 "../../resources/reference_less_video_test_file.y4m", 289 "../../resources/reference_less_video_test_file.y4m",
280 "../../resources/video_quality_analysis_frame.txt", 290 "../../resources/video_quality_analysis_frame.txt",
281 ] 291 ]
282 292
283 if (is_ios) { 293 if (is_ios) {
284 bundle_data("tools_unittests_bundle_data") { 294 bundle_data("tools_unittests_bundle_data") {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 } 332 }
323 333
324 data = tools_unittests_resources 334 data = tools_unittests_resources
325 if (is_android) { 335 if (is_android) {
326 deps += [ "//testing/android/native_test:native_test_support" ] 336 deps += [ "//testing/android/native_test:native_test_support" ]
327 shard_timeout = 900 337 shard_timeout = 900
328 } 338 }
329 if (is_ios) { 339 if (is_ios) {
330 deps += [ ":tools_unittests_bundle_data" ] 340 deps += [ ":tools_unittests_bundle_data" ]
331 } 341 }
342 if (is_ios || is_mac) {
343 deps += [ "../rtc_base:rtc_base_apple" ]
344 }
332 } 345 }
333 346
334 if (rtc_enable_protobuf) { 347 if (rtc_enable_protobuf) {
335 copy("rtp_analyzer") { 348 copy("rtp_analyzer") {
336 sources = [ 349 sources = [
337 "py_event_log_analyzer/misc.py", 350 "py_event_log_analyzer/misc.py",
338 "py_event_log_analyzer/pb_parse.py", 351 "py_event_log_analyzer/pb_parse.py",
339 "py_event_log_analyzer/rtp_analyzer.py", 352 "py_event_log_analyzer/rtp_analyzer.py",
340 "py_event_log_analyzer/rtp_analyzer.sh", 353 "py_event_log_analyzer/rtp_analyzer.sh",
341 ] 354 ]
342 outputs = [ 355 outputs = [
343 "$root_build_dir/{{source_file_part}}", 356 "$root_build_dir/{{source_file_part}}",
344 ] 357 ]
345 deps = [ 358 deps = [
346 "../logging:rtc_event_log_proto", 359 "../logging:rtc_event_log_proto",
347 ] 360 ]
348 } 361 }
349 } 362 }
350 } 363 }
OLDNEW
« no previous file with comments | « webrtc/rtc_base/BUILD.gn ('k') | webrtc/rtc_tools/network_tester/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698