Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 'breakpad_sender.gypi', | 7 'breakpad_sender.gypi', |
| 8 'breakpad_handler.gypi', | 8 'breakpad_handler.gypi', |
| 9 ], | 9 ], |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 # minidump_stackwalk and minidump_dump are tool-type executables that do | |
| 12 # not build on iOS. | |
| 13 ['OS!="ios"', { | |
| 14 'targets': [ | |
| 15 { | |
| 16 'target_name': 'minidump_stackwalk', | |
| 17 'type': 'executable', | |
| 18 'includes': ['breakpad_tools.gypi'], | |
| 19 'include_dirs': [ | |
|
Mark Mentovai
2012/11/21 20:27:54
Why not move this into the gypi too?
Robert Sesek
2012/11/21 20:30:58
Done.
| |
| 20 'src', | |
| 21 'src/third_party', | |
| 22 ], | |
| 23 'sources': [ | |
| 24 'src/processor/basic_code_module.h', | |
| 25 'src/processor/basic_code_modules.cc', | |
| 26 'src/processor/basic_code_modules.h', | |
| 27 'src/processor/basic_source_line_resolver.cc', | |
| 28 'src/processor/binarystream.cc', | |
| 29 'src/processor/binarystream.h', | |
| 30 'src/processor/call_stack.cc', | |
| 31 'src/processor/cfi_frame_info.cc', | |
| 32 'src/processor/cfi_frame_info.h', | |
| 33 'src/processor/disassembler_x86.cc', | |
| 34 'src/processor/disassembler_x86.h', | |
| 35 'src/processor/exploitability.cc', | |
| 36 'src/processor/exploitability_win.cc', | |
| 37 'src/processor/exploitability_win.h', | |
| 38 'src/processor/logging.cc', | |
| 39 'src/processor/logging.h', | |
| 40 'src/processor/minidump.cc', | |
| 41 'src/processor/minidump_processor.cc', | |
| 42 'src/processor/minidump_stackwalk.cc', | |
| 43 'src/processor/pathname_stripper.cc', | |
| 44 'src/processor/pathname_stripper.h', | |
| 45 'src/processor/process_state.cc', | |
| 46 'src/processor/simple_symbol_supplier.cc', | |
| 47 'src/processor/simple_symbol_supplier.h', | |
| 48 'src/processor/source_line_resolver_base.cc', | |
| 49 'src/processor/stack_frame_symbolizer.cc', | |
| 50 'src/processor/stackwalker.cc', | |
| 51 'src/processor/stackwalker_amd64.cc', | |
| 52 'src/processor/stackwalker_amd64.h', | |
| 53 'src/processor/stackwalker_arm.cc', | |
| 54 'src/processor/stackwalker_arm.h', | |
| 55 'src/processor/stackwalker_ppc.cc', | |
| 56 'src/processor/stackwalker_ppc.h', | |
| 57 'src/processor/stackwalker_sparc.cc', | |
| 58 'src/processor/stackwalker_sparc.h', | |
| 59 'src/processor/stackwalker_x86.cc', | |
| 60 'src/processor/stackwalker_x86.h', | |
| 61 'src/processor/tokenize.cc', | |
| 62 'src/processor/tokenize.h', | |
| 63 # libdisasm | |
| 64 'src/third_party/libdisasm/ia32_implicit.c', | |
| 65 'src/third_party/libdisasm/ia32_implicit.h', | |
| 66 'src/third_party/libdisasm/ia32_insn.c', | |
| 67 'src/third_party/libdisasm/ia32_insn.h', | |
| 68 'src/third_party/libdisasm/ia32_invariant.c', | |
| 69 'src/third_party/libdisasm/ia32_invariant.h', | |
| 70 'src/third_party/libdisasm/ia32_modrm.c', | |
| 71 'src/third_party/libdisasm/ia32_modrm.h', | |
| 72 'src/third_party/libdisasm/ia32_opcode_tables.c', | |
| 73 'src/third_party/libdisasm/ia32_opcode_tables.h', | |
| 74 'src/third_party/libdisasm/ia32_operand.c', | |
| 75 'src/third_party/libdisasm/ia32_operand.h', | |
| 76 'src/third_party/libdisasm/ia32_reg.c', | |
| 77 'src/third_party/libdisasm/ia32_reg.h', | |
| 78 'src/third_party/libdisasm/ia32_settings.c', | |
| 79 'src/third_party/libdisasm/ia32_settings.h', | |
| 80 'src/third_party/libdisasm/libdis.h', | |
| 81 'src/third_party/libdisasm/qword.h', | |
| 82 'src/third_party/libdisasm/x86_disasm.c', | |
| 83 'src/third_party/libdisasm/x86_format.c', | |
| 84 'src/third_party/libdisasm/x86_imm.c', | |
| 85 'src/third_party/libdisasm/x86_imm.h', | |
| 86 'src/third_party/libdisasm/x86_insn.c', | |
| 87 'src/third_party/libdisasm/x86_misc.c', | |
| 88 'src/third_party/libdisasm/x86_operand_list.c', | |
| 89 'src/third_party/libdisasm/x86_operand_list.h', | |
| 90 ], | |
| 91 }, | |
| 92 { | |
| 93 'target_name': 'minidump_dump', | |
| 94 'type': 'executable', | |
| 95 'includes': ['breakpad_tools.gypi'], | |
| 96 'sources': [ | |
| 97 'src/processor/basic_code_module.h', | |
| 98 'src/processor/basic_code_modules.cc', | |
| 99 'src/processor/basic_code_modules.h', | |
| 100 'src/processor/logging.cc', | |
| 101 'src/processor/logging.h', | |
| 102 'src/processor/minidump.cc', | |
| 103 'src/processor/minidump_dump.cc', | |
| 104 'src/processor/pathname_stripper.cc', | |
| 105 'src/processor/pathname_stripper.h', | |
| 106 ], | |
| 107 'include_dirs': [ | |
| 108 'src', | |
| 109 'src/third_party', | |
| 110 ], | |
| 111 }, | |
| 112 ], | |
| 113 }], | |
| 11 [ 'OS=="mac"', { | 114 [ 'OS=="mac"', { |
| 12 'target_defaults': { | 115 'target_defaults': { |
| 13 'include_dirs': [ | 116 'include_dirs': [ |
| 14 'src', | 117 'src', |
| 15 ], | 118 ], |
| 16 'configurations': { | 119 'configurations': { |
| 17 'Debug_Base': { | 120 'Debug_Base': { |
| 18 'defines': [ | 121 'defines': [ |
| 19 # This is needed for GTMLogger to work correctly. | 122 # This is needed for GTMLogger to work correctly. |
| 20 'DEBUG', | 123 'DEBUG', |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 224 'conditions': [ | 327 'conditions': [ |
| 225 ['OS=="android"', { | 328 ['OS=="android"', { |
| 226 'defines': [ | 329 'defines': [ |
| 227 '__ANDROID__', | 330 '__ANDROID__', |
| 228 ], | 331 ], |
| 229 }], | 332 }], |
| 230 # Tools needed for archiving build symbols. | 333 # Tools needed for archiving build symbols. |
| 231 ['linux_breakpad==1', { | 334 ['linux_breakpad==1', { |
| 232 'targets': [ | 335 'targets': [ |
| 233 { | 336 { |
| 234 'target_name': 'minidump_stackwalk', | |
| 235 'type': 'executable', | |
| 236 | |
| 237 # This uses the system libcurl, so don't use the default 32-bit | |
| 238 # compile flags when building on a 64-bit machine. | |
| 239 'variables': { | |
| 240 'host_arch': '<!(uname -m)', | |
| 241 }, | |
| 242 'conditions': [ | |
| 243 ['host_arch=="x86_64"', { | |
| 244 'cflags!': ['-m32', '-march=pentium4', '-msse2', | |
| 245 '-mfpmath=sse'], | |
| 246 'ldflags!': ['-m32'], | |
| 247 'cflags': ['-O2'], | |
| 248 'include_dirs!': ['/usr/include32'], | |
| 249 }], | |
| 250 ['OS=="android"', { | |
| 251 'toolsets': [ 'host' ], | |
| 252 }], | |
| 253 ], | |
| 254 'include_dirs': [ | |
| 255 'src', | |
| 256 'src/third_party', | |
| 257 '..', | |
| 258 ], | |
| 259 'sources': [ | |
| 260 'src/google_breakpad/processor/call_stack.h', | |
| 261 'src/google_breakpad/processor/stack_frame_symbolizer.h', | |
| 262 'src/processor/minidump_stackwalk.cc', | |
| 263 'src/processor/stackwalker.cc', | |
| 264 'src/processor/stackwalker.h', | |
| 265 'src/processor/basic_code_module.h', | |
| 266 'src/processor/basic_code_modules.cc', | |
| 267 'src/processor/basic_code_modules.h', | |
| 268 'src/processor/basic_source_line_resolver.cc', | |
| 269 'src/processor/basic_source_line_resolver.h', | |
| 270 'src/processor/binarystream.cc', | |
| 271 'src/processor/binarystream.h', | |
| 272 'src/processor/call_stack.cc', | |
| 273 'src/processor/cfi_frame_info.cc', | |
| 274 'src/processor/cfi_frame_info.h', | |
| 275 'src/processor/disassembler_x86.cc', | |
| 276 'src/processor/disassembler_x86.h', | |
| 277 'src/processor/exploitability.cc', | |
| 278 'src/processor/exploitability.h', | |
| 279 'src/processor/exploitability_win.cc', | |
| 280 'src/processor/exploitability_win.h', | |
| 281 'src/processor/logging.cc', | |
| 282 'src/processor/logging.h', | |
| 283 'src/processor/minidump.cc', | |
| 284 'src/processor/minidump.h', | |
| 285 'src/processor/minidump_processor.cc', | |
| 286 'src/processor/minidump_processor.h', | |
| 287 'src/processor/pathname_stripper.cc', | |
| 288 'src/processor/pathname_stripper.h', | |
| 289 'src/processor/process_state.cc', | |
| 290 'src/processor/process_state.h', | |
| 291 'src/processor/simple_symbol_supplier.cc', | |
| 292 'src/processor/simple_symbol_supplier.h', | |
| 293 'src/processor/source_line_resolver_base.cc', | |
| 294 'src/processor/source_line_resolver_base.h', | |
| 295 'src/processor/stack_frame_symbolizer.cc', | |
| 296 'src/processor/stackwalker.cc', | |
| 297 'src/processor/stackwalker.h', | |
| 298 'src/processor/stackwalker_amd64.cc', | |
| 299 'src/processor/stackwalker_amd64.h', | |
| 300 'src/processor/stackwalker_arm.cc', | |
| 301 'src/processor/stackwalker_arm.h', | |
| 302 'src/processor/stackwalker_ppc.cc', | |
| 303 'src/processor/stackwalker_ppc.h', | |
| 304 'src/processor/stackwalker_sparc.cc', | |
| 305 'src/processor/stackwalker_sparc.h', | |
| 306 'src/processor/stackwalker_x86.cc', | |
| 307 'src/processor/stackwalker_x86.h', | |
| 308 'src/processor/tokenize.cc', | |
| 309 'src/processor/tokenize.h', | |
| 310 # libdisasm | |
| 311 'src/third_party/libdisasm/ia32_implicit.c', | |
| 312 'src/third_party/libdisasm/ia32_implicit.h', | |
| 313 'src/third_party/libdisasm/ia32_insn.c', | |
| 314 'src/third_party/libdisasm/ia32_insn.h', | |
| 315 'src/third_party/libdisasm/ia32_invariant.c', | |
| 316 'src/third_party/libdisasm/ia32_invariant.h', | |
| 317 'src/third_party/libdisasm/ia32_modrm.c', | |
| 318 'src/third_party/libdisasm/ia32_modrm.h', | |
| 319 'src/third_party/libdisasm/ia32_opcode_tables.c', | |
| 320 'src/third_party/libdisasm/ia32_opcode_tables.h', | |
| 321 'src/third_party/libdisasm/ia32_operand.c', | |
| 322 'src/third_party/libdisasm/ia32_operand.h', | |
| 323 'src/third_party/libdisasm/ia32_reg.c', | |
| 324 'src/third_party/libdisasm/ia32_reg.h', | |
| 325 'src/third_party/libdisasm/ia32_settings.c', | |
| 326 'src/third_party/libdisasm/ia32_settings.h', | |
| 327 'src/third_party/libdisasm/libdis.h', | |
| 328 'src/third_party/libdisasm/qword.h', | |
| 329 'src/third_party/libdisasm/x86_disasm.c', | |
| 330 'src/third_party/libdisasm/x86_format.c', | |
| 331 'src/third_party/libdisasm/x86_imm.c', | |
| 332 'src/third_party/libdisasm/x86_imm.h', | |
| 333 'src/third_party/libdisasm/x86_insn.c', | |
| 334 'src/third_party/libdisasm/x86_misc.c', | |
| 335 'src/third_party/libdisasm/x86_operand_list.c', | |
| 336 'src/third_party/libdisasm/x86_operand_list.h', | |
| 337 ], | |
| 338 }, | |
| 339 { | |
| 340 'target_name': 'minidump_dump', | |
| 341 'type': 'executable', | |
| 342 # This uses the system libcurl, so don't use the default 32-bit | |
| 343 # compile flags when building on a 64-bit machine. | |
| 344 'variables': { | |
| 345 'host_arch': '<!(uname -m)', | |
| 346 }, | |
| 347 'conditions': [ | |
| 348 ['host_arch=="x86_64"', { | |
| 349 'cflags!': ['-m32', '-march=pentium4', '-msse2', | |
| 350 '-mfpmath=sse'], | |
| 351 'ldflags!': ['-m32'], | |
| 352 'cflags': ['-O2'], | |
| 353 'include_dirs!': ['/usr/include32'], | |
| 354 }], | |
| 355 ['OS=="android"', { | |
| 356 'toolsets': [ 'host' ], | |
| 357 }], | |
| 358 ], | |
| 359 'sources': [ | |
| 360 'src/processor/minidump_dump.cc', | |
| 361 'src/processor/basic_code_module.h', | |
| 362 'src/processor/basic_code_modules.h', | |
| 363 'src/processor/basic_code_modules.cc', | |
| 364 'src/processor/logging.h', | |
| 365 'src/processor/logging.cc', | |
| 366 'src/processor/minidump.h', | |
| 367 'src/processor/minidump.cc', | |
| 368 'src/processor/pathname_stripper.h', | |
| 369 'src/processor/pathname_stripper.cc', | |
| 370 ], | |
| 371 'include_dirs': [ | |
| 372 'src', | |
| 373 'src/third_party', | |
| 374 '..', | |
| 375 ], | |
| 376 }, | |
| 377 { | |
| 378 'target_name': 'symupload', | 337 'target_name': 'symupload', |
| 379 'type': 'executable', | 338 'type': 'executable', |
| 380 | 339 |
| 381 # This uses the system libcurl, so don't use the default 32-bit | 340 'includes': ['breakpad_tools.gypi'], |
| 382 # compile flags when building on a 64-bit machine. | |
| 383 'variables': { | |
| 384 'host_arch': '<!(uname -m)', | |
| 385 }, | |
| 386 'conditions': [ | |
| 387 ['host_arch=="x86_64"', { | |
| 388 'cflags!': ['-m32', '-march=pentium4', '-msse2', | |
| 389 '-mfpmath=sse'], | |
| 390 'ldflags!': ['-m32'], | |
| 391 'cflags': ['-O2'], | |
| 392 'include_dirs!': ['/usr/include32'], | |
| 393 }], | |
| 394 ['OS=="android"', { | |
| 395 'toolsets': [ 'host' ], | |
| 396 }], | |
| 397 ], | |
| 398 | 341 |
| 399 'sources': [ | 342 'sources': [ |
| 400 'src/tools/linux/symupload/sym_upload.cc', | 343 'src/tools/linux/symupload/sym_upload.cc', |
| 401 'src/common/linux/http_upload.cc', | 344 'src/common/linux/http_upload.cc', |
| 402 'src/common/linux/http_upload.h', | 345 'src/common/linux/http_upload.h', |
| 403 ], | 346 ], |
| 404 'include_dirs': [ | 347 'include_dirs': [ |
| 405 'src', | 348 'src', |
| 406 'src/third_party', | 349 'src/third_party', |
| 407 ], | 350 ], |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 875 'include_dirs': [ | 818 'include_dirs': [ |
| 876 '<(DEPTH)/third_party/GTM', | 819 '<(DEPTH)/third_party/GTM', |
| 877 '<(DEPTH)/third_party/GTM/Foundation', | 820 '<(DEPTH)/third_party/GTM/Foundation', |
| 878 ], | 821 ], |
| 879 }, | 822 }, |
| 880 }, | 823 }, |
| 881 ], | 824 ], |
| 882 }], | 825 }], |
| 883 ], | 826 ], |
| 884 } | 827 } |
| OLD | NEW |