| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("tools_config") { | 5 config("tools_config") { |
| 6 include_dirs = [ "src", "src/third_party" ] | 6 include_dirs = [ "src", "src/third_party" ] |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 defines = [ "__ANDROID__" ] | 8 defines = [ "__ANDROID__" ] |
| 9 } | 9 } |
| 10 if (is_clang) { | 10 if (is_clang) { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 cflags += [ "-O0" ] | 215 cflags += [ "-O0" ] |
| 216 } | 216 } |
| 217 } | 217 } |
| 218 | 218 |
| 219 executable("symupload") { | 219 executable("symupload") { |
| 220 sources = [ | 220 sources = [ |
| 221 "src/common/mac/HTTPMultipartUpload.m", | 221 "src/common/mac/HTTPMultipartUpload.m", |
| 222 "src/tools/mac/symupload/symupload.m", | 222 "src/tools/mac/symupload/symupload.m", |
| 223 ] | 223 ] |
| 224 | 224 |
| 225 libs = [ "Foundaction.framework" ] | 225 include_dirs = [ |
| 226 "src/common/mac" |
| 227 ] |
| 228 |
| 229 libs = [ "Foundation.framework" ] |
| 226 } | 230 } |
| 227 } | 231 } |
| 228 | 232 |
| 229 if (is_mac) { | 233 if (is_mac) { |
| 230 static_library("utilities") { | 234 static_library("utilities") { |
| 231 sources = [ | 235 sources = [ |
| 232 "src/client/mac/crash_generation/ConfigFile.mm", | 236 "src/client/mac/crash_generation/ConfigFile.mm", |
| 233 "src/client/mac/handler/breakpad_nlist_64.cc", | 237 "src/client/mac/handler/breakpad_nlist_64.cc", |
| 234 "src/client/mac/handler/dynamic_images.cc", | 238 "src/client/mac/handler/dynamic_images.cc", |
| 235 "src/client/mac/handler/minidump_generator.cc", | 239 "src/client/mac/handler/minidump_generator.cc", |
| 236 "src/client/minidump_file_writer.cc", | 240 "src/client/minidump_file_writer.cc", |
| 237 "src/common/convert_UTF.c", | 241 "src/common/convert_UTF.c", |
| 238 "src/common/mac/MachIPC.mm", | 242 "src/common/mac/MachIPC.mm", |
| 239 "src/common/mac/arch_utilities.cc", | 243 "src/common/mac/arch_utilities.cc", |
| 240 "src/common/mac/bootstrap_compat.cc", | 244 "src/common/mac/bootstrap_compat.cc", |
| 241 "src/common/mac/file_id.cc", | 245 "src/common/mac/file_id.cc", |
| 242 "src/common/mac/launch_reporter.cc", | 246 "src/common/mac/launch_reporter.cc", |
| 243 "src/common/mac/macho_id.cc", | 247 "src/common/mac/macho_id.cc", |
| 244 "src/common/mac/macho_utilities.cc", | 248 "src/common/mac/macho_utilities.cc", |
| 245 "src/common/mac/macho_walker.cc", | 249 "src/common/mac/macho_walker.cc", |
| 246 "src/common/mac/string_utilities.cc", | 250 "src/common/mac/string_utilities.cc", |
| 247 "src/common/md5.cc", | 251 "src/common/md5.cc", |
| 248 "src/common/simple_string_dictionary.cc", | 252 "src/common/simple_string_dictionary.cc", |
| 249 "src/common/string_conversion.cc", | 253 "src/common/string_conversion.cc", |
| 250 ] | 254 ] |
| 251 | 255 |
| 252 configs += [ ":internal_config" ] | 256 configs += [ ":internal_config" ] |
| 257 |
| 258 # TODO(GYP): TODO(dpranke): Fix the compile for this. |
| 259 sources -= [ |
| 260 "src/client/mac/handler/dynamic_images.cc", |
| 261 ] |
| 253 } | 262 } |
| 254 | 263 |
| 255 executable("crash_inspector") { | 264 executable("crash_inspector") { |
| 256 sources = [ | 265 sources = [ |
| 257 "src/client/mac/crash_generation/Inspector.mm", | 266 "src/client/mac/crash_generation/Inspector.mm", |
| 258 "src/client/mac/crash_generation/InspectorMain.mm", | 267 "src/client/mac/crash_generation/InspectorMain.mm", |
| 259 ] | 268 ] |
| 260 | 269 |
| 261 # TODO(GYP): 'mac_real_dsym': 1, | 270 # TODO(GYP): 'mac_real_dsym': 1, |
| 262 | 271 |
| 263 include_dirs = [ | 272 include_dirs = [ |
| 264 "src/client/apple/Framework", | 273 "src/client/apple/Framework", |
| 265 "src/common/mac", | 274 "src/common/mac", |
| 266 "src", | 275 "src", |
| 267 ] | 276 ] |
| 268 libs = [ | 277 libs = [ |
| 269 "CoreServices.framework", | 278 "CoreServices.framework", |
| 270 "Foundation.framework", | 279 "Foundation.framework", |
| 271 ] | 280 ] |
| 272 | 281 |
| 273 deps = [ | 282 deps = [ |
| 274 ":utilities" | 283 ":utilities" |
| 275 ] | 284 ] |
| 276 } | 285 } |
| 277 | 286 |
| 278 executable("crash_report_sender") { | 287 # TODO(GYP) this target has some mac_bundle_resources stuff. |
| 279 # TODO(GYP) this target has some mac_bundle_resources stuff. | 288 # executable("crash_report_sender") { |
| 280 } | 289 # } |
| 281 | 290 |
| 282 config("breakpad_config") { | 291 config("breakpad_config") { |
| 283 include_dirs = [ "src/client/apple/Framework" ] | 292 include_dirs = [ "src/client/apple/Framework" ] |
| 284 } | 293 } |
| 285 | 294 |
| 286 static_library("breakpad") { | 295 static_library("breakpad") { |
| 287 sources = [ | 296 sources = [ |
| 288 "src/client/mac/crash_generation/crash_generation_client.cc", | 297 "src/client/mac/crash_generation/crash_generation_client.cc", |
| 289 "src/client/mac/crash_generation/crash_generation_client.h", | 298 "src/client/mac/crash_generation/crash_generation_client.h", |
| 290 "src/client/mac/handler/protected_memory_allocator.cc", | 299 "src/client/mac/handler/protected_memory_allocator.cc", |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 "src/client/windows/handler/exception_handler.h", | 718 "src/client/windows/handler/exception_handler.h", |
| 710 "src/common/windows/guid_string.cc", | 719 "src/common/windows/guid_string.cc", |
| 711 "src/common/windows/guid_string.h", | 720 "src/common/windows/guid_string.h", |
| 712 "src/google_breakpad/common/minidump_format.h", | 721 "src/google_breakpad/common/minidump_format.h", |
| 713 "src/client/windows/crash_generation/minidump_generator.cc", | 722 "src/client/windows/crash_generation/minidump_generator.cc", |
| 714 "src/client/windows/crash_generation/minidump_generator.h", | 723 "src/client/windows/crash_generation/minidump_generator.h", |
| 715 "src/common/windows/string_utils-inl.h", | 724 "src/common/windows/string_utils-inl.h", |
| 716 ] | 725 ] |
| 717 } | 726 } |
| 718 } | 727 } |
| OLD | NEW |