Chromium Code Reviews| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 294 defines = [ "WEBRTC_BUILD_LIBEVENT" ] | 294 defines = [ "WEBRTC_BUILD_LIBEVENT" ] |
| 295 } | 295 } |
| 296 | 296 |
| 297 rtc_static_library("rtc_task_queue") { | 297 rtc_static_library("rtc_task_queue") { |
| 298 public_deps = [ | 298 public_deps = [ |
| 299 ":rtc_base_approved", | 299 ":rtc_base_approved", |
| 300 ] | 300 ] |
| 301 | 301 |
| 302 if (build_with_chromium) { | 302 if (build_with_chromium) { |
| 303 sources = [ | 303 sources = [ |
| 304 "../../webrtc_overrides/webrtc/rtc_base/task_queue.cc", | |
|
nisse-webrtc
2017/08/22 13:39:44
Ah, Chrome already overrides task queue, I had for
perkj_webrtc
2017/08/22 18:52:38
yes, if I can get some help.
https://cs.chromium.o
| |
| 305 "../../webrtc_overrides/webrtc/rtc_base/task_queue.h", | 304 "../../webrtc_overrides/webrtc/rtc_base/task_queue.h", |
| 306 ] | 305 ] |
| 307 } else { | 306 } else { |
| 308 sources = [ | 307 sources = [ |
| 309 "task_queue.h", | 308 "task_queue.h", |
| 310 "task_queue_posix.h", | |
| 311 ] | 309 ] |
| 310 } | |
| 311 if (rtc_link_task_queue_impl) { | |
| 312 deps = [ | |
| 313 ":rtc_task_queue_impl", | |
| 314 ] | |
| 315 } | |
| 316 } | |
| 317 | |
| 318 rtc_static_library("rtc_task_queue_impl") { | |
| 319 if (build_with_chromium) { | |
| 320 sources = [ | |
| 321 "../../webrtc_overrides/webrtc/rtc_base/task_queue.cc", | |
| 322 ] | |
| 323 } else { | |
| 312 if (rtc_build_libevent) { | 324 if (rtc_build_libevent) { |
| 313 deps = [ | 325 deps = [ |
| 314 "//base/third_party/libevent", | 326 "//base/third_party/libevent", |
| 315 ] | 327 ] |
| 316 } | 328 } |
| 317 | |
| 318 if (rtc_enable_libevent) { | 329 if (rtc_enable_libevent) { |
| 319 sources += [ | 330 sources = [ |
| 320 "task_queue_libevent.cc", | 331 "task_queue_libevent.cc", |
| 321 "task_queue_posix.cc", | 332 "task_queue_posix.cc", |
| 333 "task_queue_posix.h", | |
| 322 ] | 334 ] |
| 323 all_dependent_configs = [ ":enable_libevent_config" ] | 335 all_dependent_configs = [ ":enable_libevent_config" ] |
| 324 } else { | 336 } else { |
| 325 if (is_mac || is_ios) { | 337 if (is_mac || is_ios) { |
| 326 sources += [ | 338 sources = [ |
| 327 "task_queue_gcd.cc", | 339 "task_queue_gcd.cc", |
| 328 "task_queue_posix.cc", | 340 "task_queue_posix.cc", |
| 329 ] | 341 ] |
| 330 } | 342 } |
| 331 if (is_win) { | 343 if (is_win) { |
| 332 sources += [ "task_queue_win.cc" ] | 344 sources = [ |
| 345 "task_queue_win.cc", | |
| 346 ] | |
| 333 } | 347 } |
| 334 } | 348 } |
| 335 } | 349 } |
| 336 } | 350 } |
| 337 | 351 |
| 338 rtc_static_library("sequenced_task_checker") { | 352 rtc_static_library("sequenced_task_checker") { |
| 339 sources = [ | 353 sources = [ |
| 340 "sequenced_task_checker.h", | 354 "sequenced_task_checker.h", |
| 341 "sequenced_task_checker_impl.cc", | 355 "sequenced_task_checker_impl.cc", |
| 342 "sequenced_task_checker_impl.h", | 356 "sequenced_task_checker_impl.h", |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1031 if (is_android) { | 1045 if (is_android) { |
| 1032 android_library("base_java") { | 1046 android_library("base_java") { |
| 1033 java_files = [ | 1047 java_files = [ |
| 1034 "java/src/org/webrtc/ContextUtils.java", | 1048 "java/src/org/webrtc/ContextUtils.java", |
| 1035 "java/src/org/webrtc/Logging.java", | 1049 "java/src/org/webrtc/Logging.java", |
| 1036 "java/src/org/webrtc/Size.java", | 1050 "java/src/org/webrtc/Size.java", |
| 1037 "java/src/org/webrtc/ThreadUtils.java", | 1051 "java/src/org/webrtc/ThreadUtils.java", |
| 1038 ] | 1052 ] |
| 1039 } | 1053 } |
| 1040 } | 1054 } |
| OLD | NEW |