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

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

Issue 1200473003: 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",
41 "shared_memory_nacl.cc", 38 "shared_memory_nacl.cc",
42 "shared_memory_posix.cc", 39 "shared_memory_posix.cc",
43 "shared_memory_win.cc", 40 "shared_memory_win.cc",
44 "singleton.cc", 41 "singleton.cc",
45 "singleton.h", 42 "singleton.h",
46 "weak_ptr.cc", 43 "weak_ptr.cc",
47 "weak_ptr.h", 44 "weak_ptr.h",
48 ] 45 ]
49 46
50 if (is_nacl) { 47 if (is_nacl) {
51 sources -= [ 48 sources -= [
52 "discardable_memory.cc", 49 "discardable_memory.cc",
53 "discardable_memory.h", 50 "discardable_memory.h",
54 "discardable_memory_allocator.cc", 51 "discardable_memory_allocator.cc",
55 "discardable_memory_allocator.h", 52 "discardable_memory_allocator.h",
56 "discardable_shared_memory.cc", 53 "discardable_shared_memory.cc",
57 "discardable_shared_memory.h", 54 "discardable_shared_memory.h",
58 "shared_memory_posix.cc", 55 "shared_memory_posix.cc",
59 ] 56 ]
60 } else { 57 } else {
61 sources -= [ "shared_memory_nacl.cc" ] 58 sources -= [ "shared_memory_nacl.cc" ]
62 } 59 }
63 60
64 if (is_mac) {
65 sources -= [ "shared_memory_posix.cc" ]
66 }
67
68 if (is_android) { 61 if (is_android) {
69 deps = [ 62 deps = [
70 "//third_party/ashmem", 63 "//third_party/ashmem",
71 ] 64 ]
72 } 65 }
73 66
74 configs += [ "//base:base_implementation" ] 67 configs += [ "//base:base_implementation" ]
75 68
76 visibility = [ "//base/*" ] 69 visibility = [ "//base/*" ]
77 } 70 }
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