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

Side by Side Diff: webrtc/BUILD.gn

Issue 2337463002: Fixed video_loopback target. (Closed)
Patch Set: Moved video_loopback target to already existing if block 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 | 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 ] 276 ]
277 } 277 }
278 278
279 if (rtc_enable_protobuf) { 279 if (rtc_enable_protobuf) {
280 defines += [ "ENABLE_RTC_EVENT_LOG" ] 280 defines += [ "ENABLE_RTC_EVENT_LOG" ]
281 deps += [ ":rtc_event_log_proto" ] 281 deps += [ ":rtc_event_log_proto" ]
282 } 282 }
283 } 283 }
284 } 284 }
285 285
286 if (!build_with_chromium) {
287 rtc_executable("webrtc_tests") {
288 testonly = true
289 deps = [
290 ":webrtc",
291 "modules/video_capture:video_capture_internal_impl",
292 "test",
293 ]
294 }
295
296 rtc_executable("video_loopback") {
297 testonly = true
298 sources = [
299 "test/run_test.h",
300 "video/video_loopback.cc",
301 ]
302
303 if (is_mac) {
304 sources += [ "test/mac/run_test.mm" ]
305 } else {
306 sources += [ "test/run_test.cc" ]
307 }
308 deps = [
309 ":video_quality_test",
310 "system_wrappers:metrics_default",
311 "test:field_trial",
312 "test:test_common",
313 "test:test_renderer",
314 "//testing/gmock",
315 "//testing/gtest",
316 "//third_party/gflags",
317 ]
318 if (is_clang && !is_nacl) {
319 # Suppress warnings from Chrome's Clang plugins.
320 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
322 }
323 }
324 }
325
326 rtc_source_set("webrtc_common") { 286 rtc_source_set("webrtc_common") {
327 sources = [ 287 sources = [
328 "common_types.cc", 288 "common_types.cc",
329 "common_types.h", 289 "common_types.h",
330 "config.cc", 290 "config.cc",
331 "config.h", 291 "config.h",
332 "engine_configurations.h", 292 "engine_configurations.h",
333 "typedefs.h", 293 "typedefs.h",
334 ] 294 ]
335 295
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 if (is_ios) { 702 if (is_ios) {
743 bundle_data("webrtc_perf_tests_bundle_data") { 703 bundle_data("webrtc_perf_tests_bundle_data") {
744 testonly = true 704 testonly = true
745 sources = webrtc_perf_tests_resources 705 sources = webrtc_perf_tests_resources
746 outputs = [ 706 outputs = [
747 "{{bundle_resources_dir}}/{{source_file_part}}", 707 "{{bundle_resources_dir}}/{{source_file_part}}",
748 ] 708 ]
749 } 709 }
750 } 710 }
751 711
712 if (!build_with_chromium) {
kjellander_webrtc 2016/09/13 11:30:51 Please remove the whole if(!build_with_chromium) b
713 rtc_executable("webrtc_tests") {
714 testonly = true
715 deps = [
716 ":webrtc",
717 "modules/video_capture:video_capture_internal_impl",
718 "test",
719 ]
720 }
721
722 rtc_executable("video_loopback") {
723 testonly = true
724 sources = [
725 "test/run_test.h",
726 "video/video_loopback.cc",
727 ]
728
729 if (is_mac) {
730 sources += [ "test/mac/run_test.mm" ]
731 } else {
732 sources += [ "test/run_test.cc" ]
733 }
734 deps = [
735 ":video_quality_test",
736 "system_wrappers:metrics_default",
737 "test:field_trial",
738 "test:test_common",
739 "test:test_renderer",
740 "//testing/gmock",
741 "//testing/gtest",
742 "//third_party/gflags",
743 ]
744 if (is_clang && !is_nacl) {
745 # Suppress warnings from Chrome's Clang plugins.
746 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
747 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
748 }
749 }
750 }
751
752 rtc_test("webrtc_perf_tests") { 752 rtc_test("webrtc_perf_tests") {
753 testonly = true 753 testonly = true
754 configs += [ ":rtc_unittests_config" ] 754 configs += [ ":rtc_unittests_config" ]
755 755
756 sources = [ 756 sources = [
757 "call/call_perf_tests.cc", 757 "call/call_perf_tests.cc",
758 "call/rampup_tests.cc", 758 "call/rampup_tests.cc",
759 "call/rampup_tests.h", 759 "call/rampup_tests.h",
760 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc", 760 "modules/audio_coding/neteq/test/neteq_performance_unittest.cc",
761 "modules/audio_processing/audio_processing_performance_unittest.cc", 761 "modules/audio_processing/audio_processing_performance_unittest.cc",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 if (is_mac) { 821 if (is_mac) {
822 sources += [ "base/macsocketserver_unittest.cc" ] 822 sources += [ "base/macsocketserver_unittest.cc" ]
823 } 823 }
824 if (is_clang) { 824 if (is_clang) {
825 # Suppress warnings from the Chromium Clang plugin. 825 # Suppress warnings from the Chromium Clang plugin.
826 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 826 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
827 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 827 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
828 } 828 }
829 } 829 }
830 } 830 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698