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