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

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

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress 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/mac/scoped_mach_vm.cc ('k') | base/memory/discardable_memory.h » ('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_linux.cc",
13 "discardable_memory_mac.cc",
14 "discardable_memory_shmem.cc",
15 "discardable_memory_shmem.h",
16 "discardable_memory_shmem_allocator.cc",
17 "discardable_memory_shmem_allocator.h",
18 "discardable_memory_win.cc",
19 "discardable_shared_memory.cc",
20 "discardable_shared_memory.h",
21 "linked_ptr.h",
22 "manual_constructor.h",
23 "memory_pressure_listener.cc",
24 "memory_pressure_listener.h",
25 "raw_scoped_refptr_mismatch_checker.h",
26 "ref_counted.cc",
27 "ref_counted.h",
28 "ref_counted_delete_on_message_loop.h",
29 "ref_counted_memory.cc",
30 "ref_counted_memory.h",
31 "scoped_policy.h",
32 "scoped_ptr.h",
33 "scoped_vector.h",
34 "shared_memory.h",
35 "shared_memory_android.cc",
36 "shared_memory_nacl.cc",
37 "shared_memory_posix.cc",
38 "shared_memory_win.cc",
39 "singleton.cc",
40 "singleton.h",
41 "weak_ptr.cc",
42 "weak_ptr.h",
43 ]
44
45 if (is_nacl) {
46 sources -= [
47 "discardable_memory.cc",
48 "discardable_memory.h",
49 "discardable_memory_shmem.cc",
50 "discardable_memory_shmem.h",
51 "discardable_memory_shmem_allocator.cc",
52 "discardable_memory_shmem_allocator.h",
53 "discardable_shared_memory.cc",
54 "discardable_shared_memory.h",
55 "shared_memory_posix.cc",
56 ]
57 } else {
58 sources -= [ "shared_memory_nacl.cc" ]
59 }
60
61 defines = [ "BASE_IMPLEMENTATION" ]
62
63 visibility = [ "//base/*" ]
64 }
OLDNEW
« no previous file with comments | « base/mac/scoped_mach_vm.cc ('k') | base/memory/discardable_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698