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 import("//build/config/nacl/config.gni") |
| 6 |
5 source_set("process") { | 7 source_set("process") { |
6 sources = [ | 8 sources = [ |
7 "internal_linux.cc", | 9 "internal_linux.cc", |
8 "internal_linux.h", | 10 "internal_linux.h", |
9 "kill.cc", | 11 "kill.cc", |
10 "kill.h", | 12 "kill.h", |
11 "kill_mac.cc", | 13 "kill_mac.cc", |
12 "kill_posix.cc", | 14 "kill_posix.cc", |
13 "kill_win.cc", | 15 "kill_win.cc", |
14 "launch.cc", | 16 "launch.cc", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 "process_iterator_linux.cc", | 77 "process_iterator_linux.cc", |
76 "process_metrics_linux.cc", | 78 "process_metrics_linux.cc", |
77 ] | 79 ] |
78 set_sources_assignment_filter(sources_assignment_filter) | 80 set_sources_assignment_filter(sources_assignment_filter) |
79 } | 81 } |
80 | 82 |
81 if (is_nacl || is_ios) { | 83 if (is_nacl || is_ios) { |
82 sources -= [ | 84 sources -= [ |
83 "kill.cc", | 85 "kill.cc", |
84 "kill.h", | 86 "kill.h", |
85 "kill_posix.cc", | |
86 "launch.cc", | |
87 "launch.h", | |
88 "launch_posix.cc", | |
89 "memory.cc", | 87 "memory.cc", |
90 "memory.h", | 88 "memory.h", |
91 "process_iterator.cc", | 89 "process_iterator.cc", |
92 "process_iterator.h", | 90 "process_iterator.h", |
93 "process_metrics.cc", | 91 "process_metrics.cc", |
94 "process_metrics_posix.cc", | 92 "process_metrics_posix.cc", |
95 "process_posix.cc", | 93 "process_posix.cc", |
96 ] | 94 ] |
| 95 if (!is_nacl_nonsfi) { |
| 96 sources -= [ |
| 97 "kill_posix.cc", |
| 98 "launch.cc", |
| 99 "launch.h", |
| 100 "launch_posix.cc", |
| 101 ] |
| 102 } |
97 } | 103 } |
98 | 104 |
99 if (is_nacl) { | 105 if (is_nacl) { |
100 sources += [ "process_metrics_nacl.cc" ] | 106 sources += [ "process_metrics_nacl.cc" ] |
101 } | 107 } |
102 | 108 |
103 if (is_ios) { | 109 if (is_ios) { |
104 sources += [ | 110 sources += [ |
105 "memory_stubs.cc", | 111 "memory_stubs.cc", |
106 "process_metrics.cc", | 112 "process_metrics.cc", |
107 ] | 113 ] |
108 } | 114 } |
109 | 115 |
110 configs += [ "//base:base_implementation" ] | 116 configs += [ "//base:base_implementation" ] |
111 | 117 |
112 deps = [ | 118 deps = [ |
113 "//base/memory", | 119 "//base/memory", |
114 "//base/third_party/dynamic_annotations", | 120 "//base/third_party/dynamic_annotations", |
115 ] | 121 ] |
116 | 122 |
117 allow_circular_includes_from = [ "//base/memory" ] | 123 allow_circular_includes_from = [ "//base/memory" ] |
118 | 124 |
119 visibility = [ "//base/*" ] | 125 visibility = [ "//base/*" ] |
120 } | 126 } |
OLD | NEW |