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