blob: 126bff8b654fbec146ddf71ccce3dd1c1fb9655f [file] [log] [blame]
Sebastian Janssonecb68972019-01-18 10:30:54 +01001# 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
9import("../../webrtc.gni")
10
11rtc_source_set("repeating_task") {
12 sources = [
13 "repeating_task.cc",
14 "repeating_task.h",
15 ]
16 deps = [
17 "..:logging",
18 "..:rtc_task_queue_api",
19 "..:sequenced_task_checker",
20 "..:thread_checker",
21 "..:timeutils",
22 "../../api/units:time_delta",
23 "../../api/units:timestamp",
24 "//third_party/abseil-cpp/absl/memory",
25 ]
26}
27
Danil Chapovalov3b548dd2019-03-01 14:58:44 +010028rtc_source_set("to_queued_task") {
29 sources = [
30 "to_queued_task.h",
31 ]
32 deps = [
33 "../../api/task_queue",
34 "//third_party/abseil-cpp/absl/memory",
35 ]
36}
37
Sebastian Janssonecb68972019-01-18 10:30:54 +010038if (rtc_include_tests) {
39 rtc_source_set("repeating_task_unittests") {
40 testonly = true
41 sources = [
42 "repeating_task_unittest.cc",
43 ]
44 deps = [
45 ":repeating_task",
46 "..:rtc_base_approved",
47 "../../test:test_support",
48 "//third_party/abseil-cpp/absl/memory",
49 ]
50 }
Danil Chapovalov3b548dd2019-03-01 14:58:44 +010051
52 rtc_source_set("to_queued_task_unittests") {
53 testonly = true
54 sources = [
55 "to_queued_task_unittest.cc",
56 ]
57 deps = [
58 ":to_queued_task",
59 "../../api/task_queue",
60 "../../test:test_support",
61 "//third_party/abseil-cpp/absl/memory",
62 ]
63 }
Sebastian Janssonecb68972019-01-18 10:30:54 +010064}