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

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

Issue 1180583002: GN updates to build base on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address concerns raised in CL Created 5 years, 6 months 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/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 sources += [ 70 sources += [
71 "internal_linux.cc", 71 "internal_linux.cc",
72 "memory_linux.cc", 72 "memory_linux.cc",
73 "process_handle_linux.cc", 73 "process_handle_linux.cc",
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) { 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", 84 "kill_posix.cc",
85 "launch.cc", 85 "launch.cc",
86 "launch.h", 86 "launch.h",
87 "launch_posix.cc", 87 "launch_posix.cc",
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 += [ "process_metrics.cc" ]
100 }
101
98 configs += [ "//base:base_implementation" ] 102 configs += [ "//base:base_implementation" ]
99 103
100 deps = [ 104 deps = [
101 "//base/memory", 105 "//base/memory",
102 "//base/third_party/dynamic_annotations", 106 "//base/third_party/dynamic_annotations",
103 ] 107 ]
104 108
105 allow_circular_includes_from = [ "//base/memory" ] 109 allow_circular_includes_from = [ "//base/memory" ]
106 110
107 visibility = [ "//base/*" ] 111 visibility = [ "//base/*" ]
108 } 112 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698