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", |
11 "discardable_memory_shmem.cc", | 11 "discardable_memory_allocator.cc", |
12 "discardable_memory_shmem.h", | 12 "discardable_memory_allocator.h", |
13 "discardable_memory_shmem_allocator.cc", | |
14 "discardable_memory_shmem_allocator.h", | |
15 "discardable_shared_memory.cc", | 13 "discardable_shared_memory.cc", |
16 "discardable_shared_memory.h", | 14 "discardable_shared_memory.h", |
17 "linked_ptr.h", | 15 "linked_ptr.h", |
18 "manual_constructor.h", | 16 "manual_constructor.h", |
19 "memory_pressure_listener.cc", | 17 "memory_pressure_listener.cc", |
20 "memory_pressure_listener.h", | 18 "memory_pressure_listener.h", |
21 "raw_scoped_refptr_mismatch_checker.h", | 19 "raw_scoped_refptr_mismatch_checker.h", |
22 "ref_counted.cc", | 20 "ref_counted.cc", |
23 "ref_counted.h", | 21 "ref_counted.h", |
24 "ref_counted_delete_on_message_loop.h", | 22 "ref_counted_delete_on_message_loop.h", |
(...skipping 10 matching lines...) Expand all Loading... |
35 "singleton.cc", | 33 "singleton.cc", |
36 "singleton.h", | 34 "singleton.h", |
37 "weak_ptr.cc", | 35 "weak_ptr.cc", |
38 "weak_ptr.h", | 36 "weak_ptr.h", |
39 ] | 37 ] |
40 | 38 |
41 if (is_nacl) { | 39 if (is_nacl) { |
42 sources -= [ | 40 sources -= [ |
43 "discardable_memory.cc", | 41 "discardable_memory.cc", |
44 "discardable_memory.h", | 42 "discardable_memory.h", |
45 "discardable_memory_shmem.cc", | 43 "discardable_memory_allocator.cc", |
46 "discardable_memory_shmem.h", | 44 "discardable_memory_allocator.h", |
47 "discardable_memory_shmem_allocator.cc", | |
48 "discardable_memory_shmem_allocator.h", | |
49 "discardable_shared_memory.cc", | 45 "discardable_shared_memory.cc", |
50 "discardable_shared_memory.h", | 46 "discardable_shared_memory.h", |
51 "shared_memory_posix.cc", | 47 "shared_memory_posix.cc", |
52 ] | 48 ] |
53 } else { | 49 } else { |
54 sources -= [ "shared_memory_nacl.cc" ] | 50 sources -= [ "shared_memory_nacl.cc" ] |
55 } | 51 } |
56 | 52 |
57 configs += [ "//base:base_implementation" ] | 53 configs += [ "//base:base_implementation" ] |
58 | 54 |
59 visibility = [ "//base/*" ] | 55 visibility = [ "//base/*" ] |
60 } | 56 } |
OLD | NEW |