OLD | NEW |
---|---|
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("process") { | 5 source_set("process") { |
6 sources = [ | 6 sources = [ |
7 "internal_linux.cc", | 7 "internal_linux.cc", |
8 "internal_linux.h", | 8 "internal_linux.h", |
9 "kill.cc", | 9 "kill.cc", |
10 "kill.h", | 10 "kill.h", |
(...skipping 77 matching lines...) Loading... | |
88 "memory.cc", | 88 "memory.cc", |
89 "memory.h", | 89 "memory.h", |
90 "process_iterator.cc", | 90 "process_iterator.cc", |
91 "process_iterator.h", | 91 "process_iterator.h", |
92 "process_metrics.cc", | 92 "process_metrics.cc", |
93 "process_metrics_posix.cc", | 93 "process_metrics_posix.cc", |
94 "process_posix.cc", | 94 "process_posix.cc", |
95 ] | 95 ] |
96 } | 96 } |
97 | 97 |
98 if (is_ios) { | |
99 sources -= [ | |
100 "launch_posix.cc", | |
101 "process_metrics_posix.cc", | |
102 ] | |
103 | |
104 set_sources_assignment_filter([]) | |
105 | |
106 sources += [ | |
107 "process_handle_mac.cc", | |
sdefresne
2015/06/11 17:54:32
I think we don't build those two files on iOS when
| |
108 "process_iterator_mac.cc", | |
109 ] | |
110 | |
111 set_sources_assignment_filter(sources_assignment_filter) | |
112 } | |
113 | |
98 configs += [ "//base:base_implementation" ] | 114 configs += [ "//base:base_implementation" ] |
99 | 115 |
100 deps = [ | 116 deps = [ |
101 "//base/memory", | 117 "//base/memory", |
102 "//base/third_party/dynamic_annotations", | 118 "//base/third_party/dynamic_annotations", |
103 ] | 119 ] |
104 | 120 |
105 allow_circular_includes_from = [ "//base/memory" ] | 121 allow_circular_includes_from = [ "//base/memory" ] |
106 | 122 |
107 visibility = [ "//base/*" ] | 123 visibility = [ "//base/*" ] |
108 } | 124 } |
OLD | NEW |