| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 source_set("memory") { | 5 # Should be static library, see documentation on //base:base for discussion. |
| 6 static_library("memory") { |
| 6 sources = [ | 7 sources = [ |
| 7 "aligned_memory.cc", | 8 "aligned_memory.cc", |
| 8 "aligned_memory.h", | 9 "aligned_memory.h", |
| 9 "discardable_memory.cc", | 10 "discardable_memory.cc", |
| 10 "discardable_memory.h", | 11 "discardable_memory.h", |
| 11 "discardable_memory_allocator.cc", | 12 "discardable_memory_allocator.cc", |
| 12 "discardable_memory_allocator.h", | 13 "discardable_memory_allocator.h", |
| 13 "discardable_shared_memory.cc", | 14 "discardable_shared_memory.cc", |
| 14 "discardable_shared_memory.h", | 15 "discardable_shared_memory.h", |
| 15 "linked_ptr.h", | 16 "linked_ptr.h", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 if (is_android) { | 77 if (is_android) { |
| 77 deps = [ | 78 deps = [ |
| 78 "//third_party/ashmem", | 79 "//third_party/ashmem", |
| 79 ] | 80 ] |
| 80 } | 81 } |
| 81 | 82 |
| 82 configs += [ "//base:base_implementation" ] | 83 configs += [ "//base:base_implementation" ] |
| 83 | 84 |
| 84 visibility = [ "//base/*" ] | 85 visibility = [ "//base/*" ] |
| 85 } | 86 } |
| OLD | NEW |