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("common") { |
| 8 output_name = "discardable_memory_common" |
| 9 |
| 10 defines = [ "DISCARDABLE_MEMORY_IMPLEMENTATION" ] |
| 11 |
| 12 sources = [ |
| 13 "discardable_memory_export.h", |
| 14 "discardable_shared_memory_heap.cc", |
| 15 "discardable_shared_memory_heap.h", |
| 16 "discardable_shared_memory_manager.cc", |
| 17 "discardable_shared_memory_manager.h", |
| 18 ] |
| 19 |
| 20 deps = [ |
| 21 "//base", |
| 22 ] |
| 23 } |
| 24 |
| 25 source_set("unit_tests") { |
| 26 testonly = true |
| 27 |
| 28 sources = [ |
| 29 "discardable_shared_memory_heap_unittest.cc", |
| 30 "discardable_shared_memory_manager_unittest.cc", |
| 31 ] |
| 32 |
| 33 deps = [ |
| 34 ":common", |
| 35 "//base", |
| 36 "//testing/gtest", |
| 37 ] |
| 38 } |
OLD | NEW |