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("power") { | 5 static_library("power") { |
6 sources = [ | 6 sources = [ |
7 "origin_power_map.cc", | 7 "origin_power_map.cc", |
8 "origin_power_map.h", | 8 "origin_power_map.h", |
9 "origin_power_map_factory.cc", | 9 "origin_power_map_factory.cc", |
10 "origin_power_map_factory.h", | 10 "origin_power_map_factory.h", |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 "//components/keyed_service/core:core", | 15 "//components/keyed_service/core:core", |
16 "//content/public/common", | 16 "//content/public/common", |
17 ] | 17 ] |
18 } | 18 } |
| 19 |
| 20 source_set("unit_tests") { |
| 21 testonly = true |
| 22 sources = [ |
| 23 "origin_power_map_unittest.cc", |
| 24 ] |
| 25 deps = [ |
| 26 ":power", |
| 27 "//testing/gtest", |
| 28 ] |
| 29 } |
OLD | NEW |