1# 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 = [ "unit_base.h" ]
17
18  deps = [
19    "../../rtc_base:checks",
20    "../../rtc_base:safe_conversions",
21  ]
22}
23
24if (rtc_include_tests) {
25  rtc_library("units_unittests") {
26    testonly = true
27    sources = [ "unit_base_unittest.cc" ]
28    deps = [
29      ":unit_base",
30      "../../test:test_support",
31    ]
32  }
33}
34