OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "memory_coordinator.cc", | 7 "memory_coordinator.cc", |
8 "memory_coordinator.h", | 8 "memory_coordinator.h", |
9 ] | 9 ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//components/memory_coordinator/public/interfaces", | 13 "//components/memory_coordinator/public/interfaces", |
14 ] | 14 ] |
15 | 15 |
16 public_deps = [ | 16 public_deps = [ |
17 "//components/memory_coordinator/common", | 17 "//components/memory_coordinator/common", |
18 ] | 18 ] |
19 } | 19 } |
| 20 |
| 21 source_set("unit_tests") { |
| 22 testonly = true |
| 23 |
| 24 sources = [ |
| 25 "memory_coordinator_unittest.cc", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 ":browser", |
| 30 "//testing/gtest", |
| 31 ] |
| 32 } |
OLD | NEW |