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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("service") { | 7 component("service") { |
8 output_name = "discardable_memory_service" | 8 output_name = "discardable_memory_service" |
9 | 9 |
10 defines = [ "DISCARDABLE_MEMORY_IMPLEMENTATION" ] | 10 defines = [ "DISCARDABLE_MEMORY_IMPLEMENTATION" ] |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "discardable_shared_memory_manager.cc", | 13 "discardable_shared_memory_manager.cc", |
14 "discardable_shared_memory_manager.h", | 14 "discardable_shared_memory_manager.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//components/discardable_memory/common", | 19 "//components/discardable_memory/common", |
| 20 "//components/discardable_memory/public/interfaces", |
20 ] | 21 ] |
21 } | 22 } |
22 | 23 |
23 source_set("unit_tests") { | 24 source_set("unit_tests") { |
24 testonly = true | 25 testonly = true |
25 | 26 |
26 sources = [ | 27 sources = [ |
27 "discardable_shared_memory_manager_unittest.cc", | 28 "discardable_shared_memory_manager_unittest.cc", |
28 ] | 29 ] |
29 | 30 |
30 deps = [ | 31 deps = [ |
31 ":service", | 32 ":service", |
32 "//base", | 33 "//base", |
33 "//testing/gtest", | 34 "//testing/gtest", |
34 ] | 35 ] |
35 } | 36 } |
OLD | NEW |