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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "discardable_memory_allocator.cc", | 45 "discardable_memory_allocator.cc", |
46 "discardable_memory_allocator.h", | 46 "discardable_memory_allocator.h", |
47 "discardable_shared_memory.cc", | 47 "discardable_shared_memory.cc", |
48 "discardable_shared_memory.h", | 48 "discardable_shared_memory.h", |
49 "shared_memory_posix.cc", | 49 "shared_memory_posix.cc", |
50 ] | 50 ] |
51 } else { | 51 } else { |
52 sources -= [ "shared_memory_nacl.cc" ] | 52 sources -= [ "shared_memory_nacl.cc" ] |
53 } | 53 } |
54 | 54 |
| 55 if (is_android) { |
| 56 deps = [ |
| 57 "//third_party/ashmem", |
| 58 ] |
| 59 } |
| 60 |
55 configs += [ "//base:base_implementation" ] | 61 configs += [ "//base:base_implementation" ] |
56 | 62 |
57 visibility = [ "//base/*" ] | 63 visibility = [ "//base/*" ] |
58 } | 64 } |
OLD | NEW |