OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 static_library("timers") { | 5 static_library("timers") { |
6 sources = [ | 6 sources = [ |
7 "alarm_timer_chromeos.cc", | 7 "alarm_timer_chromeos.cc", |
8 "alarm_timer_chromeos.h", | 8 "alarm_timer_chromeos.h", |
9 ] | 9 ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 ] | 13 ] |
14 } | 14 } |
| 15 |
| 16 source_set("unit_tests") { |
| 17 testonly = true |
| 18 |
| 19 sources = [ |
| 20 "alarm_timer_unittest.cc", |
| 21 ] |
| 22 |
| 23 deps = [ |
| 24 ":timers", |
| 25 "//base", |
| 26 "//testing/gtest", |
| 27 ] |
| 28 } |
OLD | NEW |