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

Side by Side 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, 9 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 | « webrtc/media/base/fakemediaengine.h ('k') | webrtc/ortc/DEPS » ('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) 2017 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2017 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 import("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
11 import("//build/config/android/config.gni") 11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 14
15 rtc_static_library("ortc") {
16 defines = []
17 sources = [
18 "ortcfactory.cc",
19 "ortcfactory.h",
20 "ortcrtpreceiveradapter.cc",
21 "ortcrtpreceiveradapter.h",
22 "ortcrtpsenderadapter.cc",
23 "ortcrtpsenderadapter.h",
24 "rtpparametersconversion.cc",
25 "rtpparametersconversion.h",
26 "rtptransportadapter.cc",
27 "rtptransportadapter.h",
28 "rtptransportcontrolleradapter.cc",
29 "rtptransportcontrolleradapter.h",
30 ]
31
32 # TODO(deadbeef): Create a separate target for the common things ORTC and
33 # PeerConnection code shares, so that ortc can depend on that instead of
34 # libjingle_peerconnection.
35 deps = [
36 "../pc:libjingle_peerconnection",
37 ]
38
39 public_deps = [
40 "../api:ortc_api",
41 ]
42
43 if (!build_with_chromium && is_clang) {
44 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
45 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
46 }
47 }
48
15 if (rtc_include_tests) { 49 if (rtc_include_tests) {
16 rtc_test("ortc_unittests") { 50 rtc_test("ortc_unittests") {
17 testonly = true 51 testonly = true
18 52
19 sources = [ 53 sources = [
20 "dummy_test.cc", 54 "ortcfactory_integrationtest.cc",
55 "ortcfactory_unittest.cc",
56 "ortcrtpreceiver_unittest.cc",
57 "ortcrtpsender_unittest.cc",
58 "rtpparametersconversion_unittest.cc",
59 "rtptransport_unittest.cc",
60 "rtptransportcontroller_unittest.cc",
61 "testrtpparameters.cc",
62 "testrtpparameters.h",
21 ] 63 ]
22 64
23 deps = [ 65 deps = [
24 "../base:rtc_base_tests_main", 66 ":ortc",
67 "../base:rtc_base_tests_utils",
68 "../media:rtc_unittest_main",
69 "../pc:pc_test_utils",
70 "../system_wrappers:metrics_default",
25 ] 71 ]
26 72
73 if (!build_with_chromium && is_clang) {
74 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
75 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
76 }
77
27 if (is_android) { 78 if (is_android) {
28 deps += [ "//testing/android/native_test:native_test_support" ] 79 deps += [ "//testing/android/native_test:native_test_support" ]
29 } 80 }
30 } 81 }
31 } 82 }
OLDNEW
« 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