OLD | NEW |
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 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 'sources': [ | 46 'sources': [ |
47 'base/fakecapturemanager.h', | 47 'base/fakecapturemanager.h', |
48 'base/fakemediaengine.h', | 48 'base/fakemediaengine.h', |
49 'base/fakenetworkinterface.h', | 49 'base/fakenetworkinterface.h', |
50 'base/fakertp.h', | 50 'base/fakertp.h', |
51 'base/fakevideocapturer.h', | 51 'base/fakevideocapturer.h', |
52 'base/fakevideorenderer.h', | 52 'base/fakevideorenderer.h', |
53 'base/testutils.cc', | 53 'base/testutils.cc', |
54 'base/testutils.h', | 54 'base/testutils.h', |
55 'devices/fakedevicemanager.h', | 55 'devices/fakedevicemanager.h', |
56 'webrtc/fakewebrtccall.cc', | 56 'engine/fakewebrtccall.cc', |
57 'webrtc/fakewebrtccall.h', | 57 'engine/fakewebrtccall.h', |
58 'webrtc/fakewebrtccommon.h', | 58 'engine/fakewebrtccommon.h', |
59 'webrtc/fakewebrtcdeviceinfo.h', | 59 'engine/fakewebrtcdeviceinfo.h', |
60 'webrtc/fakewebrtcvcmfactory.h', | 60 'engine/fakewebrtcvcmfactory.h', |
61 'webrtc/fakewebrtcvideocapturemodule.h', | 61 'engine/fakewebrtcvideocapturemodule.h', |
62 'webrtc/fakewebrtcvideoengine.h', | 62 'engine/fakewebrtcvideoengine.h', |
63 'webrtc/fakewebrtcvoiceengine.h', | 63 'engine/fakewebrtcvoiceengine.h', |
64 ], | 64 ], |
65 # TODO(kjellander): Make the code compile without disabling these flags. | 65 # TODO(kjellander): Make the code compile without disabling these flags. |
66 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 | 66 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
67 'cflags_cc!': [ | 67 'cflags_cc!': [ |
68 '-Wnon-virtual-dtor', | 68 '-Wnon-virtual-dtor', |
69 ], | 69 ], |
70 }, # target rtc_unittest_main | 70 }, # target rtc_unittest_main |
71 { | 71 { |
72 'target_name': 'libjingle_media_unittest', | 72 'target_name': 'libjingle_media_unittest', |
73 'type': 'executable', | 73 'type': 'executable', |
74 'dependencies': [ | 74 'dependencies': [ |
75 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 75 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
76 '<(webrtc_root)/media/media.gyp:rtc_media', | 76 '<(webrtc_root)/media/media.gyp:rtc_media', |
77 'rtc_unittest_main', | 77 'rtc_unittest_main', |
78 ], | 78 ], |
79 'sources': [ | 79 'sources': [ |
80 'base/capturemanager_unittest.cc', | 80 'base/capturemanager_unittest.cc', |
81 'base/codec_unittest.cc', | 81 'base/codec_unittest.cc', |
82 'base/rtpdataengine_unittest.cc', | 82 'base/rtpdataengine_unittest.cc', |
83 'base/rtpdump_unittest.cc', | 83 'base/rtpdump_unittest.cc', |
84 'base/rtputils_unittest.cc', | 84 'base/rtputils_unittest.cc', |
85 'base/streamparams_unittest.cc', | 85 'base/streamparams_unittest.cc', |
86 'base/turnutils_unittest.cc', | 86 'base/turnutils_unittest.cc', |
87 'base/videoadapter_unittest.cc', | 87 'base/videoadapter_unittest.cc', |
88 'base/videocapturer_unittest.cc', | 88 'base/videocapturer_unittest.cc', |
89 'base/videocommon_unittest.cc', | 89 'base/videocommon_unittest.cc', |
90 'base/videoengine_unittest.h', | 90 'base/videoengine_unittest.h', |
91 'base/videoframe_unittest.h', | 91 'base/videoframe_unittest.h', |
92 'devices/dummydevicemanager_unittest.cc', | 92 'devices/dummydevicemanager_unittest.cc', |
93 'sctp/sctpdataengine_unittest.cc', | 93 'engine/nullwebrtcvideoengine_unittest.cc', |
94 'webrtc/nullwebrtcvideoengine_unittest.cc', | 94 'engine/simulcast_unittest.cc', |
95 'webrtc/simulcast_unittest.cc', | 95 'engine/webrtcmediaengine_unittest.cc', |
96 'webrtc/webrtcmediaengine_unittest.cc', | 96 'engine/webrtcvideocapturer_unittest.cc', |
97 'webrtc/webrtcvideocapturer_unittest.cc', | 97 'engine/webrtcvideoframe_unittest.cc', |
98 'webrtc/webrtcvideoframe_unittest.cc', | 98 'engine/webrtcvideoframefactory_unittest.cc', |
99 'webrtc/webrtcvideoframefactory_unittest.cc', | |
100 # Disabled because some tests fail. | 99 # Disabled because some tests fail. |
101 # TODO(ronghuawu): Reenable these tests. | 100 # TODO(ronghuawu): Reenable these tests. |
102 # 'devices/devicemanager_unittest.cc', | 101 # 'devices/devicemanager_unittest.cc', |
103 'webrtc/webrtcvideoengine2_unittest.cc', | 102 'engine/webrtcvideoengine2_unittest.cc', |
104 'webrtc/webrtcvoiceengine_unittest.cc', | 103 'engine/webrtcvoiceengine_unittest.cc', |
| 104 'sctp/sctpdataengine_unittest.cc', |
105 ], | 105 ], |
106 # TODO(kjellander): Make the code compile without disabling these flags. | 106 # TODO(kjellander): Make the code compile without disabling these flags. |
107 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 | 107 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
108 'cflags': [ | 108 'cflags': [ |
109 '-Wno-sign-compare', | 109 '-Wno-sign-compare', |
110 ], | 110 ], |
111 'cflags_cc!': [ | 111 'cflags_cc!': [ |
112 '-Wnon-virtual-dtor', | 112 '-Wnon-virtual-dtor', |
113 '-Woverloaded-virtual', | 113 '-Woverloaded-virtual', |
114 ], | 114 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 }], | 162 }], |
163 ['OS=="ios"', { | 163 ['OS=="ios"', { |
164 'sources!': [ | 164 'sources!': [ |
165 'sctp/sctpdataengine_unittest.cc', | 165 'sctp/sctpdataengine_unittest.cc', |
166 ], | 166 ], |
167 }], | 167 }], |
168 ], | 168 ], |
169 }, # target rtc_media_unittests | 169 }, # target rtc_media_unittests |
170 ], | 170 ], |
171 } | 171 } |
OLD | NEW |