Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: base/memory/BUILD.gn

Issue 1328963002: Build shared_memory_mac.cc and shared_memory_handle_mac.cc for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/base.gypi ('k') | base/memory/shared_memory_handle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/memory/shared_memory_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698