| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "shared_memory_posix.cc", | 66 "shared_memory_posix.cc", |
| 67 ] | 67 ] |
| 68 } else { | 68 } else { |
| 69 sources -= [ "shared_memory_nacl.cc" ] | 69 sources -= [ "shared_memory_nacl.cc" ] |
| 70 } | 70 } |
| 71 | 71 |
| 72 if (is_mac) { | 72 if (is_mac) { |
| 73 sources -= [ "shared_memory_posix.cc" ] | 73 sources -= [ "shared_memory_posix.cc" ] |
| 74 } | 74 } |
| 75 | 75 |
| 76 if (is_ios) { |
| 77 set_sources_assignment_filter([]) |
| 78 sources += [ |
| 79 "shared_memory_handle_mac.cc", |
| 80 "shared_memory_mac.cc", |
| 81 ] |
| 82 set_sources_assignment_filter(sources_assignment_filter) |
| 83 } |
| 84 |
| 76 if (is_android) { | 85 if (is_android) { |
| 77 deps = [ | 86 deps = [ |
| 78 "//third_party/ashmem", | 87 "//third_party/ashmem", |
| 79 ] | 88 ] |
| 80 } | 89 } |
| 81 | 90 |
| 82 configs += [ "//base:base_implementation" ] | 91 configs += [ "//base:base_implementation" ] |
| 83 | 92 |
| 84 visibility = [ "//base/*" ] | 93 visibility = [ "//base/*" ] |
| 85 } | 94 } |
| OLD | NEW |