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 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
803 | 803 |
804 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi. | 804 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi. |
805 'msbuild_toolset%': '', | 805 'msbuild_toolset%': '', |
806 | 806 |
807 # Native Client is enabled by default. | 807 # Native Client is enabled by default. |
808 'disable_nacl%': 0, | 808 'disable_nacl%': 0, |
809 | 809 |
810 'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py <(platformsdk_ path))', | 810 'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py <(platformsdk_ path))', |
811 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', | 811 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', |
812 | 812 |
813 # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). An example | |
814 # usage is specifying the output directory for Ant in the Android build. | |
815 'absolute_product_dir': '/`cd <(PRODUCT_DIR) && pwd -P`', | |
Nico
2012/05/17 17:04:45
Instead of the leading '/', you could name the var
Yaron
2012/05/17 17:20:26
Done
| |
816 | |
813 'conditions': [ | 817 'conditions': [ |
814 ['os_posix==1 and OS!="mac" and OS!="android"', { | 818 ['os_posix==1 and OS!="mac" and OS!="android"', { |
815 # This will set gcc_version to XY if you are running gcc X.Y.*. | 819 # This will set gcc_version to XY if you are running gcc X.Y.*. |
816 # This is used to tweak build flags for gcc 4.4. | 820 # This is used to tweak build flags for gcc 4.4. |
817 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 821 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
818 # Figure out the python architecture to decide if we build pyauto. | 822 # Figure out the python architecture to decide if we build pyauto. |
819 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', | 823 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', |
820 'conditions': [ | 824 'conditions': [ |
821 ['branding=="Chrome"', { | 825 ['branding=="Chrome"', { |
822 'linux_breakpad%': 1, | 826 'linux_breakpad%': 1, |
(...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3092 # settings in target dicts. SYMROOT is a special case, because many other | 3096 # settings in target dicts. SYMROOT is a special case, because many other |
3093 # Xcode variables depend on it, including variables such as | 3097 # Xcode variables depend on it, including variables such as |
3094 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3098 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3095 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3099 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3096 # files to appear (when present) in the UI as actual files and not red | 3100 # files to appear (when present) in the UI as actual files and not red |
3097 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3101 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3098 # and therefore SYMROOT, needs to be set at the project level. | 3102 # and therefore SYMROOT, needs to be set at the project level. |
3099 'SYMROOT': '<(DEPTH)/xcodebuild', | 3103 'SYMROOT': '<(DEPTH)/xcodebuild', |
3100 }, | 3104 }, |
3101 } | 3105 } |
OLD | NEW |