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

Side by Side Diff: src/build/common.gypi

Issue 1821293002: Replace libdisasm with capstone Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 # Copyright 2010 Google Inc. All rights reserved. 1 # Copyright 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 # compilers in use. TODO(Craig): turn this off again when 547 # compilers in use. TODO(Craig): turn this off again when
548 # there is some 4.4 test infrastructure in place and existing 548 # there is some 4.4 test infrastructure in place and existing
549 # aliasing issues have been fixed. 549 # aliasing issues have been fixed.
550 'no_strict_aliasing%': 1, 550 'no_strict_aliasing%': 1,
551 'conditions': [['OS=="linux"', {'werror%': '-Werror',}], 551 'conditions': [['OS=="linux"', {'werror%': '-Werror',}],
552 ['OS=="freebsd"', {'werror%': '',}], 552 ['OS=="freebsd"', {'werror%': '',}],
553 ['OS=="openbsd"', {'werror%': '',}], 553 ['OS=="openbsd"', {'werror%': '',}],
554 ], 554 ],
555 }, 555 },
556 'cflags': [ 556 'cflags': [
557 '<(werror)', # See note above about the werror variable. 557 '<(werror)', # See note above about the werror variable
vapier 2016/06/24 20:09:07 unrelated/undesirable change ?
558 '-pthread', 558 '-pthread',
559 '-fno-exceptions', 559 '-fno-exceptions',
560 '-Wall', 560 '-Wall',
561 # TODO(evan): turn this back on once all the builds work. 561 # TODO(evan): turn this back on once all the builds work.
562 # '-Wextra', 562 # '-Wextra',
563 # Don't warn about unused function params. We use those everywhere. 563 # Don't warn about unused function params. We use those everywhere.
564 '-Wno-unused-parameter', 564 '-Wno-unused-parameter',
565 # Don't warn about the "struct foo f = {0};" initialization pattern. 565 # Don't warn about the "struct foo f = {0};" initialization pattern.
566 '-Wno-missing-field-initializers', 566 '-Wno-missing-field-initializers',
567 '-D_FILE_OFFSET_BITS=64', 567 '-D_FILE_OFFSET_BITS=64',
568 # Don't export any symbols (for example, to plugins we dlopen()). 568 # Don't export any symbols (for example, to plugins we dlopen()).
569 # Note: this is *required* to make some plugins work. 569 # Note: this is *required* to make some plugins work.
570 '-fvisibility=hidden', 570 '-fvisibility=hidden',
571 ], 571 ],
572 'cflags_cc': [ 572 'cflags_cc': [
573 '-std=c++11',
vapier 2016/06/24 20:09:07 this should prob be deployed in a dedicated CL, as
573 '-frtti', 574 '-frtti',
574 '-fno-threadsafe-statics', 575 '-fno-threadsafe-statics',
575 # Make inline functions have hidden visiblity by default. 576 # Make inline functions have hidden visiblity by default.
576 # Surprisingly, not covered by -fvisibility=hidden. 577 # Surprisingly, not covered by -fvisibility=hidden.
577 '-fvisibility-inlines-hidden', 578 '-fvisibility-inlines-hidden',
578 ], 579 ],
579 'ldflags': [ 580 'ldflags': [
580 '-pthread', '-Wl,-z,noexecstack', 581 '-pthread', '-Wl,-z,noexecstack',
581 ], 582 ],
582 'scons_variable_settings': { 583 'scons_variable_settings': {
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 # settings in target dicts. SYMROOT is a special case, because many other 1037 # settings in target dicts. SYMROOT is a special case, because many other
1037 # Xcode variables depend on it, including variables such as 1038 # Xcode variables depend on it, including variables such as
1038 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 1039 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
1039 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 1040 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
1040 # files to appear (when present) in the UI as actual files and not red 1041 # files to appear (when present) in the UI as actual files and not red
1041 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 1042 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
1042 # and therefore SYMROOT, needs to be set at the project level. 1043 # and therefore SYMROOT, needs to be set at the project level.
1043 'SYMROOT': '<(DEPTH)/xcodebuild', 1044 'SYMROOT': '<(DEPTH)/xcodebuild',
1044 }, 1045 },
1045 } 1046 }
OLDNEW
« no previous file with comments | « Makefile.in ('k') | src/config.h.in » ('j') | src/third_party/capstone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698