2019-01-18 10:30:54 +01:00
|
|
|
# Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("../../webrtc.gni")
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("repeating_task") {
|
2019-01-18 10:30:54 +01:00
|
|
|
sources = [
|
|
|
|
|
"repeating_task.cc",
|
|
|
|
|
"repeating_task.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:logging",
|
|
|
|
|
"..:timeutils",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2019-03-06 18:41:39 +01:00
|
|
|
"../../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../../api/task_queue:pending_task_safety_flag",
|
2019-01-18 10:30:54 +01:00
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
2020-05-18 14:53:42 +02:00
|
|
|
"../../system_wrappers:system_wrappers",
|
2019-01-18 10:30:54 +01:00
|
|
|
]
|
2022-07-05 21:26:06 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/functional:any_invocable" ]
|
2019-01-18 10:30:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("repeating_task_unittests") {
|
2019-01-18 10:30:54 +01:00
|
|
|
testonly = true
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "repeating_task_unittest.cc" ]
|
2019-01-18 10:30:54 +01:00
|
|
|
deps = [
|
|
|
|
|
":repeating_task",
|
2022-04-04 16:57:52 +02:00
|
|
|
"..:rtc_event",
|
2019-03-06 18:41:39 +01:00
|
|
|
"..:rtc_task_queue",
|
2019-03-26 14:37:01 +01:00
|
|
|
"..:task_queue_for_test",
|
2021-11-15 17:24:45 +01:00
|
|
|
"../../api/task_queue",
|
2022-07-05 21:26:06 +02:00
|
|
|
"../../api/units:time_delta",
|
2021-11-15 17:24:45 +01:00
|
|
|
"../../api/units:timestamp",
|
|
|
|
|
"../../system_wrappers:system_wrappers",
|
2019-01-18 10:30:54 +01:00
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
2022-07-05 21:26:06 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/functional:any_invocable" ]
|
2019-01-18 10:30:54 +01:00
|
|
|
}
|
|
|
|
|
}
|