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