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

Side by Side Diff: webrtc/BUILD.gn

Issue 2440963002: GN: Move xmllite_xmpp_unittests into webrtc/libjingle (Closed)
Patch Set: Rebased Created 4 years, 1 month 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/build/gn_isolate_map.pyl » ('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 # 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 testonly = true 288 testonly = true
289 289
290 # Only the root target should depend on this. 290 # Only the root target should depend on this.
291 visibility = [ "//:default" ] 291 visibility = [ "//:default" ]
292 292
293 deps = [ 293 deps = [
294 ":rtc_unittests", 294 ":rtc_unittests",
295 ":video_engine_tests", 295 ":video_engine_tests",
296 ":webrtc_nonparallel_tests", 296 ":webrtc_nonparallel_tests",
297 ":webrtc_perf_tests", 297 ":webrtc_perf_tests",
298 ":xmllite_xmpp_unittests",
299 "api:peerconnection_unittests", 298 "api:peerconnection_unittests",
300 "common_audio:common_audio_unittests", 299 "common_audio:common_audio_unittests",
301 "common_video:common_video_unittests", 300 "common_video:common_video_unittests",
301 "libjingle:xmllite_xmpp_unittests",
302 "media:rtc_media_unittests", 302 "media:rtc_media_unittests",
303 "modules:modules_tests", 303 "modules:modules_tests",
304 "modules:modules_unittests", 304 "modules:modules_unittests",
305 "modules/audio_coding:audio_coding_tests", 305 "modules/audio_coding:audio_coding_tests",
306 "modules/audio_processing:audio_processing_tests", 306 "modules/audio_processing:audio_processing_tests",
307 "modules/rtp_rtcp:test_packet_masks_metrics", 307 "modules/rtp_rtcp:test_packet_masks_metrics",
308 "modules/video_capture:video_capture_internal_impl", 308 "modules/video_capture:video_capture_internal_impl",
309 "pc:rtc_pc_unittests", 309 "pc:rtc_pc_unittests",
310 "stats:rtc_stats_unittests", 310 "stats:rtc_stats_unittests",
311 "system_wrappers:system_wrappers_unittests", 311 "system_wrappers:system_wrappers_unittests",
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 # TODO(tkchin): Cleanup this warning. 568 # TODO(tkchin): Cleanup this warning.
569 cflags = [ "-Wno-objc-property-no-attribute" ] 569 cflags = [ "-Wno-objc-property-no-attribute" ]
570 570
571 # |-ObjC| flag needed to make sure category method implementations 571 # |-ObjC| flag needed to make sure category method implementations
572 # are included: 572 # are included:
573 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 573 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
574 ldflags = [ "-ObjC" ] 574 ldflags = [ "-ObjC" ]
575 } 575 }
576 } 576 }
577 577
578 rtc_test("xmllite_xmpp_unittests") {
579 configs += [ ":rtc_unittests_config" ]
580
581 if (!build_with_chromium && is_clang) {
582 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
583 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
584 }
585
586 deps = [
587 "base:rtc_base_tests_utils",
588 "libjingle/xmllite:rtc_xmllite",
589 "libjingle/xmpp:rtc_xmpp",
590 "//testing/gtest",
591 ]
592
593 sources = [
594 "libjingle/xmllite/qname_unittest.cc",
595 "libjingle/xmllite/xmlbuilder_unittest.cc",
596 "libjingle/xmllite/xmlelement_unittest.cc",
597 "libjingle/xmllite/xmlnsstack_unittest.cc",
598 "libjingle/xmllite/xmlparser_unittest.cc",
599 "libjingle/xmllite/xmlprinter_unittest.cc",
600 "libjingle/xmpp/fakexmppclient.h",
601 "libjingle/xmpp/hangoutpubsubclient_unittest.cc",
602 "libjingle/xmpp/jid_unittest.cc",
603 "libjingle/xmpp/mucroomconfigtask_unittest.cc",
604 "libjingle/xmpp/mucroomdiscoverytask_unittest.cc",
605 "libjingle/xmpp/mucroomlookuptask_unittest.cc",
606 "libjingle/xmpp/mucroomuniquehangoutidtask_unittest.cc",
607 "libjingle/xmpp/pingtask_unittest.cc",
608 "libjingle/xmpp/pubsubclient_unittest.cc",
609 "libjingle/xmpp/pubsubtasks_unittest.cc",
610 "libjingle/xmpp/util_unittest.cc",
611 "libjingle/xmpp/util_unittest.h",
612 "libjingle/xmpp/xmppengine_unittest.cc",
613 "libjingle/xmpp/xmpplogintask_unittest.cc",
614 "libjingle/xmpp/xmppstanzaparser_unittest.cc",
615 ]
616 }
617
618 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. 578 # TODO(pbos): Rename test suite, this is no longer "just" for video targets.
619 video_engine_tests_resources = [ 579 video_engine_tests_resources = [
620 "//resources/foreman_cif_short.yuv", 580 "//resources/foreman_cif_short.yuv",
621 "//resources/voice_engine/audio_long16.pcm", 581 "//resources/voice_engine/audio_long16.pcm",
622 ] 582 ]
623 583
624 if (is_ios) { 584 if (is_ios) {
625 bundle_data("video_engine_tests_bundle_data") { 585 bundle_data("video_engine_tests_bundle_data") {
626 testonly = true 586 testonly = true
627 sources = video_engine_tests_resources 587 sources = video_engine_tests_resources
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 730
771 deps = [ 731 deps = [
772 "//base:base_java_test_support", 732 "//base:base_java_test_support",
773 "//webrtc/api:libjingle_peerconnection_java", 733 "//webrtc/api:libjingle_peerconnection_java",
774 "//webrtc/api:libjingle_peerconnection_jni", 734 "//webrtc/api:libjingle_peerconnection_jni",
775 "//webrtc/examples:AppRTCMobile_javalib", 735 "//webrtc/examples:AppRTCMobile_javalib",
776 ] 736 ]
777 } 737 }
778 } 738 }
779 } 739 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/gn_isolate_map.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698