You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.5 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
  2. #
  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
  5. # tree. An additional intellectual property rights grant can be found
  6. # in the file PATENTS. All contributing project authors may
  7. # be found in the AUTHORS file in the root of the source tree.
  8. import("../../webrtc.gni")
  9. rtc_library("repeating_task") {
  10. sources = [
  11. "repeating_task.cc",
  12. "repeating_task.h",
  13. ]
  14. deps = [
  15. ":to_queued_task",
  16. "..:logging",
  17. "..:thread_checker",
  18. "..:timeutils",
  19. "../../api/task_queue",
  20. "../../api/units:time_delta",
  21. "../../api/units:timestamp",
  22. "../synchronization:sequence_checker",
  23. "//third_party/abseil-cpp/absl/memory",
  24. ]
  25. }
  26. rtc_source_set("to_queued_task") {
  27. sources = [
  28. "to_queued_task.h",
  29. ]
  30. deps = [
  31. "../../api/task_queue",
  32. ]
  33. }
  34. if (rtc_include_tests) {
  35. rtc_library("repeating_task_unittests") {
  36. testonly = true
  37. sources = [
  38. "repeating_task_unittest.cc",
  39. ]
  40. deps = [
  41. ":repeating_task",
  42. "..:rtc_base_approved",
  43. "..:rtc_task_queue",
  44. "..:task_queue_for_test",
  45. "../../test:test_support",
  46. ]
  47. }
  48. rtc_library("to_queued_task_unittests") {
  49. testonly = true
  50. sources = [
  51. "to_queued_task_unittest.cc",
  52. ]
  53. deps = [
  54. ":to_queued_task",
  55. "../../api/task_queue",
  56. "../../test:test_support",
  57. "//third_party/abseil-cpp/absl/memory",
  58. ]
  59. }
  60. }