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 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 'mac_release_optimization%': 's', # Use -Os unless overridden | 1805 'mac_release_optimization%': 's', # Use -Os unless overridden |
1806 'mac_debug_optimization%': '0', # Use -O0 unless overridden | 1806 'mac_debug_optimization%': '0', # Use -O0 unless overridden |
1807 }, { | 1807 }, { |
1808 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm
l | 1808 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm
l |
1809 'mac_release_optimization%': '3', # Use -O3 unless overridden | 1809 'mac_release_optimization%': '3', # Use -O3 unless overridden |
1810 'mac_debug_optimization%': '0', # Use -O0 unless overridden | 1810 'mac_debug_optimization%': '0', # Use -O0 unless overridden |
1811 }], | 1811 }], |
1812 ], | 1812 ], |
1813 }, | 1813 }, |
1814 'conditions': [ | 1814 'conditions': [ |
1815 ['OS=="linux"', { | |
1816 'defines': ['ENABLE_PARTITION_ALLOC=1'], | |
1817 }], | |
1818 ['(OS=="mac" or OS=="ios") and asan==1', { | 1815 ['(OS=="mac" or OS=="ios") and asan==1', { |
1819 'dependencies': [ | 1816 'dependencies': [ |
1820 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', | 1817 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', |
1821 ], | 1818 ], |
1822 }], | 1819 }], |
1823 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { | 1820 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { |
1824 'cflags_cc!': ['-fno-rtti'], | 1821 'cflags_cc!': ['-fno-rtti'], |
1825 'cflags_cc+': [ | 1822 'cflags_cc+': [ |
1826 '-frtti', | 1823 '-frtti', |
1827 '-gline-tables-only', | 1824 '-gline-tables-only', |
(...skipping 2695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4523 # settings in target dicts. SYMROOT is a special case, because many other | 4520 # settings in target dicts. SYMROOT is a special case, because many other |
4524 # Xcode variables depend on it, including variables such as | 4521 # Xcode variables depend on it, including variables such as |
4525 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4522 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4526 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4523 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4527 # files to appear (when present) in the UI as actual files and not red | 4524 # files to appear (when present) in the UI as actual files and not red |
4528 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4525 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4529 # and therefore SYMROOT, needs to be set at the project level. | 4526 # and therefore SYMROOT, needs to be set at the project level. |
4530 'SYMROOT': '<(DEPTH)/xcodebuild', | 4527 'SYMROOT': '<(DEPTH)/xcodebuild', |
4531 }, | 4528 }, |
4532 } | 4529 } |
OLD | NEW |