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

Side by Side Diff: breakpad/breakpad.gyp

Issue 10875048: Roll Breakpad to release 1020 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« no previous file with comments | « DEPS ('k') | no next file » | 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
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" or OS=="android"', {
221 'conditions': [ 221 'conditions': [
222 ['OS=="android"', {
223 'defines': [
224 '__ANDROID__',
digit1 2012/08/27 21:20:30 For the record, this was removed because this macr
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', 226 'target_name': 'minidump_stackwalk',
232 'type': 'executable', 227 'type': 'executable',
233 228
234 # 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
235 # compile flags when building on a 64-bit machine. 230 # compile flags when building on a 64-bit machine.
236 'variables': { 231 'variables': {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 ], 360 ],
366 'include_dirs': [ 361 'include_dirs': [
367 'src', 362 'src',
368 'src/third_party', 363 'src/third_party',
369 '..', 364 '..',
370 ], 365 ],
371 }, 366 },
372 { 367 {
373 'target_name': 'symupload', 368 'target_name': 'symupload',
374 'type': 'executable', 369 'type': 'executable',
370 'toolsets': [ 'host', ],
375 371
376 # This uses the system libcurl, so don't use the default 32-bit 372 # This uses the system libcurl, so don't use the default 32-bit
377 # compile flags when building on a 64-bit machine. 373 # compile flags when building on a 64-bit machine.
378 'variables': { 374 'variables': {
379 'host_arch': '<!(uname -m)', 375 'host_arch': '<!(uname -m)',
380 }, 376 },
381 'conditions': [ 377 'conditions': [
382 ['host_arch=="x86_64"', { 378 ['host_arch=="x86_64"', {
383 'cflags!': ['-m32', '-march=pentium4', '-msse2', 379 'cflags!': ['-m32', '-march=pentium4', '-msse2',
384 '-mfpmath=sse'], 380 '-mfpmath=sse'],
385 'ldflags!': ['-m32'], 381 'ldflags!': ['-m32'],
386 'cflags': ['-O2'], 382 'cflags': ['-O2'],
387 'include_dirs!': ['/usr/include32'], 383 'include_dirs!': ['/usr/include32'],
388 }], 384 }],
389 ['OS=="android"', { 385 ['OS=="android"', {
390 'toolsets': [ 'host' ], 386 'toolsets': [ 'host' ],
391 }], 387 }],
392 ], 388 ],
393 389
394 'sources': [ 390 'sources': [
395 'src/tools/linux/symupload/sym_upload.cc', 391 'src/tools/linux/symupload/sym_upload.cc',
396 'src/common/linux/http_upload.cc', 392 'src/common/linux/http_upload.cc',
397 'src/common/linux/http_upload.h', 393 'src/common/linux/http_upload.h',
398 ], 394 ],
399 'include_dirs': [ 395 'include_dirs': [
400 'src', 396 'src',
397 'src/third_party',
401 ], 398 ],
402 'link_settings': { 399 'link_settings': {
403 'libraries': [ 400 'libraries': [
404 '-ldl', 401 '-ldl',
405 ], 402 ],
406 }, 403 },
407 }, 404 },
408 { 405 {
409 'target_name': 'dump_syms', 406 'target_name': 'dump_syms',
410 'type': 'executable', 407 'type': 'executable',
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 'src/common/linux/memory_mapped_file.cc', 512 'src/common/linux/memory_mapped_file.cc',
516 'src/common/linux/memory_mapped_file.h', 513 'src/common/linux/memory_mapped_file.h',
517 'src/common/linux/safe_readlink.cc', 514 'src/common/linux/safe_readlink.cc',
518 'src/common/linux/safe_readlink.h', 515 'src/common/linux/safe_readlink.h',
519 'src/common/memory.h', 516 'src/common/memory.h',
520 'src/common/string_conversion.cc', 517 'src/common/string_conversion.cc',
521 'src/common/string_conversion.h', 518 'src/common/string_conversion.h',
522 ], 519 ],
523 520
524 'conditions': [ 521 'conditions': [
525 # Android NDK toolchain doesn't support -mimplicit-it=always 522 ['target_arch=="arm"', {
Mark Mentovai 2012/08/27 21:13:10 This was a recent addition, and you’re clobbering
digit1 2012/08/27 21:20:30 I believe the NDK toolchain that is currently used
digit1 2012/08/27 21:50:07 Ok, I checked, the Android toolchain, even old one
526 ['target_arch=="arm" and OS!="android"', {
527 'cflags': ['-Wa,-mimplicit-it=always'], 523 'cflags': ['-Wa,-mimplicit-it=always'],
528 }], 524 }],
529 ['OS=="android"', { 525 ['OS=="android"', {
530 'sources!':[ 526 'include_dirs': [
531 'src/common/linux/elf_core_dump.cc', 527 'src/common/android/include',
532 'src/common/linux/elf_core_dump.h',
533 ], 528 ],
529 'direct_dependent_settings': {
Mark Mentovai 2012/08/27 21:13:10 It would be better if the headers that consumers o
digit1 2012/08/27 21:20:30 Unfortunately, not at the moment. I plan to update
Mark Mentovai 2012/08/27 21:30:33 digit1 wrote:
530 'include_dirs': [
531 'src/common/android/include',
532 ],
533 },
534 }], 534 }],
535 ], 535 ],
536 536
537 'link_settings': { 537 'link_settings': {
538 'libraries': [ 538 'libraries': [
539 '-ldl', 539 '-ldl',
540 ], 540 ],
541 }, 541 },
542 542
543 'include_dirs': [ 543 'include_dirs': [
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 '..', 614 '..',
615 '.', 615 '.',
616 ], 616 ],
617 'conditions': [ 617 'conditions': [
618 [ 'clang == 1', { 618 [ 'clang == 1', {
619 'cflags': [ 619 'cflags': [
620 # See http://crbug.com/138571#c18 620 # See http://crbug.com/138571#c18
621 '-Wno-unused-value', 621 '-Wno-unused-value',
622 ], 622 ],
623 }], 623 }],
624 ['OS=="android"', {
625 'libraries': [
626 '-llog',
627 ],
628 'include_dirs': [
629 'src/common/android/include',
630 ],
631 }],
624 ], 632 ],
625 }, 633 },
626 { 634 {
627 'target_name': 'linux_dumper_unittest_helper', 635 'target_name': 'linux_dumper_unittest_helper',
628 'type': 'executable', 636 'type': 'executable',
629 'dependencies': [ 637 'dependencies': [
630 'breakpad_processor_support', 638 'breakpad_processor_support',
631 ], 639 ],
632 'sources': [ 640 'sources': [
633 'src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc', 641 'src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc',
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 'include_dirs': [ 836 'include_dirs': [
829 '<(DEPTH)/third_party/GTM', 837 '<(DEPTH)/third_party/GTM',
830 '<(DEPTH)/third_party/GTM/Foundation', 838 '<(DEPTH)/third_party/GTM/Foundation',
831 ], 839 ],
832 }, 840 },
833 }, 841 },
834 ], 842 ],
835 }], 843 }],
836 ], 844 ],
837 } 845 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698