| 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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 # TODO(evan): turn this back on once all the builds work. | 828 # TODO(evan): turn this back on once all the builds work. |
| 829 # '-Wextra', | 829 # '-Wextra', |
| 830 # Don't warn about unused function params. We use those everywhere. | 830 # Don't warn about unused function params. We use those everywhere. |
| 831 '-Wno-unused-parameter', | 831 '-Wno-unused-parameter', |
| 832 # Don't warn about the "struct foo f = {0};" initialization pattern. | 832 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 833 '-Wno-missing-field-initializers', | 833 '-Wno-missing-field-initializers', |
| 834 '-D_FILE_OFFSET_BITS=64', | 834 '-D_FILE_OFFSET_BITS=64', |
| 835 # Don't export any symbols (for example, to plugins we dlopen()). | 835 # Don't export any symbols (for example, to plugins we dlopen()). |
| 836 # Note: this is *required* to make some plugins work. | 836 # Note: this is *required* to make some plugins work. |
| 837 '-fvisibility=hidden', | 837 '-fvisibility=hidden', |
| 838 '-pipe', |
| 838 ], | 839 ], |
| 839 'cflags_cc': [ | 840 'cflags_cc': [ |
| 840 '-fno-rtti', | 841 '-fno-rtti', |
| 841 '-fno-threadsafe-statics', | 842 '-fno-threadsafe-statics', |
| 842 # Make inline functions have hidden visiblity by default. | 843 # Make inline functions have hidden visiblity by default. |
| 843 # Surprisingly, not covered by -fvisibility=hidden. | 844 # Surprisingly, not covered by -fvisibility=hidden. |
| 844 '-fvisibility-inlines-hidden', | 845 '-fvisibility-inlines-hidden', |
| 845 ], | 846 ], |
| 846 'ldflags': [ | 847 'ldflags': [ |
| 847 '-pthread', '-Wl,-z,noexecstack', | 848 '-pthread', '-Wl,-z,noexecstack', |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 # and therefore SYMROOT, needs to be set at the project level. | 1443 # and therefore SYMROOT, needs to be set at the project level. |
| 1443 'SYMROOT': '<(DEPTH)/xcodebuild', | 1444 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1444 }, | 1445 }, |
| 1445 } | 1446 } |
| 1446 | 1447 |
| 1447 # Local Variables: | 1448 # Local Variables: |
| 1448 # tab-width:2 | 1449 # tab-width:2 |
| 1449 # indent-tabs-mode:nil | 1450 # indent-tabs-mode:nil |
| 1450 # End: | 1451 # End: |
| 1451 # vim: set expandtab tabstop=2 shiftwidth=2: | 1452 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |