OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 if (rtc_build_ssl == 0) { | 90 if (rtc_build_ssl == 0) { |
91 config("external_ssl_library") { | 91 config("external_ssl_library") { |
92 assert(rtc_ssl_root != "", | 92 assert(rtc_ssl_root != "", |
93 "You must specify rtc_ssl_root when rtc_build_ssl==0.") | 93 "You must specify rtc_ssl_root when rtc_build_ssl==0.") |
94 include_dirs = [ rtc_ssl_root ] | 94 include_dirs = [ rtc_ssl_root ] |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 # The subset of rtc_base approved for use outside of libjingle. | 98 # The subset of rtc_base approved for use outside of libjingle. |
99 static_library("rtc_base_approved") { | 99 static_library("rtc_base_approved") { |
100 deps = [] | |
100 configs += [ "..:common_config" ] | 101 configs += [ "..:common_config" ] |
101 public_configs = [ "..:common_inherited_config" ] | 102 public_configs = [ "..:common_inherited_config" ] |
102 | 103 |
103 sources = [ | 104 sources = [ |
104 "array_view.h", | 105 "array_view.h", |
105 "atomicops.h", | 106 "atomicops.h", |
106 "bitbuffer.cc", | 107 "bitbuffer.cc", |
107 "bitbuffer.h", | 108 "bitbuffer.h", |
108 "buffer.cc", | 109 "buffer.cc", |
109 "buffer.h", | 110 "buffer.h", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 "template_util.h", | 145 "template_util.h", |
145 "thread_annotations.h", | 146 "thread_annotations.h", |
146 "thread_checker.h", | 147 "thread_checker.h", |
147 "thread_checker_impl.cc", | 148 "thread_checker_impl.cc", |
148 "thread_checker_impl.h", | 149 "thread_checker_impl.h", |
149 "timeutils.cc", | 150 "timeutils.cc", |
150 "timeutils.h", | 151 "timeutils.h", |
151 "trace_event.h", | 152 "trace_event.h", |
152 ] | 153 ] |
153 | 154 |
154 if (!build_with_chromium) { | 155 if (build_with_chromium) { |
156 # Dependency on chromium's logging (in //base). | |
157 deps += [ "//base:base" ] | |
158 sources += [ | |
159 "../../webrtc_overrides/webrtc/base/logging.cc", | |
160 "../../webrtc_overrides/webrtc/base/logging.h", | |
161 ] | |
162 include_dirs = [ "../../webrtc_overrides" ] | |
163 } else { | |
155 sources += [ | 164 sources += [ |
156 "constructormagic.h", | 165 "constructormagic.h", |
Henrik Grunell WebRTC
2015/11/26 11:42:44
constructormagic.h isn't in the gyp file for this
pbos-webrtc
2015/11/26 11:48:07
It is, but it's also excluded from rtc_base which
Henrik Grunell WebRTC
2015/11/26 11:52:07
Acknowledged.
| |
157 "logging.cc", | 166 "logging.cc", |
158 "logging.h", | 167 "logging.h", |
159 ] | 168 ] |
160 } | 169 } |
161 } | 170 } |
162 | 171 |
163 static_library("rtc_base") { | 172 static_library("rtc_base") { |
164 cflags = [] | 173 cflags = [] |
165 cflags_cc = [] | 174 cflags_cc = [] |
166 libs = [] | 175 libs = [] |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
318 ] | 327 ] |
319 | 328 |
320 if (is_posix) { | 329 if (is_posix) { |
321 sources += [ | 330 sources += [ |
322 "unixfilesystem.cc", | 331 "unixfilesystem.cc", |
323 "unixfilesystem.h", | 332 "unixfilesystem.h", |
324 ] | 333 ] |
325 } | 334 } |
326 | 335 |
327 if (build_with_chromium) { | 336 if (build_with_chromium) { |
328 sources += [ | |
329 "../../webrtc_overrides/webrtc/base/logging.cc", | |
330 "../../webrtc_overrides/webrtc/base/logging.h", | |
331 ] | |
332 | |
333 deps += [ "..:webrtc_common" ] | 337 deps += [ "..:webrtc_common" ] |
334 | 338 |
335 if (is_win) { | 339 if (is_win) { |
336 sources += [ "../../webrtc_overrides/webrtc/base/win32socketinit.cc" ] | 340 sources += [ "../../webrtc_overrides/webrtc/base/win32socketinit.cc" ] |
337 } | 341 } |
338 | 342 |
339 include_dirs = [ | 343 include_dirs = [ |
340 "../../webrtc_overrides", | 344 "../../webrtc_overrides", |
341 "../../boringssl/src/include", | 345 "../../boringssl/src/include", |
342 ] | 346 ] |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
594 "linux.cc", | 598 "linux.cc", |
595 "linux.h", | 599 "linux.h", |
596 ] | 600 ] |
597 } | 601 } |
598 | 602 |
599 if (is_nacl) { | 603 if (is_nacl) { |
600 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 604 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
601 defines += [ "timezone=_timezone" ] | 605 defines += [ "timezone=_timezone" ] |
602 } | 606 } |
603 } | 607 } |
OLD | NEW |