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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 'windows_sdk_path%': '<(windows_sdk_default_path)', | 836 'windows_sdk_path%': '<(windows_sdk_default_path)', |
837 }, { | 837 }, { |
838 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 838 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
839 }], | 839 }], |
840 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { | 840 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { |
841 'directx_sdk_path%': '<(directx_sdk_default_path)', | 841 'directx_sdk_path%': '<(directx_sdk_default_path)', |
842 }, { | 842 }, { |
843 'directx_sdk_path%': '$(DXSDK_DIR)', | 843 'directx_sdk_path%': '$(DXSDK_DIR)', |
844 }], | 844 }], |
845 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 845 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
846 # This will set gcc_version to XY if you are running gcc X.Y.*. | |
847 # This is used to tweak build flags for gcc 4.4. | |
848 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | |
849 # Figure out the python architecture to decide if we build pyauto. | 846 # Figure out the python architecture to decide if we build pyauto. |
850 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', | 847 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', |
851 'conditions': [ | 848 'conditions': [ |
| 849 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so |
| 850 # that it takes effect here. |
| 851 ['clang==0 and asan==0 and tsan==0', { |
| 852 # This will set gcc_version to XY if you are running gcc X.Y.*. |
| 853 # This is used to tweak build flags for gcc 4.5. |
| 854 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
| 855 }, { |
| 856 'gcc_version%': 0, |
| 857 }], |
852 ['branding=="Chrome"', { | 858 ['branding=="Chrome"', { |
853 'linux_breakpad%': 1, | 859 'linux_breakpad%': 1, |
854 }], | 860 }], |
855 # All Chrome builds have breakpad symbols, but only process the | 861 # All Chrome builds have breakpad symbols, but only process the |
856 # symbols from official builds. | 862 # symbols from official builds. |
857 ['(branding=="Chrome" and buildtype=="Official")', { | 863 ['(branding=="Chrome" and buildtype=="Official")', { |
858 'linux_dump_symbols%': 1, | 864 'linux_dump_symbols%': 1, |
859 }], | 865 }], |
860 ], | 866 ], |
861 }], # os_posix==1 and OS!="mac" and OS!="ios" | 867 }], # os_posix==1 and OS!="mac" and OS!="ios" |
(...skipping 2426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3288 # settings in target dicts. SYMROOT is a special case, because many other | 3294 # settings in target dicts. SYMROOT is a special case, because many other |
3289 # Xcode variables depend on it, including variables such as | 3295 # Xcode variables depend on it, including variables such as |
3290 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3296 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3291 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3297 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3292 # files to appear (when present) in the UI as actual files and not red | 3298 # files to appear (when present) in the UI as actual files and not red |
3293 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3299 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3294 # and therefore SYMROOT, needs to be set at the project level. | 3300 # and therefore SYMROOT, needs to be set at the project level. |
3295 'SYMROOT': '<(DEPTH)/xcodebuild', | 3301 'SYMROOT': '<(DEPTH)/xcodebuild', |
3296 }, | 3302 }, |
3297 } | 3303 } |
OLD | NEW |