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

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

Issue 1531443002: Update base to extend NaCl support (needed for skia support) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « no previous file | base/process/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_posix.cc", 39 "shared_memory_posix.cc",
40 "shared_memory_win.cc", 40 "shared_memory_win.cc",
41 "singleton.cc", 41 "singleton.cc",
42 "singleton.h", 42 "singleton.h",
43 "weak_ptr.cc", 43 "weak_ptr.cc",
44 "weak_ptr.h", 44 "weak_ptr.h",
45 ] 45 ]
46 46
47 if (is_nacl) { 47 if (is_nacl) {
48 sources -= [ 48 sources -= [
49 "discardable_memory.cc",
50 "discardable_memory.h",
51 "discardable_memory_allocator.cc",
52 "discardable_memory_allocator.h",
53 "discardable_shared_memory.cc", 49 "discardable_shared_memory.cc",
54 "discardable_shared_memory.h", 50 "discardable_shared_memory.h",
55 "shared_memory_posix.cc", 51 "shared_memory_posix.cc",
56 ] 52 ]
57 } else { 53 } else {
58 sources -= [ "shared_memory_nacl.cc" ] 54 sources -= [ "shared_memory_nacl.cc" ]
59 } 55 }
60 56
61 if (is_android) { 57 if (is_android) {
62 deps = [ 58 deps = [
63 "//third_party/ashmem", 59 "//third_party/ashmem",
64 ] 60 ]
65 } 61 }
66 62
67 configs += [ "//base:base_implementation" ] 63 configs += [ "//base:base_implementation" ]
68 64
69 visibility = [ "//base/*" ] 65 visibility = [ "//base/*" ]
70 } 66 }
OLDNEW
« no previous file with comments | « no previous file | base/process/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698