OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # This file contains the webrtc-related build targets. They are in a separate | |
6 # directory so the embedder can decide whether it wants to use webrtc by | |
7 # just depending on these or not, eliminating the need for build flags at this | |
8 # layer. | |
9 | |
10 # TODO(kjellander): Move this target into //third_party/webrtc_overrides as | |
11 # soon as the work in bugs.webrtc.org/4256 has gotten rid of the duplicated | |
12 # source listings. | |
13 static_library("libjingle_webrtc") { | |
14 sources = [ | |
15 "//third_party/webrtc_overrides/init_webrtc.cc", | |
16 "//third_party/webrtc_overrides/init_webrtc.h", | |
17 ] | |
18 configs += [ | |
19 "//third_party/libjingle:jingle_unexported_configs", | |
20 "//third_party/webrtc:common_config", | |
21 ] | |
22 public_configs = [ | |
23 "//third_party/libjingle:jingle_public_configs", | |
24 "//third_party/webrtc:common_inherited_config", | |
25 ] | |
26 public_deps = [ | |
27 ":libjingle_webrtc_common", | |
28 ] | |
29 } | |
30 | |
31 source_set("libjingle_webrtc_common") { | |
32 configs += [ | |
33 "//third_party/libjingle:jingle_unexported_configs", | |
34 "//third_party/webrtc:common_config", | |
35 ] | |
36 public_configs = [ | |
37 "//third_party/libjingle:jingle_public_configs", | |
38 "//third_party/webrtc:common_inherited_config", | |
39 ] | |
40 | |
41 deps = [ | |
42 "//third_party/libjingle:libjingle", | |
43 "//third_party/libsrtp", | |
44 "//third_party/usrsctp", | |
45 "//third_party/webrtc/api:libjingle_peerconnection", | |
46 "//third_party/webrtc/media:rtc_media", | |
47 "//third_party/webrtc/media:rtc_media_base", | |
48 "//third_party/webrtc/modules/media_file", | |
49 "//third_party/webrtc/modules/video_capture", | |
50 "//third_party/webrtc/pc:rtc_pc", | |
51 "//third_party/webrtc/system_wrappers", | |
52 "//third_party/webrtc/voice_engine", | |
53 ] | |
54 } | |
55 | |
56 static_library("libstunprober") { | |
57 p2p_dir = "//third_party/webrtc/p2p" | |
58 sources = [ | |
59 "$p2p_dir/stunprober/stunprober.cc", | |
60 ] | |
61 | |
62 deps = [ | |
63 ":libjingle_webrtc_common", | |
64 "//third_party/webrtc/base:rtc_base", | |
65 ] | |
66 } | |
OLD | NEW |