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 2629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2640 # Allow mmx intrinsics to inline, so that the | 2640 # Allow mmx intrinsics to inline, so that the |
2641 # compiler can expand the intrinsics. | 2641 # compiler can expand the intrinsics. |
2642 '-finstrument-functions-exclude-file-list=mmintrin.h', | 2642 '-finstrument-functions-exclude-file-list=mmintrin.h', |
2643 ], | 2643 ], |
2644 }], | 2644 }], |
2645 ], | 2645 ], |
2646 }], | 2646 }], |
2647 ['linux_breakpad==1', { | 2647 ['linux_breakpad==1', { |
2648 'cflags': [ '-g' ], | 2648 'cflags': [ '-g' ], |
2649 'defines': ['USE_LINUX_BREAKPAD'], | 2649 'defines': ['USE_LINUX_BREAKPAD'], |
| 2650 'conditions': [ |
| 2651 ['target_arch=="ia32"', { |
| 2652 'target_conditions': [ |
| 2653 ['_toolset=="target"', { |
| 2654 'ldflags': [ |
| 2655 # Workaround for linker OOM. http://crbug.com/160253. |
| 2656 '-Wl,--no-keep-files-mapped', |
| 2657 ], |
| 2658 }], |
| 2659 ], |
| 2660 }], |
| 2661 ], |
2650 }], | 2662 }], |
2651 ['linux_use_heapchecker==1', { | 2663 ['linux_use_heapchecker==1', { |
2652 'variables': {'linux_use_tcmalloc%': 1}, | 2664 'variables': {'linux_use_tcmalloc%': 1}, |
2653 'defines': ['USE_HEAPCHECKER'], | 2665 'defines': ['USE_HEAPCHECKER'], |
2654 }], | 2666 }], |
2655 ['linux_use_tcmalloc==0', { | 2667 ['linux_use_tcmalloc==0', { |
2656 'defines': ['NO_TCMALLOC'], | 2668 'defines': ['NO_TCMALLOC'], |
2657 }], | 2669 }], |
2658 ['linux_keep_shadow_stacks==1', { | 2670 ['linux_keep_shadow_stacks==1', { |
2659 'defines': ['KEEP_SHADOW_STACKS'], | 2671 'defines': ['KEEP_SHADOW_STACKS'], |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3733 # settings in target dicts. SYMROOT is a special case, because many other | 3745 # settings in target dicts. SYMROOT is a special case, because many other |
3734 # Xcode variables depend on it, including variables such as | 3746 # Xcode variables depend on it, including variables such as |
3735 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3736 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3737 # files to appear (when present) in the UI as actual files and not red | 3749 # files to appear (when present) in the UI as actual files and not red |
3738 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3739 # and therefore SYMROOT, needs to be set at the project level. | 3751 # and therefore SYMROOT, needs to be set at the project level. |
3740 'SYMROOT': '<(DEPTH)/xcodebuild', | 3752 'SYMROOT': '<(DEPTH)/xcodebuild', |
3741 }, | 3753 }, |
3742 } | 3754 } |
OLD | NEW |