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

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

Issue 972203003: Fix GN NaCl Debug build of base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 5 years, 9 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/json/BUILD.gn ('k') | base/metrics/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
(Empty)
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
3 # found in the LICENSE file.
4
5 source_set("memory") {
6 sources = [
7 "aligned_memory.cc",
8 "aligned_memory.h",
9 "discardable_memory.cc",
10 "discardable_memory.h",
11 "discardable_memory_android.cc",
12 "discardable_memory_emulated.cc",
13 "discardable_memory_emulated.h",
14 "discardable_memory_linux.cc",
15 "discardable_memory_mac.cc",
16 "discardable_memory_manager.cc",
17 "discardable_memory_manager.h",
18 "discardable_memory_shmem.cc",
19 "discardable_memory_shmem.h",
20 "discardable_memory_shmem_allocator.cc",
21 "discardable_memory_shmem_allocator.h",
22 "discardable_memory_win.cc",
23 "discardable_shared_memory.cc",
24 "discardable_shared_memory.h",
25 "linked_ptr.h",
26 "manual_constructor.h",
27 "memory_pressure_listener.cc",
28 "memory_pressure_listener.h",
29 "raw_scoped_refptr_mismatch_checker.h",
30 "ref_counted.cc",
31 "ref_counted.h",
32 "ref_counted_delete_on_message_loop.h",
33 "ref_counted_memory.cc",
34 "ref_counted_memory.h",
35 "scoped_policy.h",
36 "scoped_ptr.h",
37 "scoped_vector.h",
38 "shared_memory.h",
39 "shared_memory_android.cc",
40 "shared_memory_nacl.cc",
41 "shared_memory_posix.cc",
42 "shared_memory_win.cc",
43 "singleton.cc",
44 "singleton.h",
45 "weak_ptr.cc",
46 "weak_ptr.h",
47 ]
48
49 if (is_android) {
50 sources += [
51 "discardable_memory_ashmem.cc",
52 "discardable_memory_ashmem.h",
53 "discardable_memory_ashmem_allocator.cc",
54 "discardable_memory_ashmem_allocator.h",
55 ]
56 }
57
58 if (is_nacl) {
59 sources -= [
60 "discardable_memory.cc",
61 "discardable_memory.h",
62 "discardable_memory_emulated.cc",
63 "discardable_memory_emulated.h",
64 "discardable_memory_manager.cc",
65 "discardable_memory_manager.h",
66 "discardable_memory_shmem.cc",
67 "discardable_memory_shmem.h",
68 "discardable_memory_shmem_allocator.cc",
69 "discardable_memory_shmem_allocator.h",
70 "discardable_shared_memory.cc",
71 "discardable_shared_memory.h",
72 "shared_memory_posix.cc",
73 ]
74 } else {
75 sources -= [ "shared_memory_nacl.cc" ]
76 }
77
78 defines = [ "BASE_IMPLEMENTATION" ]
79
80 visibility = [ "//base/*" ]
81 }
OLDNEW
« no previous file with comments | « base/json/BUILD.gn ('k') | base/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698