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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 ], | 2073 ], |
2074 # iOS uses a whitelist to filter resources. | 2074 # iOS uses a whitelist to filter resources. |
2075 'grit_whitelist%': '<(DEPTH)/build/ios/grit_whitelist.txt', | 2075 'grit_whitelist%': '<(DEPTH)/build/ios/grit_whitelist.txt', |
2076 | 2076 |
2077 # Enable host builds when generating with ninja-ios. | 2077 # Enable host builds when generating with ninja-ios. |
2078 'conditions': [ | 2078 'conditions': [ |
2079 ['"<(GENERATOR)"=="ninja"', { | 2079 ['"<(GENERATOR)"=="ninja"', { |
2080 'host_os%': "mac", | 2080 'host_os%': "mac", |
2081 }], | 2081 }], |
2082 | 2082 |
| 2083 # Use the version of clang shipped with Xcode when building official |
| 2084 # version of Chrome for iOS. |
| 2085 # |
2083 # TODO(eugenebut): Remove enable_coverage check once | 2086 # TODO(eugenebut): Remove enable_coverage check once |
2084 # libclang_rt.profile_ios.a is bundled with Chromium's clang. | 2087 # libclang_rt.profile_ios.a is bundled with Chromium's clang. |
2085 # http://crbug.com/450379 | 2088 # http://crbug.com/450379 |
2086 ['enable_coverage or "<(GENERATOR)"=="xcode"', { | 2089 ['buildtype=="Official" or enable_coverage', { |
2087 'clang_xcode%': 1, | 2090 'clang_xcode%': 1, |
2088 }], | 2091 }], |
2089 ], | 2092 ], |
2090 }], | 2093 }], |
2091 ['enable_extensions==1', { | 2094 ['enable_extensions==1', { |
2092 'grit_defines': ['-D', 'enable_extensions'], | 2095 'grit_defines': ['-D', 'enable_extensions'], |
2093 }], | 2096 }], |
2094 ['enable_plugins!=0', { | 2097 ['enable_plugins!=0', { |
2095 'grit_defines': ['-D', 'enable_plugins'], | 2098 'grit_defines': ['-D', 'enable_plugins'], |
2096 }], | 2099 }], |
(...skipping 3811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5908 # settings in target dicts. SYMROOT is a special case, because many other | 5911 # settings in target dicts. SYMROOT is a special case, because many other |
5909 # Xcode variables depend on it, including variables such as | 5912 # Xcode variables depend on it, including variables such as |
5910 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5913 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5911 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5914 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5912 # files to appear (when present) in the UI as actual files and not red | 5915 # files to appear (when present) in the UI as actual files and not red |
5913 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5916 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5914 # and therefore SYMROOT, needs to be set at the project level. | 5917 # and therefore SYMROOT, needs to be set at the project level. |
5915 'SYMROOT': '<(DEPTH)/xcodebuild', | 5918 'SYMROOT': '<(DEPTH)/xcodebuild', |
5916 }, | 5919 }, |
5917 } | 5920 } |
OLD | NEW |