blob: 7282ef602ce0611dab7517085895da54d467a701 [file] [log] [blame]
Sebastian Jansson72bba622018-11-19 11:17:12 +01001# Copyright (c) 2018 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("unit_base") {
12 visibility = [
13 "../../api/units:*",
14 ":*",
15 ]
16 sources = [
17 "unit_base.h",
18 ]
19
20 deps = [
21 "../../rtc_base:checks",
22 "../../rtc_base:safe_conversions",
23 ]
24}
25
26if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +020027 rtc_library("units_unittests") {
Sebastian Jansson72bba622018-11-19 11:17:12 +010028 testonly = true
29 sources = [
30 "unit_base_unittest.cc",
31 ]
32 deps = [
33 ":unit_base",
34 "../../test:test_support",
35 ]
36 }
37}