| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 # Enable TCMalloc. | 259 # Enable TCMalloc. |
| 260 'linux_use_tcmalloc%': 1, | 260 'linux_use_tcmalloc%': 1, |
| 261 | 261 |
| 262 # Disable TCMalloc's debugallocation. | 262 # Disable TCMalloc's debugallocation. |
| 263 'linux_use_debugallocation%': 0, | 263 'linux_use_debugallocation%': 0, |
| 264 | 264 |
| 265 # Disable TCMalloc's heapchecker. | 265 # Disable TCMalloc's heapchecker. |
| 266 'linux_use_heapchecker%': 0, | 266 'linux_use_heapchecker%': 0, |
| 267 | 267 |
| 268 # Disable shadow stack keeping used by heapcheck to unwind the stacks |
| 269 # better. |
| 270 'linux_keep_shadow_stacks%': 0, |
| 271 |
| 268 # Set to 1 to turn on seccomp sandbox by default. | 272 # Set to 1 to turn on seccomp sandbox by default. |
| 269 # (Note: this is ignored for official builds.) | 273 # (Note: this is ignored for official builds.) |
| 270 'linux_use_seccomp_sandbox%': 0, | 274 'linux_use_seccomp_sandbox%': 0, |
| 271 | 275 |
| 272 # Set to 1 to link against libgnome-keyring instead of using dlopen(). | 276 # Set to 1 to link against libgnome-keyring instead of using dlopen(). |
| 273 'linux_link_gnome_keyring%': 0, | 277 'linux_link_gnome_keyring%': 0, |
| 274 | 278 |
| 275 # Set to select the Title Case versions of strings in GRD files. | 279 # Set to select the Title Case versions of strings in GRD files. |
| 276 'use_titlecase_in_grd_files%': 0, | 280 'use_titlecase_in_grd_files%': 0, |
| 277 | 281 |
| (...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 }], | 1131 }], |
| 1128 ['linux_use_heapchecker==1', { | 1132 ['linux_use_heapchecker==1', { |
| 1129 'variables': {'linux_use_tcmalloc%': 1}, | 1133 'variables': {'linux_use_tcmalloc%': 1}, |
| 1130 }], | 1134 }], |
| 1131 ['linux_use_tcmalloc==0', { | 1135 ['linux_use_tcmalloc==0', { |
| 1132 'defines': ['NO_TCMALLOC'], | 1136 'defines': ['NO_TCMALLOC'], |
| 1133 }], | 1137 }], |
| 1134 ['linux_use_heapchecker==0', { | 1138 ['linux_use_heapchecker==0', { |
| 1135 'defines': ['NO_HEAPCHECKER'], | 1139 'defines': ['NO_HEAPCHECKER'], |
| 1136 }], | 1140 }], |
| 1141 ['linux_keep_shadow_stacks==1', { |
| 1142 'defines': ['KEEP_SHADOW_STACKS'], |
| 1143 'cflags': ['-finstrument-functions'], |
| 1144 }], |
| 1137 ], | 1145 ], |
| 1138 }, | 1146 }, |
| 1139 }], | 1147 }], |
| 1140 # FreeBSD-specific options; note that most FreeBSD options are set above, | 1148 # FreeBSD-specific options; note that most FreeBSD options are set above, |
| 1141 # with Linux. | 1149 # with Linux. |
| 1142 ['OS=="freebsd"', { | 1150 ['OS=="freebsd"', { |
| 1143 'target_defaults': { | 1151 'target_defaults': { |
| 1144 'ldflags': [ | 1152 'ldflags': [ |
| 1145 '-Wl,--no-keep-memory', | 1153 '-Wl,--no-keep-memory', |
| 1146 ], | 1154 ], |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 # and therefore SYMROOT, needs to be set at the project level. | 1445 # and therefore SYMROOT, needs to be set at the project level. |
| 1438 'SYMROOT': '<(DEPTH)/xcodebuild', | 1446 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1439 }, | 1447 }, |
| 1440 } | 1448 } |
| 1441 | 1449 |
| 1442 # Local Variables: | 1450 # Local Variables: |
| 1443 # tab-width:2 | 1451 # tab-width:2 |
| 1444 # indent-tabs-mode:nil | 1452 # indent-tabs-mode:nil |
| 1445 # End: | 1453 # End: |
| 1446 # vim: set expandtab tabstop=2 shiftwidth=2: | 1454 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |