OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 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/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
6 | 6 |
7 if (is_mac) { | 7 if (is_mac) { |
8 import("//build/config/sysroot.gni") | 8 import("//build/config/sysroot.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "misc/pdb_structures.cc", | 85 "misc/pdb_structures.cc", |
86 "misc/pdb_structures.h", | 86 "misc/pdb_structures.h", |
87 "misc/random_string.cc", | 87 "misc/random_string.cc", |
88 "misc/random_string.h", | 88 "misc/random_string.h", |
89 "misc/scoped_forbid_return.cc", | 89 "misc/scoped_forbid_return.cc", |
90 "misc/scoped_forbid_return.h", | 90 "misc/scoped_forbid_return.h", |
91 "misc/symbolic_constants_common.h", | 91 "misc/symbolic_constants_common.h", |
92 "misc/tri_state.h", | 92 "misc/tri_state.h", |
93 "misc/uuid.cc", | 93 "misc/uuid.cc", |
94 "misc/uuid.h", | 94 "misc/uuid.h", |
| 95 "misc/zlib.cc", |
| 96 "misc/zlib.h", |
95 "net/http_body.cc", | 97 "net/http_body.cc", |
96 "net/http_body.h", | 98 "net/http_body.h", |
| 99 "net/http_body_gzip.cc", |
| 100 "net/http_body_gzip.h", |
97 "net/http_headers.cc", | 101 "net/http_headers.cc", |
98 "net/http_headers.h", | 102 "net/http_headers.h", |
99 "net/http_multipart_builder.cc", | 103 "net/http_multipart_builder.cc", |
100 "net/http_multipart_builder.h", | 104 "net/http_multipart_builder.h", |
101 "net/http_transport.cc", | 105 "net/http_transport.cc", |
102 "net/http_transport.h", | 106 "net/http_transport.h", |
103 "net/http_transport_mac.mm", | 107 "net/http_transport_mac.mm", |
104 "net/http_transport_win.cc", | 108 "net/http_transport_win.cc", |
105 "numeric/checked_address_range.cc", | 109 "numeric/checked_address_range.cc", |
106 "numeric/checked_address_range.h", | 110 "numeric/checked_address_range.h", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 "win/process_info.h", | 176 "win/process_info.h", |
173 "win/process_structs.h", | 177 "win/process_structs.h", |
174 "win/registration_protocol_win.cc", | 178 "win/registration_protocol_win.cc", |
175 "win/registration_protocol_win.h", | 179 "win/registration_protocol_win.h", |
176 "win/scoped_handle.cc", | 180 "win/scoped_handle.cc", |
177 "win/scoped_handle.h", | 181 "win/scoped_handle.h", |
178 "win/scoped_local_alloc.cc", | 182 "win/scoped_local_alloc.cc", |
179 "win/scoped_local_alloc.h", | 183 "win/scoped_local_alloc.h", |
180 "win/scoped_process_suspend.cc", | 184 "win/scoped_process_suspend.cc", |
181 "win/scoped_process_suspend.h", | 185 "win/scoped_process_suspend.h", |
| 186 "win/session_end_watcher.cc", |
| 187 "win/session_end_watcher.h", |
182 "win/termination_codes.h", | 188 "win/termination_codes.h", |
183 "win/time.cc", | 189 "win/time.cc", |
184 "win/time.h", | 190 "win/time.h", |
185 "win/xp_compat.h", | 191 "win/xp_compat.h", |
186 ] | 192 ] |
187 | 193 |
188 if (is_mac) { | 194 if (is_mac) { |
189 # mach/ are not globally filtered. | 195 # mach/ are not globally filtered. |
190 sources += [ | 196 sources += [ |
191 "mach/child_port_handshake.cc", | 197 "mach/child_port_handshake.cc", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 include_dirs = [ | 234 include_dirs = [ |
229 "..", | 235 "..", |
230 "$root_gen_dir/third_party/crashpad/crashpad", | 236 "$root_gen_dir/third_party/crashpad/crashpad", |
231 ] | 237 ] |
232 | 238 |
233 all_dependent_configs = [ ":util_link_config" ] | 239 all_dependent_configs = [ ":util_link_config" ] |
234 | 240 |
235 deps = [ | 241 deps = [ |
236 "//base", | 242 "//base", |
237 "//third_party/crashpad/crashpad/compat", | 243 "//third_party/crashpad/crashpad/compat", |
| 244 "//third_party/crashpad/crashpad/third_party/zlib", |
238 ] | 245 ] |
239 | 246 |
240 if (is_win) { | 247 if (is_win) { |
241 libs = [ "winhttp.lib" ] | 248 libs = [ "winhttp.lib" ] |
242 cflags = [ | 249 cflags = [ |
243 "/wd4201", # nonstandard extension used : nameless struct/union. | 250 "/wd4201", # nonstandard extension used : nameless struct/union. |
244 "/wd4577", # 'noexcept' used with no exception handling mode specified. | 251 "/wd4577", # 'noexcept' used with no exception handling mode specified. |
245 ] | 252 ] |
246 | 253 |
247 if (current_cpu == "x86") { | 254 if (current_cpu == "x86") { |
248 asmflags = [ "/safeseh" ] | 255 asmflags = [ "/safeseh" ] |
249 } | 256 } |
250 } else if (is_mac) { | 257 } else if (is_mac) { |
251 sources += get_target_outputs(":mig") | 258 sources += get_target_outputs(":mig") |
252 deps += [ ":mig" ] | 259 deps += [ ":mig" ] |
253 libs = [ | 260 libs = [ |
254 "CoreFoundation.framework", | 261 "CoreFoundation.framework", |
255 "Foundation.framework", | 262 "Foundation.framework", |
256 "IOKit.framework", | 263 "IOKit.framework", |
257 ] | 264 ] |
258 } | 265 } |
259 } | 266 } |
OLD | NEW |