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

Side by Side Diff: base/process/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/metrics/BUILD.gn ('k') | base/trace_event/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 import("//build/config/nacl/config.gni")
6
7 source_set("process") {
8 sources = [
9 "internal_linux.cc",
10 "internal_linux.h",
11 "kill.cc",
12 "kill.h",
13 "kill_mac.cc",
14 "kill_posix.cc",
15 "kill_win.cc",
16 "launch.cc",
17 "launch.h",
18 "launch_ios.cc",
19 "launch_mac.cc",
20 "launch_posix.cc",
21 "launch_win.cc",
22 "memory.cc",
23 "memory.h",
24 "memory_linux.cc",
25 "memory_mac.mm",
26 "memory_win.cc",
27 "port_provider_mac.cc",
28 "port_provider_mac.h",
29 "process.h",
30 "process_handle.cc",
31 "process_handle_freebsd.cc",
32 "process_handle_linux.cc",
33 "process_handle_mac.cc",
34 "process_handle_openbsd.cc",
35 "process_handle_posix.cc",
36 "process_handle_win.cc",
37 "process_info.h",
38 "process_info_linux.cc",
39 "process_info_mac.cc",
40 "process_info_win.cc",
41 "process_iterator.cc",
42 "process_iterator.h",
43 "process_iterator_freebsd.cc",
44 "process_iterator_linux.cc",
45 "process_iterator_mac.cc",
46 "process_iterator_openbsd.cc",
47 "process_iterator_win.cc",
48 "process_linux.cc",
49 "process_metrics.cc",
50 "process_metrics.h",
51 "process_metrics_freebsd.cc",
52 "process_metrics_ios.cc",
53 "process_metrics_linux.cc",
54 "process_metrics_mac.cc",
55 "process_metrics_openbsd.cc",
56 "process_metrics_posix.cc",
57 "process_metrics_win.cc",
58 "process_posix.cc",
59 "process_win.cc",
60 ]
61
62 sources -= [
63 "process_handle_freebsd.cc",
64 "process_handle_openbsd.cc",
65 "process_iterator_freebsd.cc",
66 "process_iterator_openbsd.cc",
67 "process_metrics_freebsd.cc",
68 "process_metrics_openbsd.cc",
69 ]
70
71 if (is_android) {
72 # Android uses some Linux sources, put those back.
73 set_sources_assignment_filter([])
74 sources += [
75 "internal_linux.cc",
76 "memory_linux.cc",
77 "process_handle_linux.cc",
78 "process_iterator_linux.cc",
79 "process_metrics_linux.cc",
80 ]
81 set_sources_assignment_filter(sources_assignment_filter)
82 }
83
84 if (is_nacl || is_ios) {
85 sources -= [
86 "kill.cc",
87 "kill.h",
88 "memory.cc",
89 "memory.h",
90 "process_iterator.cc",
91 "process_iterator.h",
92 "process_metrics.cc",
93 "process_metrics_posix.cc",
94 "process_posix.cc",
95 ]
96 if (!is_nacl_nonsfi) {
97 sources -= [
98 "kill_posix.cc",
99 "launch.cc",
100 "launch.h",
101 "launch_posix.cc",
102 ]
103 }
104 }
105
106 if (is_nacl) {
107 sources += [ "process_metrics_nacl.cc" ]
108 }
109
110 if (is_ios) {
111 sources += [
112 "memory_stubs.cc",
113 "process_metrics.cc",
114 ]
115 }
116
117 configs += [ "//base:base_implementation" ]
118
119 deps = [
120 "//base/memory",
121 "//base/third_party/dynamic_annotations",
122 ]
123
124 allow_circular_includes_from = [ "//base/memory" ]
125
126 visibility = [ "//base/*" ]
127 }
OLDNEW
« no previous file with comments | « base/metrics/BUILD.gn ('k') | base/trace_event/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698