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 source_set("memory") { |
6 sources = [ | 6 sources = [ |
7 "aligned_memory.cc", | 7 "aligned_memory.cc", |
8 "aligned_memory.h", | 8 "aligned_memory.h", |
9 "discardable_memory.cc", | 9 "discardable_memory.cc", |
10 "discardable_memory.h", | 10 "discardable_memory.h", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "discardable_memory_shmem_allocator.cc", | 47 "discardable_memory_shmem_allocator.cc", |
48 "discardable_memory_shmem_allocator.h", | 48 "discardable_memory_shmem_allocator.h", |
49 "discardable_shared_memory.cc", | 49 "discardable_shared_memory.cc", |
50 "discardable_shared_memory.h", | 50 "discardable_shared_memory.h", |
51 "shared_memory_posix.cc", | 51 "shared_memory_posix.cc", |
52 ] | 52 ] |
53 } else { | 53 } else { |
54 sources -= [ "shared_memory_nacl.cc" ] | 54 sources -= [ "shared_memory_nacl.cc" ] |
55 } | 55 } |
56 | 56 |
57 defines = [ "BASE_IMPLEMENTATION" ] | 57 configs += [ "//base:base_implementation" ] |
58 | 58 |
59 visibility = [ "//base/*" ] | 59 visibility = [ "//base/*" ] |
60 } | 60 } |
OLD | NEW |