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

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

Issue 1257303005: Editing iOS sources and dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Editing_IOS_dependencies
Patch Set: set_sources_assignment_filter(sources_assignment_filter) Created 5 years, 4 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/BUILD.gn ('k') | base/test/BUILD.gn » ('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 28 matching lines...) Expand all
39 "shared_memory_handle_mac.cc", 39 "shared_memory_handle_mac.cc",
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) {
50 sources -= [ "shared_memory_posix.cc" ]
51 }
49 52
50 if (is_nacl) { 53 if (is_nacl) {
51 sources -= [ 54 sources -= [
52 "discardable_memory.cc", 55 "discardable_memory.cc",
53 "discardable_memory.h", 56 "discardable_memory.h",
54 "discardable_memory_allocator.cc", 57 "discardable_memory_allocator.cc",
55 "discardable_memory_allocator.h", 58 "discardable_memory_allocator.h",
56 "discardable_shared_memory.cc", 59 "discardable_shared_memory.cc",
57 "discardable_shared_memory.h", 60 "discardable_shared_memory.h",
58 "shared_memory_posix.cc", 61 "shared_memory_posix.cc",
59 ] 62 ]
60 } else { 63 } else {
61 sources -= [ "shared_memory_nacl.cc" ] 64 sources -= [ "shared_memory_nacl.cc" ]
62 } 65 }
63 66
64 if (is_mac) { 67 if (is_mac) {
65 sources -= [ "shared_memory_posix.cc" ] 68 sources -= [ "shared_memory_posix.cc" ]
66 } 69 }
67 70
68 if (is_android) { 71 if (is_android) {
69 deps = [ 72 deps = [
70 "//third_party/ashmem", 73 "//third_party/ashmem",
71 ] 74 ]
72 } 75 }
73 76
74 configs += [ "//base:base_implementation" ] 77 configs += [ "//base:base_implementation" ]
75 78
76 visibility = [ "//base/*" ] 79 visibility = [ "//base/*" ]
77 } 80 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698