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

Side by Side Diff: webrtc/BUILD.gn

Issue 2184043002: Creating GN version of xmllite_xmpp_unittests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Creating GN version of xmllite_xmpp_unittests Created 4 years, 4 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 # TODO(tkchin): Cleanup this warning. 594 # TODO(tkchin): Cleanup this warning.
595 cflags = [ "-Wno-objc-property-no-attribute" ] 595 cflags = [ "-Wno-objc-property-no-attribute" ]
596 596
597 # |-ObjC| flag needed to make sure category method implementations 597 # |-ObjC| flag needed to make sure category method implementations
598 # are included: 598 # are included:
599 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 599 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
600 ldflags = [ "-ObjC" ] 600 ldflags = [ "-ObjC" ]
601 } 601 }
602 } 602 }
603 603
604 test("xmllite_xmpp_unittests") {
605 configs += [
606 ":common_config",
607 ":rtc_unittests_config",
608 ]
609 public_configs = [ ":common_inherited_config" ]
610
611 if (is_clang) {
612 # Suppress warnings from the Chromium Clang plugin.
613 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
614 configs -= [ "//build/config/clang:find_bad_constructs" ]
615 }
616
617 deps = [
618 "base:rtc_base_tests_utils",
619 "libjingle/xmllite:rtc_xmllite",
620 "libjingle/xmpp:rtc_xmpp",
621 "//testing/gtest",
622 ]
623
624 sources = [
625 "libjingle/xmllite/qname_unittest.cc",
626 "libjingle/xmllite/xmlbuilder_unittest.cc",
627 "libjingle/xmllite/xmlelement_unittest.cc",
628 "libjingle/xmllite/xmlnsstack_unittest.cc",
629 "libjingle/xmllite/xmlparser_unittest.cc",
630 "libjingle/xmllite/xmlprinter_unittest.cc",
631 "libjingle/xmpp/fakexmppclient.h",
632 "libjingle/xmpp/hangoutpubsubclient_unittest.cc",
633 "libjingle/xmpp/jid_unittest.cc",
634 "libjingle/xmpp/mucroomconfigtask_unittest.cc",
635 "libjingle/xmpp/mucroomdiscoverytask_unittest.cc",
636 "libjingle/xmpp/mucroomlookuptask_unittest.cc",
637 "libjingle/xmpp/mucroomuniquehangoutidtask_unittest.cc",
638 "libjingle/xmpp/pingtask_unittest.cc",
639 "libjingle/xmpp/pubsubclient_unittest.cc",
640 "libjingle/xmpp/pubsubtasks_unittest.cc",
641 "libjingle/xmpp/util_unittest.cc",
642 "libjingle/xmpp/util_unittest.h",
643 "libjingle/xmpp/xmppengine_unittest.cc",
644 "libjingle/xmpp/xmpplogintask_unittest.cc",
645 "libjingle/xmpp/xmppstanzaparser_unittest.cc",
646 ]
647 }
648
604 # TODO(pbos): Rename test suite, this is no longer "just" for video targets. 649 # TODO(pbos): Rename test suite, this is no longer "just" for video targets.
605 test("video_engine_tests") { 650 test("video_engine_tests") {
606 testonly = true 651 testonly = true
607 deps = [ 652 deps = [
608 "audio:audio_tests", 653 "audio:audio_tests",
609 "call:call_tests", 654 "call:call_tests",
610 "modules/video_capture", 655 "modules/video_capture",
611 "test:test_common", 656 "test:test_common",
612 "test:test_main", 657 "test:test_main",
613 "video:video_tests", 658 "video:video_tests",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 if (is_ios || (is_mac && target_cpu != "x86")) { 707 if (is_ios || (is_mac && target_cpu != "x86")) {
663 defines = [ "CARBON_DEPRECATED=YES" ] 708 defines = [ "CARBON_DEPRECATED=YES" ]
664 } 709 }
665 if (is_clang) { 710 if (is_clang) {
666 # Suppress warnings from the Chromium Clang plugin. 711 # Suppress warnings from the Chromium Clang plugin.
667 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 712 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
668 configs -= [ "//build/config/clang:find_bad_constructs" ] 713 configs -= [ "//build/config/clang:find_bad_constructs" ]
669 } 714 }
670 } 715 }
671 } 716 }
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