OLD | NEW |
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 # 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 'linux_breakpad%': 1, | 953 'linux_breakpad%': 1, |
954 # And if we want to dump symbols for Breakpad-enabled builds. | 954 # And if we want to dump symbols for Breakpad-enabled builds. |
955 'linux_dump_symbols%': 0, | 955 'linux_dump_symbols%': 0, |
956 # And if we want to strip the binary after dumping symbols. | 956 # And if we want to strip the binary after dumping symbols. |
957 'linux_strip_binary%': 0, | 957 'linux_strip_binary%': 0, |
958 # Strip the test binaries needed for Linux reliability tests. | 958 # Strip the test binaries needed for Linux reliability tests. |
959 'linux_strip_reliability_tests%': 0, | 959 'linux_strip_reliability_tests%': 0, |
960 | 960 |
961 # Enable TCMalloc. | 961 # Enable TCMalloc. |
962 'linux_use_tcmalloc%': 1, | 962 'linux_use_tcmalloc%': 1, |
| 963 'android_use_tcmalloc%': 0, |
963 | 964 |
964 # Disable TCMalloc's heapchecker. | 965 # Disable TCMalloc's heapchecker. |
965 'linux_use_heapchecker%': 0, | 966 'linux_use_heapchecker%': 0, |
966 | 967 |
967 # Disable shadow stack keeping used by heapcheck to unwind the stacks | 968 # Disable shadow stack keeping used by heapcheck to unwind the stacks |
968 # better. | 969 # better. |
969 'linux_keep_shadow_stacks%': 0, | 970 'linux_keep_shadow_stacks%': 0, |
970 | 971 |
971 # Set to 1 to link against libgnome-keyring instead of using dlopen(). | 972 # Set to 1 to link against libgnome-keyring instead of using dlopen(). |
972 'linux_link_gnome_keyring%': 0, | 973 'linux_link_gnome_keyring%': 0, |
(...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3244 ], | 3245 ], |
3245 }], | 3246 }], |
3246 ], | 3247 ], |
3247 }], | 3248 }], |
3248 ], | 3249 ], |
3249 }], | 3250 }], |
3250 ['linux_use_heapchecker==1', { | 3251 ['linux_use_heapchecker==1', { |
3251 'variables': {'linux_use_tcmalloc%': 1}, | 3252 'variables': {'linux_use_tcmalloc%': 1}, |
3252 'defines': ['USE_HEAPCHECKER'], | 3253 'defines': ['USE_HEAPCHECKER'], |
3253 }], | 3254 }], |
3254 ['linux_use_tcmalloc==0', { | 3255 ['linux_use_tcmalloc==0 and android_use_tcmalloc==0', { |
3255 'defines': ['NO_TCMALLOC'], | 3256 'defines': ['NO_TCMALLOC'], |
3256 }], | 3257 }], |
3257 ['linux_keep_shadow_stacks==1', { | 3258 ['linux_keep_shadow_stacks==1', { |
3258 'defines': ['KEEP_SHADOW_STACKS'], | 3259 'defines': ['KEEP_SHADOW_STACKS'], |
3259 'cflags': [ | 3260 'cflags': [ |
3260 '-finstrument-functions', | 3261 '-finstrument-functions', |
3261 # Allow mmx intrinsics to inline, so that the compiler can expand | 3262 # Allow mmx intrinsics to inline, so that the compiler can expand |
3262 # the intrinsics. | 3263 # the intrinsics. |
3263 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3264 '-finstrument-functions-exclude-file-list=mmintrin.h', |
3264 ], | 3265 ], |
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4458 # settings in target dicts. SYMROOT is a special case, because many other | 4459 # settings in target dicts. SYMROOT is a special case, because many other |
4459 # Xcode variables depend on it, including variables such as | 4460 # Xcode variables depend on it, including variables such as |
4460 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4461 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4461 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4462 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4462 # files to appear (when present) in the UI as actual files and not red | 4463 # files to appear (when present) in the UI as actual files and not red |
4463 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4464 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4464 # and therefore SYMROOT, needs to be set at the project level. | 4465 # and therefore SYMROOT, needs to be set at the project level. |
4465 'SYMROOT': '<(DEPTH)/xcodebuild', | 4466 'SYMROOT': '<(DEPTH)/xcodebuild', |
4466 }, | 4467 }, |
4467 } | 4468 } |
OLD | NEW |