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

Side by Side Diff: webrtc/ortc/BUILD.gn

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Some comments. 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
2 #
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 import("../webrtc.gni")
10 if (is_android) {
11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni")
13 }
14
15 rtc_static_library("ortc") {
16 defines = []
17 sources = [
18 "ortcfactory.cc",
19 "ortcfactory.h",
20 "rtpreceivershim.cc",
21 "rtpreceivershim.h",
22 "rtpsendershim.cc",
23 "rtpsendershim.h",
24 "rtptransportcontrollershim.cc",
25 "rtptransportcontrollershim.h",
26 "rtptransportshim.cc",
27 "rtptransportshim.h",
28 ]
29
30 # TODO(deadbeef): Create a separate target for the common things ORTC and
31 # PeerConnection code shares, so that ortc can depend on that instead of
32 # libjingle_peerconnection.
33 deps = [
34 "../pc:libjingle_peerconnection",
35 ]
36
37 public_deps = [
38 "../api:ortc_api",
39 ]
40
41 if (!build_with_chromium && is_clang) {
42 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
43 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
44 }
45 }
46
47 if (rtc_include_tests) {
48 rtc_test("ortc_unittests") {
49 testonly = true
50
51 sources = [
52 "ortcfactory_integrationtest.cc",
53 ]
54
55 deps = [
56 ":ortc",
57 "../base:rtc_base_tests_utils",
58 "../media:rtc_unittest_main",
59 "../pc:pc_test_utils",
60 "../system_wrappers:metrics_default",
61 ]
62
63 if (!build_with_chromium && is_clang) {
64 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
65 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
66 }
67
68 if (is_android) {
69 deps += [ "//testing/android/native_test:native_test_support" ]
70 }
71 }
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698