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

Side by Side Diff: memory/BUILD.gn

Issue 2043183002: Update to Chromium //base at Chromium commit 01cb97b2e09618bbc3a60c7348f0a844eea20547. (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 | « i18n/time_formatting_unittest.cc ('k') | message_loop/message_loop.cc » ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { 49 if (is_ios) {
50 sources -= [ 50 sources -= [
51 "discardable_shared_memory.cc", 51 "discardable_shared_memory.cc",
52 "discardable_shared_memory.h",
53 "shared_memory.h",
52 "shared_memory_posix.cc", 54 "shared_memory_posix.cc",
53 ] 55 ]
54 } 56 }
55 57
56 if (is_nacl) { 58 if (is_nacl) {
57 sources -= [ 59 sources -= [
58 "discardable_shared_memory.cc", 60 "discardable_shared_memory.cc",
59 "discardable_shared_memory.h", 61 "discardable_shared_memory.h",
60 "shared_memory_posix.cc", 62 "shared_memory_posix.cc",
61 ] 63 ]
62 } else { 64 } else {
63 sources -= [ "shared_memory_nacl.cc" ] 65 sources -= [ "shared_memory_nacl.cc" ]
64 } 66 }
65 67
66 if (is_mac) { 68 if (is_mac) {
67 sources -= [ "shared_memory_posix.cc" ] 69 sources -= [ "shared_memory_posix.cc" ]
68 } 70 }
69 71
70 if (is_android) { 72 if (is_android) {
71 deps = [ 73 deps = [
72 "//third_party/ashmem", 74 "//third_party/ashmem",
73 ] 75 ]
74 } 76 }
75 77
76 configs += [ "//base:base_implementation" ] 78 configs += [ "//base:base_implementation" ]
77 79
78 visibility = [ "//base/*" ] 80 visibility = [ "//base/*" ]
79 } 81 }
OLDNEW
« no previous file with comments | « i18n/time_formatting_unittest.cc ('k') | message_loop/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698