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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 } else { | 168 } else { |
169 sources += [ | 169 sources += [ |
170 "logging.cc", | 170 "logging.cc", |
171 "logging.h", | 171 "logging.h", |
172 "logging_mac.mm", | 172 "logging_mac.mm", |
173 ] | 173 ] |
174 } | 174 } |
175 } | 175 } |
176 | 176 |
177 static_library("rtc_task_queue") { | 177 static_library("rtc_task_queue") { |
178 public_deps = [ ":rtc_base_approved" ] | 178 public_deps = [ |
| 179 ":rtc_base_approved", |
| 180 ] |
179 configs += [ "..:common_config" ] | 181 configs += [ "..:common_config" ] |
180 | 182 |
181 sources = [ | 183 sources = [ |
182 "task_queue.h", | 184 "task_queue.h", |
183 "task_queue_posix.h", | 185 "task_queue_posix.h", |
184 ] | 186 ] |
185 | 187 |
186 if (rtc_build_libevent) { | 188 if (rtc_build_libevent) { |
187 deps = [ "//base/third_party/libevent" ] | 189 deps = [ |
| 190 "//base/third_party/libevent", |
| 191 ] |
188 } | 192 } |
189 | 193 |
190 if (rtc_enable_libevent) { | 194 if (rtc_enable_libevent) { |
191 sources += [ | 195 sources += [ |
192 "task_queue_libevent.cc", | 196 "task_queue_libevent.cc", |
193 "task_queue_posix.cc", | 197 "task_queue_posix.cc", |
194 ] | 198 ] |
195 } else { | 199 } else { |
196 if (is_mac || is_ios) { | 200 if (is_mac || is_ios) { |
197 sources += [ | 201 sources += [ |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 "dl", | 551 "dl", |
548 "rt", | 552 "rt", |
549 ] | 553 ] |
550 } | 554 } |
551 | 555 |
552 if (is_mac) { | 556 if (is_mac) { |
553 sources += [ | 557 sources += [ |
554 "macutils.cc", | 558 "macutils.cc", |
555 "macutils.h", | 559 "macutils.h", |
556 ] | 560 ] |
| 561 libs += [ "CoreServices.framework" ] # For GetGestalt in macutils.cc. |
557 } | 562 } |
558 | 563 |
559 if (is_win) { | 564 if (is_win) { |
560 sources += [ | 565 sources += [ |
561 "win32.cc", | 566 "win32.cc", |
562 "win32.h", | 567 "win32.h", |
563 "win32filesystem.cc", | 568 "win32filesystem.cc", |
564 "win32filesystem.h", | 569 "win32filesystem.h", |
565 "win32securityerrors.cc", | 570 "win32securityerrors.cc", |
566 "win32window.cc", | 571 "win32window.cc", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 defines += [ "timezone=_timezone" ] | 624 defines += [ "timezone=_timezone" ] |
620 sources -= [ "ifaddrs_converter.cc" ] | 625 sources -= [ "ifaddrs_converter.cc" ] |
621 } | 626 } |
622 } | 627 } |
623 | 628 |
624 source_set("gtest_prod") { | 629 source_set("gtest_prod") { |
625 sources = [ | 630 sources = [ |
626 "gtest_prod_util.h", | 631 "gtest_prod_util.h", |
627 ] | 632 ] |
628 } | 633 } |
OLD | NEW |