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 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2037 'mac_release_optimization%': 's', # Use -Os unless overridden | 2037 'mac_release_optimization%': 's', # Use -Os unless overridden |
2038 'mac_debug_optimization%': '0', # Use -O0 unless overridden | 2038 'mac_debug_optimization%': '0', # Use -O0 unless overridden |
2039 }, { | 2039 }, { |
2040 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm
l | 2040 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm
l |
2041 'mac_release_optimization%': '3', # Use -O3 unless overridden | 2041 'mac_release_optimization%': '3', # Use -O3 unless overridden |
2042 'mac_debug_optimization%': '0', # Use -O0 unless overridden | 2042 'mac_debug_optimization%': '0', # Use -O0 unless overridden |
2043 }], | 2043 }], |
2044 ], | 2044 ], |
2045 }, | 2045 }, |
2046 'defines': [ | 2046 'defines': [ |
2047 # Set this to use the new DX11 version of ANGLE. | |
2048 # TODO(apatrick): Remove this when the transition is complete. | |
2049 'ANGLE_DX11', | |
2050 | |
2051 # Don't use deprecated V8 APIs anywhere. | 2047 # Don't use deprecated V8 APIs anywhere. |
2052 'V8_DEPRECATION_WARNINGS', | 2048 'V8_DEPRECATION_WARNINGS', |
2053 ], | 2049 ], |
2054 'conditions': [ | 2050 'conditions': [ |
2055 ['(OS=="mac" or OS=="ios") and asan==1', { | 2051 ['(OS=="mac" or OS=="ios") and asan==1', { |
2056 'dependencies': [ | 2052 'dependencies': [ |
2057 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', | 2053 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', |
2058 ], | 2054 ], |
2059 }], | 2055 }], |
2060 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { | 2056 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { |
(...skipping 2731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4792 # settings in target dicts. SYMROOT is a special case, because many other | 4788 # settings in target dicts. SYMROOT is a special case, because many other |
4793 # Xcode variables depend on it, including variables such as | 4789 # Xcode variables depend on it, including variables such as |
4794 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4790 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4795 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4791 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4796 # files to appear (when present) in the UI as actual files and not red | 4792 # files to appear (when present) in the UI as actual files and not red |
4797 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4793 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4798 # and therefore SYMROOT, needs to be set at the project level. | 4794 # and therefore SYMROOT, needs to be set at the project level. |
4799 'SYMROOT': '<(DEPTH)/xcodebuild', | 4795 'SYMROOT': '<(DEPTH)/xcodebuild', |
4800 }, | 4796 }, |
4801 } | 4797 } |
OLD | NEW |