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

Side by Side Diff: memory/BUILD.gn

Issue 2050803003: Update to Chromium //base at Chromium commit e3a753f17bac62738b0dbf0b36510f767b081e4b. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 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 | « mac/foundation_util_unittest.mm ('k') | memory/memory_pressure_listener.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "shared_memory_posix.cc", 62 "shared_memory_posix.cc",
63 ] 63 ]
64 } else { 64 } else {
65 sources -= [ "shared_memory_nacl.cc" ] 65 sources -= [ "shared_memory_nacl.cc" ]
66 } 66 }
67 67
68 if (is_mac) { 68 if (is_mac) {
69 sources -= [ "shared_memory_posix.cc" ] 69 sources -= [ "shared_memory_posix.cc" ]
70 } 70 }
71 71
72 if (is_ios) {
73 set_sources_assignment_filter([])
74 sources += [
75 "shared_memory_handle_mac.cc",
76 "shared_memory_mac.cc",
77 ]
78 set_sources_assignment_filter(sources_assignment_filter)
79 }
80
72 if (is_android) { 81 if (is_android) {
73 deps = [ 82 deps = [
74 "//third_party/ashmem", 83 "//third_party/ashmem",
75 ] 84 ]
76 } 85 }
77 86
78 configs += [ "//base:base_implementation" ] 87 configs += [ "//base:base_implementation" ]
79 88
80 visibility = [ "//base/*" ] 89 visibility = [ "//base/*" ]
81 } 90 }
OLDNEW
« no previous file with comments | « mac/foundation_util_unittest.mm ('k') | memory/memory_pressure_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698