| 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 29 matching lines...) Expand all Loading... |
| 40 "shared_memory_mac.cc", | 40 "shared_memory_mac.cc", |
| 41 "shared_memory_nacl.cc", | 41 "shared_memory_nacl.cc", |
| 42 "shared_memory_posix.cc", | 42 "shared_memory_posix.cc", |
| 43 "shared_memory_win.cc", | 43 "shared_memory_win.cc", |
| 44 "singleton.cc", | 44 "singleton.cc", |
| 45 "singleton.h", | 45 "singleton.h", |
| 46 "weak_ptr.cc", | 46 "weak_ptr.cc", |
| 47 "weak_ptr.h", | 47 "weak_ptr.h", |
| 48 ] | 48 ] |
| 49 if (is_ios) { | 49 if (is_ios) { |
| 50 sources -= [ "shared_memory_posix.cc" ] | 50 sources -= [ |
| 51 "discardable_shared_memory.cc", |
| 52 "shared_memory_posix.cc", |
| 53 ] |
| 51 } | 54 } |
| 52 | 55 |
| 53 if (is_nacl) { | 56 if (is_nacl) { |
| 54 sources -= [ | 57 sources -= [ |
| 55 "discardable_memory.cc", | 58 "discardable_memory.cc", |
| 56 "discardable_memory.h", | 59 "discardable_memory.h", |
| 57 "discardable_memory_allocator.cc", | 60 "discardable_memory_allocator.cc", |
| 58 "discardable_memory_allocator.h", | 61 "discardable_memory_allocator.h", |
| 59 "discardable_shared_memory.cc", | 62 "discardable_shared_memory.cc", |
| 60 "discardable_shared_memory.h", | 63 "discardable_shared_memory.h", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 71 if (is_android) { | 74 if (is_android) { |
| 72 deps = [ | 75 deps = [ |
| 73 "//third_party/ashmem", | 76 "//third_party/ashmem", |
| 74 ] | 77 ] |
| 75 } | 78 } |
| 76 | 79 |
| 77 configs += [ "//base:base_implementation" ] | 80 configs += [ "//base:base_implementation" ] |
| 78 | 81 |
| 79 visibility = [ "//base/*" ] | 82 visibility = [ "//base/*" ] |
| 80 } | 83 } |
| OLD | NEW |