| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "file/string_file.h", | 56 "file/string_file.h", |
| 57 "mac/checked_mach_address_range.h", | 57 "mac/checked_mach_address_range.h", |
| 58 "mac/launchd.h", | 58 "mac/launchd.h", |
| 59 "mac/launchd.mm", | 59 "mac/launchd.mm", |
| 60 "mac/mac_util.cc", | 60 "mac/mac_util.cc", |
| 61 "mac/mac_util.h", | 61 "mac/mac_util.h", |
| 62 "mac/service_management.cc", | 62 "mac/service_management.cc", |
| 63 "mac/service_management.h", | 63 "mac/service_management.h", |
| 64 "mac/xattr.cc", | 64 "mac/xattr.cc", |
| 65 "mac/xattr.h", | 65 "mac/xattr.h", |
| 66 "misc/address_sanitizer.h", |
| 67 "misc/arraysize_unsafe.h", |
| 66 "misc/clock.h", | 68 "misc/clock.h", |
| 67 "misc/clock_mac.cc", | 69 "misc/clock_mac.cc", |
| 68 "misc/clock_posix.cc", | 70 "misc/clock_posix.cc", |
| 69 "misc/clock_win.cc", | 71 "misc/clock_win.cc", |
| 70 "misc/implicit_cast.h", | 72 "misc/implicit_cast.h", |
| 71 "misc/initialization_state.h", | 73 "misc/initialization_state.h", |
| 72 "misc/initialization_state_dcheck.cc", | 74 "misc/initialization_state_dcheck.cc", |
| 73 "misc/initialization_state_dcheck.h", | 75 "misc/initialization_state_dcheck.h", |
| 74 "misc/metrics.cc", | 76 "misc/metrics.cc", |
| 75 "misc/metrics.h", | 77 "misc/metrics.h", |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 ] | 224 ] |
| 223 | 225 |
| 224 all_dependent_configs = [ ":util_link_config" ] | 226 all_dependent_configs = [ ":util_link_config" ] |
| 225 | 227 |
| 226 deps = [ | 228 deps = [ |
| 227 "//base", | 229 "//base", |
| 228 "//third_party/crashpad/crashpad/compat", | 230 "//third_party/crashpad/crashpad/compat", |
| 229 ] | 231 ] |
| 230 | 232 |
| 231 if (is_win) { | 233 if (is_win) { |
| 232 libs = [ | 234 libs = [ "winhttp.lib" ] |
| 233 "rpcrt4.lib", | |
| 234 "winhttp.lib", | |
| 235 ] | |
| 236 cflags = [ | 235 cflags = [ |
| 237 "/wd4201", # nonstandard extension used : nameless struct/union. | 236 "/wd4201", # nonstandard extension used : nameless struct/union. |
| 238 "/wd4577", # 'noexcept' used with no exception handling mode specified. | 237 "/wd4577", # 'noexcept' used with no exception handling mode specified. |
| 239 ] | 238 ] |
| 240 | 239 |
| 241 if (current_cpu == "x86") { | 240 if (current_cpu == "x86") { |
| 242 asmflags = [ "/safeseh" ] | 241 asmflags = [ "/safeseh" ] |
| 243 } | 242 } |
| 244 } else if (is_mac) { | 243 } else if (is_mac) { |
| 245 sources += get_target_outputs(":mig") | 244 sources += get_target_outputs(":mig") |
| 246 deps += [ ":mig" ] | 245 deps += [ ":mig" ] |
| 247 libs = [ | 246 libs = [ |
| 248 "CoreFoundation.framework", | 247 "CoreFoundation.framework", |
| 249 "Foundation.framework", | 248 "Foundation.framework", |
| 250 "IOKit.framework", | 249 "IOKit.framework", |
| 251 ] | 250 ] |
| 252 } | 251 } |
| 253 } | 252 } |
| OLD | NEW |