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 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 'linux_breakpad%': 1, | 948 'linux_breakpad%': 1, |
949 # And if we want to dump symbols for Breakpad-enabled builds. | 949 # And if we want to dump symbols for Breakpad-enabled builds. |
950 'linux_dump_symbols%': 0, | 950 'linux_dump_symbols%': 0, |
951 # And if we want to strip the binary after dumping symbols. | 951 # And if we want to strip the binary after dumping symbols. |
952 'linux_strip_binary%': 0, | 952 'linux_strip_binary%': 0, |
953 # Strip the test binaries needed for Linux reliability tests. | 953 # Strip the test binaries needed for Linux reliability tests. |
954 'linux_strip_reliability_tests%': 0, | 954 'linux_strip_reliability_tests%': 0, |
955 | 955 |
956 # Enable TCMalloc. | 956 # Enable TCMalloc. |
957 'linux_use_tcmalloc%': 1, | 957 'linux_use_tcmalloc%': 1, |
| 958 'android_use_tcmalloc%': 0, |
958 | 959 |
959 # Disable TCMalloc's heapchecker. | 960 # Disable TCMalloc's heapchecker. |
960 'linux_use_heapchecker%': 0, | 961 'linux_use_heapchecker%': 0, |
961 | 962 |
962 # Disable shadow stack keeping used by heapcheck to unwind the stacks | 963 # Disable shadow stack keeping used by heapcheck to unwind the stacks |
963 # better. | 964 # better. |
964 'linux_keep_shadow_stacks%': 0, | 965 'linux_keep_shadow_stacks%': 0, |
965 | 966 |
966 # Set to 1 to link against libgnome-keyring instead of using dlopen(). | 967 # Set to 1 to link against libgnome-keyring instead of using dlopen(). |
967 'linux_link_gnome_keyring%': 0, | 968 'linux_link_gnome_keyring%': 0, |
(...skipping 2248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3216 'variables': {'linux_use_tcmalloc%': 1}, | 3217 'variables': {'linux_use_tcmalloc%': 1}, |
3217 'defines': ['USE_HEAPCHECKER'], | 3218 'defines': ['USE_HEAPCHECKER'], |
3218 'conditions': [ | 3219 'conditions': [ |
3219 ['component=="shared_library"', { | 3220 ['component=="shared_library"', { |
3220 # See crbug.com/112389 | 3221 # See crbug.com/112389 |
3221 # TODO(glider): replace with --dynamic-list or something | 3222 # TODO(glider): replace with --dynamic-list or something |
3222 'ldflags': ['-rdynamic'], | 3223 'ldflags': ['-rdynamic'], |
3223 }], | 3224 }], |
3224 ], | 3225 ], |
3225 }], | 3226 }], |
3226 ['linux_use_tcmalloc==0', { | 3227 ['linux_use_tcmalloc==0 and android_use_tcmalloc==0', { |
3227 'defines': ['NO_TCMALLOC'], | 3228 'defines': ['NO_TCMALLOC'], |
3228 }], | 3229 }], |
3229 ['linux_keep_shadow_stacks==1', { | 3230 ['linux_keep_shadow_stacks==1', { |
3230 'defines': ['KEEP_SHADOW_STACKS'], | 3231 'defines': ['KEEP_SHADOW_STACKS'], |
3231 'cflags': [ | 3232 'cflags': [ |
3232 '-finstrument-functions', | 3233 '-finstrument-functions', |
3233 # Allow mmx intrinsics to inline, so that the compiler can expand | 3234 # Allow mmx intrinsics to inline, so that the compiler can expand |
3234 # the intrinsics. | 3235 # the intrinsics. |
3235 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3236 '-finstrument-functions-exclude-file-list=mmintrin.h', |
3236 ], | 3237 ], |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4439 # settings in target dicts. SYMROOT is a special case, because many other | 4440 # settings in target dicts. SYMROOT is a special case, because many other |
4440 # Xcode variables depend on it, including variables such as | 4441 # Xcode variables depend on it, including variables such as |
4441 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4442 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4442 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4443 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4443 # files to appear (when present) in the UI as actual files and not red | 4444 # files to appear (when present) in the UI as actual files and not red |
4444 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4445 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4445 # and therefore SYMROOT, needs to be set at the project level. | 4446 # and therefore SYMROOT, needs to be set at the project level. |
4446 'SYMROOT': '<(DEPTH)/xcodebuild', | 4447 'SYMROOT': '<(DEPTH)/xcodebuild', |
4447 }, | 4448 }, |
4448 } | 4449 } |
OLD | NEW |