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 28 matching lines...) Expand all Loading... | |
39 "shared_memory_posix.cc", | 39 "shared_memory_posix.cc", |
40 "shared_memory_win.cc", | 40 "shared_memory_win.cc", |
41 "singleton.cc", | 41 "singleton.cc", |
42 "singleton.h", | 42 "singleton.h", |
43 "weak_ptr.cc", | 43 "weak_ptr.cc", |
44 "weak_ptr.h", | 44 "weak_ptr.h", |
45 ] | 45 ] |
46 | 46 |
47 if (is_nacl) { | 47 if (is_nacl) { |
48 sources -= [ | 48 sources -= [ |
49 "discardable_memory.cc", | 49 "discardable_memory.cc", |
Mark Seaborn
2015/12/15 18:51:35
You might want to enable discardable_memory.{cc,h}
Sean Klein
2015/12/15 19:29:25
Done.
| |
50 "discardable_memory.h", | 50 "discardable_memory.h", |
51 "discardable_memory_allocator.cc", | |
52 "discardable_memory_allocator.h", | |
53 "discardable_shared_memory.cc", | 51 "discardable_shared_memory.cc", |
54 "discardable_shared_memory.h", | 52 "discardable_shared_memory.h", |
55 "shared_memory_posix.cc", | 53 "shared_memory_posix.cc", |
56 ] | 54 ] |
57 } else { | 55 } else { |
58 sources -= [ "shared_memory_nacl.cc" ] | 56 sources -= [ "shared_memory_nacl.cc" ] |
59 } | 57 } |
60 | 58 |
61 if (is_android) { | 59 if (is_android) { |
62 deps = [ | 60 deps = [ |
63 "//third_party/ashmem", | 61 "//third_party/ashmem", |
64 ] | 62 ] |
65 } | 63 } |
66 | 64 |
67 configs += [ "//base:base_implementation" ] | 65 configs += [ "//base:base_implementation" ] |
68 | 66 |
69 visibility = [ "//base/*" ] | 67 visibility = [ "//base/*" ] |
70 } | 68 } |
OLD | NEW |