OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 # From third_party/libjingle/libjingle.gyp's target_defaults. | |
8 config("jingle_unexported_configs") { | 7 config("jingle_unexported_configs") { |
9 include_dirs = [ | 8 include_dirs = [ |
10 "../../third_party/webrtc_overrides", | 9 "../../third_party/webrtc_overrides", |
11 "../../testing/gtest/include", | 10 "../../testing/gtest/include", |
12 "../../third_party", | 11 "../../third_party", |
13 "../../third_party/libyuv/include", | 12 "../../third_party/libyuv/include", |
14 "../../third_party/usrsctp/usrsctplib", | 13 "../../third_party/usrsctp/usrsctplib", |
15 ] | 14 ] |
16 } | 15 } |
17 | 16 |
18 # From third_party/libjingle/libjingle.gyp's target_defaults. | |
19 config("jingle_public_configs") { | 17 config("jingle_public_configs") { |
20 include_dirs = [ | 18 include_dirs = [ |
21 "../../third_party/webrtc_overrides", | 19 "../../third_party/webrtc_overrides", |
22 "../../testing/gtest/include", | 20 "../../testing/gtest/include", |
23 "../../third_party", | 21 "../../third_party", |
24 ] | 22 ] |
25 } | 23 } |
26 | 24 |
27 # From third_party/libjingle/libjingle.gyp's target_defaults. | |
28 group("jingle_deps") { | 25 group("jingle_deps") { |
29 public_deps = [ | 26 public_deps = [ |
30 "//third_party/expat", | 27 "//third_party/expat", |
31 ] | 28 ] |
32 deps = [ | 29 deps = [ |
33 "//base", | 30 "//base", |
34 "//crypto:platform", | 31 "//crypto:platform", |
35 "//net", | 32 "//net", |
36 ] | 33 ] |
37 } | 34 } |
38 | 35 |
39 # GYP version: third_party/libjingle.gyp:libjingle | |
40 static_library("libjingle") { | 36 static_library("libjingle") { |
41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 38 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
43 | 39 |
44 public_deps = [ | 40 public_deps = [ |
45 ":jingle_deps", | 41 ":jingle_deps", |
46 | 42 |
47 # TODO(kjellander): Start cleaning up this target as soon as | 43 # TODO(kjellander): Start cleaning up this target as soon as |
48 # https://codereview.chromium.org/2022833002/ is landed. The target should | 44 # https://codereview.chromium.org/2022833002/ is landed. The target should |
49 # be removed entirely if possible. | 45 # be removed entirely if possible. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 sources = [ | 129 sources = [ |
134 "$p2p_dir/stunprober/stunprober.cc", | 130 "$p2p_dir/stunprober/stunprober.cc", |
135 ] | 131 ] |
136 | 132 |
137 deps = [ | 133 deps = [ |
138 ":libjingle_webrtc_common", | 134 ":libjingle_webrtc_common", |
139 "//third_party/webrtc/base:rtc_base", | 135 "//third_party/webrtc/base:rtc_base", |
140 ] | 136 ] |
141 } | 137 } |
142 } # enable_webrtc | 138 } # enable_webrtc |
OLD | NEW |