Sebastian Jansson | 72bba62 | 2018-11-19 11:17:12 +0100 | [diff] [blame] | 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 | |
| 9 | import("../../webrtc.gni") |
| 10 | |
| 11 | rtc_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 | |
| 26 | if (rtc_include_tests) { |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 27 | rtc_library("units_unittests") { |
Sebastian Jansson | 72bba62 | 2018-11-19 11:17:12 +0100 | [diff] [blame] | 28 | testonly = true |
| 29 | sources = [ |
| 30 | "unit_base_unittest.cc", |
| 31 | ] |
| 32 | deps = [ |
| 33 | ":unit_base", |
| 34 | "../../test:test_support", |
| 35 | ] |
| 36 | } |
| 37 | } |