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

Side by Side Diff: breakpad/breakpad.gyp

Issue 9999004: Revert 131404 - Upstream native crash handling changes for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « base/base.gypi ('k') | build/filename_rules.gypi » ('j') | 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) 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': [
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 'src/client/mac/crash_generation/crash_generation_client.cc', 210 'src/client/mac/crash_generation/crash_generation_client.cc',
211 'src/client/mac/crash_generation/crash_generation_client.h', 211 'src/client/mac/crash_generation/crash_generation_client.h',
212 'src/client/mac/handler/protected_memory_allocator.cc', 212 'src/client/mac/handler/protected_memory_allocator.cc',
213 'src/client/mac/handler/exception_handler.cc', 213 'src/client/mac/handler/exception_handler.cc',
214 'src/client/mac/Framework/Breakpad.mm', 214 'src/client/mac/Framework/Breakpad.mm',
215 'src/client/mac/Framework/OnDemandServer.mm', 215 'src/client/mac/Framework/OnDemandServer.mm',
216 ], 216 ],
217 }, 217 },
218 ], 218 ],
219 }], 219 }],
220 [ 'OS=="linux" or OS=="android"', { 220 [ 'OS=="linux"', {
221 'conditions': [ 221 'conditions': [
222 ['OS=="android"', {
223 'defines': [
224 '__ANDROID__',
225 ],
226 }],
227 # Tools needed for archiving build symbols. 222 # Tools needed for archiving build symbols.
228 ['linux_breakpad==1', { 223 ['linux_breakpad==1', {
229 'targets': [ 224 'targets': [
230 { 225 {
231 'target_name': 'minidump_stackwalk',
232 'type': 'executable',
233 'toolsets': [ 'host', ],
234 # This uses the system libcurl, so don't use the default 32-bit
235 # compile flags when building on a 64-bit machine.
236 'variables': {
237 'host_arch': '<!(uname -m)',
238 },
239 'conditions': [
240 ['host_arch=="x86_64"', {
241 'cflags!': ['-m32', '-march=pentium4', '-msse2',
242 '-mfpmath=sse'],
243 'ldflags!': ['-m32'],
244 'cflags': ['-O2'],
245 'include_dirs!': ['/usr/include32'],
246 }],
247 ],
248 'include_dirs': [
249 'src',
250 'src/third_party',
251 '..',
252 ],
253 'sources': [
254 'src/processor/minidump_stackwalk.cc',
255 'src/processor/stackwalker.cc',
256 'src/processor/stackwalker.h',
257 'src/processor/basic_code_module.h',
258 'src/processor/basic_code_modules.cc',
259 'src/processor/basic_code_modules.h',
260 'src/processor/basic_source_line_resolver.cc',
261 'src/processor/basic_source_line_resolver.h',
262 'src/processor/binarystream.cc',
263 'src/processor/binarystream.h',
264 'src/processor/call_stack.cc',
265 'src/google_breakpad/procesor/call_stack.h',
266 'src/processor/cfi_frame_info.cc',
267 'src/processor/cfi_frame_info.h',
268 'src/processor/disassembler_x86.cc',
269 'src/processor/disassembler_x86.h',
270 'src/processor/exploitability.cc',
271 'src/processor/exploitability.h',
272 'src/processor/exploitability_win.cc',
273 'src/processor/exploitability_win.h',
274 'src/processor/logging.cc',
275 'src/processor/logging.h',
276 'src/processor/minidump.cc',
277 'src/processor/minidump.h',
278 'src/processor/minidump_processor.cc',
279 'src/processor/minidump_processor.h',
280 'src/processor/pathname_stripper.cc',
281 'src/processor/pathname_stripper.h',
282 'src/processor/process_state.cc',
283 'src/processor/process_state.h',
284 'src/processor/simple_symbol_supplier.cc',
285 'src/processor/simple_symbol_supplier.h',
286 'src/processor/source_line_resolver_base.cc',
287 'src/processor/source_line_resolver_base.h',
288 'src/processor/stackwalker.cc',
289 'src/processor/stackwalker.h',
290 'src/processor/stackwalker_amd64.cc',
291 'src/processor/stackwalker_amd64.h',
292 'src/processor/stackwalker_arm.cc',
293 'src/processor/stackwalker_arm.h',
294 'src/processor/stackwalker_ppc.cc',
295 'src/processor/stackwalker_ppc.h',
296 'src/processor/stackwalker_sparc.cc',
297 'src/processor/stackwalker_sparc.h',
298 'src/processor/stackwalker_x86.cc',
299 'src/processor/stackwalker_x86.h',
300 'src/processor/tokenize.cc',
301 'src/processor/tokenize.h',
302 # libdisasm
303 'src/third_party/libdisasm/ia32_implicit.c',
304 'src/third_party/libdisasm/ia32_implicit.h',
305 'src/third_party/libdisasm/ia32_insn.c',
306 'src/third_party/libdisasm/ia32_insn.h',
307 'src/third_party/libdisasm/ia32_invariant.c',
308 'src/third_party/libdisasm/ia32_invariant.h',
309 'src/third_party/libdisasm/ia32_modrm.c',
310 'src/third_party/libdisasm/ia32_modrm.h',
311 'src/third_party/libdisasm/ia32_opcode_tables.c',
312 'src/third_party/libdisasm/ia32_opcode_tables.h',
313 'src/third_party/libdisasm/ia32_operand.c',
314 'src/third_party/libdisasm/ia32_operand.h',
315 'src/third_party/libdisasm/ia32_reg.c',
316 'src/third_party/libdisasm/ia32_reg.h',
317 'src/third_party/libdisasm/ia32_settings.c',
318 'src/third_party/libdisasm/ia32_settings.h',
319 'src/third_party/libdisasm/libdis.h',
320 'src/third_party/libdisasm/qword.h',
321 'src/third_party/libdisasm/x86_disasm.c',
322 'src/third_party/libdisasm/x86_format.c',
323 'src/third_party/libdisasm/x86_imm.c',
324 'src/third_party/libdisasm/x86_imm.h',
325 'src/third_party/libdisasm/x86_insn.c',
326 'src/third_party/libdisasm/x86_misc.c',
327 'src/third_party/libdisasm/x86_operand_list.c',
328 'src/third_party/libdisasm/x86_operand_list.h',
329 ],
330 },
331 {
332 'target_name': 'minidump_dump',
333 'type': 'executable',
334 'toolsets': [ 'host', ],
335 # This uses the system libcurl, so don't use the default 32-bit
336 # compile flags when building on a 64-bit machine.
337 'variables': {
338 'host_arch': '<!(uname -m)',
339 },
340 'conditions': [
341 ['host_arch=="x86_64"', {
342 'cflags!': ['-m32', '-march=pentium4', '-msse2',
343 '-mfpmath=sse'],
344 'ldflags!': ['-m32'],
345 'cflags': ['-O2'],
346 'include_dirs!': ['/usr/include32'],
347 }],
348 ],
349 'sources': [
350 'src/processor/minidump_dump.cc',
351 'src/processor/basic_code_module.h',
352 'src/processor/basic_code_modules.h',
353 'src/processor/basic_code_modules.cc',
354 'src/processor/logging.h',
355 'src/processor/logging.cc',
356 'src/processor/minidump.h',
357 'src/processor/minidump.cc',
358 'src/processor/pathname_stripper.h',
359 'src/processor/pathname_stripper.cc',
360 ],
361 'include_dirs': [
362 'src',
363 'src/third_party',
364 '..',
365 ],
366 },
367 {
368 'target_name': 'symupload', 226 'target_name': 'symupload',
369 'type': 'executable', 227 'type': 'executable',
370 228
371 # This uses the system libcurl, so don't use the default 32-bit 229 # This uses the system libcurl, so don't use the default 32-bit
372 # compile flags when building on a 64-bit machine. 230 # compile flags when building on a 64-bit machine.
373 'variables': { 231 'variables': {
374 'host_arch': '<!(uname -m)', 232 'host_arch': '<!(uname -m)',
375 }, 233 },
376 'conditions': [ 234 'conditions': [
377 ['host_arch=="x86_64"', { 235 ['host_arch=="x86_64"', {
(...skipping 15 matching lines...) Expand all
393 ], 251 ],
394 'link_settings': { 252 'link_settings': {
395 'libraries': [ 253 'libraries': [
396 '-ldl', 254 '-ldl',
397 ], 255 ],
398 }, 256 },
399 }, 257 },
400 { 258 {
401 'target_name': 'dump_syms', 259 'target_name': 'dump_syms',
402 'type': 'executable', 260 'type': 'executable',
403 'toolsets': [ 'host' ],
404 261
405 # dwarf2reader.cc uses dynamic_cast. Because we don't typically 262 # dwarf2reader.cc uses dynamic_cast. Because we don't typically
406 # don't support RTTI, we enable it for this single target. Since 263 # don't support RTTI, we enable it for this single target. Since
407 # dump_syms doesn't share any object files with anything else, 264 # dump_syms doesn't share any object files with anything else,
408 # this doesn't end up polluting Chrome itself. 265 # this doesn't end up polluting Chrome itself.
409 'cflags_cc!': ['-fno-rtti'], 266 'cflags_cc!': ['-fno-rtti'],
410 267
411 'sources': [ 268 'sources': [
412 'src/common/dwarf/bytereader.cc', 269 'src/common/dwarf/bytereader.cc',
413 'src/common/dwarf_cfi_to_module.cc', 270 'src/common/dwarf_cfi_to_module.cc',
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 'src/common/linux/safe_readlink.h', 351 'src/common/linux/safe_readlink.h',
495 'src/common/memory.h', 352 'src/common/memory.h',
496 'src/common/string_conversion.cc', 353 'src/common/string_conversion.cc',
497 'src/common/string_conversion.h', 354 'src/common/string_conversion.h',
498 ], 355 ],
499 356
500 'conditions': [ 357 'conditions': [
501 ['target_arch=="arm"', { 358 ['target_arch=="arm"', {
502 'cflags': ['-Wa,-mimplicit-it=always'], 359 'cflags': ['-Wa,-mimplicit-it=always'],
503 }], 360 }],
504 ['OS=="android"', {
505 'sources!':[
506 'src/common/linux/elf_core_dump.cc',
507 'src/common/linux/elf_core_dump.h',
508 ],
509 }],
510 ], 361 ],
511 362
512 'link_settings': { 363 'link_settings': {
513 'libraries': [ 364 'libraries': [
514 '-ldl', 365 '-ldl',
515 ], 366 ],
516 }, 367 },
517 368
518 'include_dirs': [ 369 'include_dirs': [
519 'src', 370 'src',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 500
650 'include_dirs': [ 501 'include_dirs': [
651 '..', 502 '..',
652 'src', 503 'src',
653 ], 504 ],
654 }, 505 },
655 ], 506 ],
656 }], 507 }],
657 ], 508 ],
658 } 509 }
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | build/filename_rules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698