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

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

Issue 1197853004: Revert of Revert of Make SharedMemoryHandle a class on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shared_memory_make_class3_base
Patch Set: Created 5 years, 6 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.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 17 matching lines...) Expand all
28 "ref_counted.cc", 28 "ref_counted.cc",
29 "ref_counted.h", 29 "ref_counted.h",
30 "ref_counted_delete_on_message_loop.h", 30 "ref_counted_delete_on_message_loop.h",
31 "ref_counted_memory.cc", 31 "ref_counted_memory.cc",
32 "ref_counted_memory.h", 32 "ref_counted_memory.h",
33 "scoped_policy.h", 33 "scoped_policy.h",
34 "scoped_ptr.h", 34 "scoped_ptr.h",
35 "scoped_vector.h", 35 "scoped_vector.h",
36 "shared_memory.h", 36 "shared_memory.h",
37 "shared_memory_android.cc", 37 "shared_memory_android.cc",
38 "shared_memory_handle.h",
39 "shared_memory_handle_mac.cc",
40 "shared_memory_mac.cc",
38 "shared_memory_nacl.cc", 41 "shared_memory_nacl.cc",
39 "shared_memory_posix.cc", 42 "shared_memory_posix.cc",
40 "shared_memory_win.cc", 43 "shared_memory_win.cc",
41 "singleton.cc", 44 "singleton.cc",
42 "singleton.h", 45 "singleton.h",
43 "weak_ptr.cc", 46 "weak_ptr.cc",
44 "weak_ptr.h", 47 "weak_ptr.h",
45 ] 48 ]
46 49
47 if (is_nacl) { 50 if (is_nacl) {
48 sources -= [ 51 sources -= [
49 "discardable_memory.cc", 52 "discardable_memory.cc",
50 "discardable_memory.h", 53 "discardable_memory.h",
51 "discardable_memory_allocator.cc", 54 "discardable_memory_allocator.cc",
52 "discardable_memory_allocator.h", 55 "discardable_memory_allocator.h",
53 "discardable_shared_memory.cc", 56 "discardable_shared_memory.cc",
54 "discardable_shared_memory.h", 57 "discardable_shared_memory.h",
55 "shared_memory_posix.cc", 58 "shared_memory_posix.cc",
56 ] 59 ]
57 } else { 60 } else {
58 sources -= [ "shared_memory_nacl.cc" ] 61 sources -= [ "shared_memory_nacl.cc" ]
59 } 62 }
60 63
64 if (is_mac) {
65 sources -= [ "shared_memory_posix.cc" ]
66 }
67
61 if (is_android) { 68 if (is_android) {
62 deps = [ 69 deps = [
63 "//third_party/ashmem", 70 "//third_party/ashmem",
64 ] 71 ]
65 } 72 }
66 73
67 configs += [ "//base:base_implementation" ] 74 configs += [ "//base:base_implementation" ]
68 75
69 visibility = [ "//base/*" ] 76 visibility = [ "//base/*" ]
70 } 77 }
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/memory/shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698