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

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

Issue 1540953003: Move base GN subprojects into base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « 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_allocator.cc",
12 "discardable_memory_allocator.h",
13 "discardable_shared_memory.cc",
14 "discardable_shared_memory.h",
15 "linked_ptr.h",
16 "manual_constructor.h",
17 "memory_pressure_listener.cc",
18 "memory_pressure_listener.h",
19 "memory_pressure_monitor.cc",
20 "memory_pressure_monitor.h",
21 "memory_pressure_monitor_chromeos.cc",
22 "memory_pressure_monitor_chromeos.h",
23 "memory_pressure_monitor_mac.cc",
24 "memory_pressure_monitor_mac.h",
25 "memory_pressure_monitor_win.cc",
26 "memory_pressure_monitor_win.h",
27 "ptr_util.h",
28 "raw_scoped_refptr_mismatch_checker.h",
29 "ref_counted.cc",
30 "ref_counted.h",
31 "ref_counted_delete_on_message_loop.h",
32 "ref_counted_memory.cc",
33 "ref_counted_memory.h",
34 "scoped_policy.h",
35 "scoped_ptr.h",
36 "scoped_vector.h",
37 "shared_memory.h",
38 "shared_memory_android.cc",
39 "shared_memory_handle.h",
40 "shared_memory_handle_mac.cc",
41 "shared_memory_handle_win.cc",
42 "shared_memory_mac.cc",
43 "shared_memory_nacl.cc",
44 "shared_memory_posix.cc",
45 "shared_memory_win.cc",
46 "singleton.cc",
47 "singleton.h",
48 "weak_ptr.cc",
49 "weak_ptr.h",
50 ]
51 if (is_ios) {
52 sources -= [
53 "discardable_shared_memory.cc",
54 "discardable_shared_memory.h",
55 ]
56 }
57
58 if (is_nacl) {
59 sources -= [
60 "discardable_memory.cc",
61 "discardable_memory.h",
62 "discardable_memory_allocator.cc",
63 "discardable_memory_allocator.h",
64 "discardable_shared_memory.cc",
65 "discardable_shared_memory.h",
66 "shared_memory_posix.cc",
67 ]
68 } else {
69 sources -= [ "shared_memory_nacl.cc" ]
70 }
71
72 if (is_mac) {
73 sources -= [ "shared_memory_posix.cc" ]
74 }
75
76 if (is_android) {
77 deps = [
78 "//third_party/ashmem",
79 ]
80 }
81
82 configs += [ "//base:base_implementation" ]
83
84 visibility = [ "//base/*" ]
85 }
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