OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 'conditions': [['OS=="linux"', {'werror%': '-Werror',}], | 697 'conditions': [['OS=="linux"', {'werror%': '-Werror',}], |
698 ['OS=="freebsd"', {'werror%': '',}], | 698 ['OS=="freebsd"', {'werror%': '',}], |
699 ['OS=="openbsd"', {'werror%': '',}], | 699 ['OS=="openbsd"', {'werror%': '',}], |
700 ], | 700 ], |
701 }, | 701 }, |
702 'cflags': [ | 702 'cflags': [ |
703 '<(werror)', # See note above about the werror variable. | 703 '<(werror)', # See note above about the werror variable. |
704 '-pthread', | 704 '-pthread', |
705 '-fno-exceptions', | 705 '-fno-exceptions', |
706 '-Wall', | 706 '-Wall', |
707 # TODO(evan): turn this back on once the v8 change lands. | 707 '-Wextra', |
708 #'-Wextra', | |
709 # Don't warn about unused function params. We use those everywhere. | 708 # Don't warn about unused function params. We use those everywhere. |
710 '-Wno-unused-parameter', | 709 '-Wno-unused-parameter', |
711 # Don't warn about the "struct foo f = {0};" initialization pattern. | 710 # Don't warn about the "struct foo f = {0};" initialization pattern. |
712 '-Wno-missing-field-initializers', | 711 '-Wno-missing-field-initializers', |
713 '-D_FILE_OFFSET_BITS=64', | 712 '-D_FILE_OFFSET_BITS=64', |
714 # Don't export any symbols (for example, to plugins we dlopen()). | 713 # Don't export any symbols (for example, to plugins we dlopen()). |
715 # Note: this is *required* to make some plugins work. | 714 # Note: this is *required* to make some plugins work. |
716 '-fvisibility=hidden', | 715 '-fvisibility=hidden', |
717 ], | 716 ], |
718 'cflags_cc': [ | 717 'cflags_cc': [ |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 # and therefore SYMROOT, needs to be set at the project level. | 1232 # and therefore SYMROOT, needs to be set at the project level. |
1234 'SYMROOT': '<(DEPTH)/xcodebuild', | 1233 'SYMROOT': '<(DEPTH)/xcodebuild', |
1235 }, | 1234 }, |
1236 } | 1235 } |
1237 | 1236 |
1238 # Local Variables: | 1237 # Local Variables: |
1239 # tab-width:2 | 1238 # tab-width:2 |
1240 # indent-tabs-mode:nil | 1239 # indent-tabs-mode:nil |
1241 # End: | 1240 # End: |
1242 # vim: set expandtab tabstop=2 shiftwidth=2: | 1241 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |