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

Unified Diff: webrtc/ortc/BUILD.gn

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Add memcheck suppression for end-to-end tests. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/base/fakemediaengine.h ('k') | webrtc/ortc/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/ortc/BUILD.gn
diff --git a/webrtc/ortc/BUILD.gn b/webrtc/ortc/BUILD.gn
index a9195110c76afbb0216ffd29ffc6be0530e2a19a..ebba3b86ed86bb727274c04cadf467f96f64a00a 100644
--- a/webrtc/ortc/BUILD.gn
+++ b/webrtc/ortc/BUILD.gn
@@ -12,18 +12,69 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
+rtc_static_library("ortc") {
+ defines = []
+ sources = [
+ "ortcfactory.cc",
+ "ortcfactory.h",
+ "ortcrtpreceiveradapter.cc",
+ "ortcrtpreceiveradapter.h",
+ "ortcrtpsenderadapter.cc",
+ "ortcrtpsenderadapter.h",
+ "rtpparametersconversion.cc",
+ "rtpparametersconversion.h",
+ "rtptransportadapter.cc",
+ "rtptransportadapter.h",
+ "rtptransportcontrolleradapter.cc",
+ "rtptransportcontrolleradapter.h",
+ ]
+
+ # TODO(deadbeef): Create a separate target for the common things ORTC and
+ # PeerConnection code shares, so that ortc can depend on that instead of
+ # libjingle_peerconnection.
+ deps = [
+ "../pc:libjingle_peerconnection",
+ ]
+
+ public_deps = [
+ "../api:ortc_api",
+ ]
+
+ if (!build_with_chromium && is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
if (rtc_include_tests) {
rtc_test("ortc_unittests") {
testonly = true
sources = [
- "dummy_test.cc",
+ "ortcfactory_integrationtest.cc",
+ "ortcfactory_unittest.cc",
+ "ortcrtpreceiver_unittest.cc",
+ "ortcrtpsender_unittest.cc",
+ "rtpparametersconversion_unittest.cc",
+ "rtptransport_unittest.cc",
+ "rtptransportcontroller_unittest.cc",
+ "testrtpparameters.cc",
+ "testrtpparameters.h",
]
deps = [
- "../base:rtc_base_tests_main",
+ ":ortc",
+ "../base:rtc_base_tests_utils",
+ "../media:rtc_unittest_main",
+ "../pc:pc_test_utils",
+ "../system_wrappers:metrics_default",
]
+ if (!build_with_chromium && is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+
if (is_android) {
deps += [ "//testing/android/native_test:native_test_support" ]
}
« no previous file with comments | « webrtc/media/base/fakemediaengine.h ('k') | webrtc/ortc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698