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 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2243 ['OS=="linux" and clang==1 and host_arch=="ia32"', { | 2243 ['OS=="linux" and clang==1 and host_arch=="ia32"', { |
2244 # TODO(dmikurube): Remove -Wno-sentinel when Clang/LLVM is fixed. | 2244 # TODO(dmikurube): Remove -Wno-sentinel when Clang/LLVM is fixed. |
2245 # See http://crbug.com/162818. | 2245 # See http://crbug.com/162818. |
2246 'cflags+': ['-Wno-sentinel'], | 2246 'cflags+': ['-Wno-sentinel'], |
2247 }], | 2247 }], |
2248 ['branding=="Chrome"', { | 2248 ['branding=="Chrome"', { |
2249 'defines': ['GOOGLE_CHROME_BUILD'], | 2249 'defines': ['GOOGLE_CHROME_BUILD'], |
2250 }, { # else: branding!="Chrome" | 2250 }, { # else: branding!="Chrome" |
2251 'defines': ['CHROMIUM_BUILD'], | 2251 'defines': ['CHROMIUM_BUILD'], |
2252 }], | 2252 }], |
| 2253 ['OS=="mac"', { |
| 2254 'xcode_settings': { |
| 2255 'LD_RUNPATH_SEARCH_PATHS': [ |
| 2256 # To find dylibs such as libexif. |
| 2257 '@loader_path/.', |
| 2258 ], |
| 2259 }, |
| 2260 }], |
2253 ['OS=="mac" and component=="shared_library"', { | 2261 ['OS=="mac" and component=="shared_library"', { |
2254 'xcode_settings': { | 2262 'xcode_settings': { |
2255 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 2263 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
2256 'LD_RUNPATH_SEARCH_PATHS': [ | 2264 'LD_RUNPATH_SEARCH_PATHS': [ |
2257 # For unbundled binaries. | 2265 # For unbundled binaries. |
2258 '@loader_path/.', | 2266 '@loader_path/.', |
2259 # For bundled binaries, to get back from Binary.app/Contents/MacOS. | 2267 # For bundled binaries, to get back from Binary.app/Contents/MacOS. |
2260 '@loader_path/../../..', | 2268 '@loader_path/../../..', |
2261 ], | 2269 ], |
2262 }, | 2270 }, |
(...skipping 2944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5207 # settings in target dicts. SYMROOT is a special case, because many other | 5215 # settings in target dicts. SYMROOT is a special case, because many other |
5208 # Xcode variables depend on it, including variables such as | 5216 # Xcode variables depend on it, including variables such as |
5209 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5217 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5210 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5218 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5211 # files to appear (when present) in the UI as actual files and not red | 5219 # files to appear (when present) in the UI as actual files and not red |
5212 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5220 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5213 # and therefore SYMROOT, needs to be set at the project level. | 5221 # and therefore SYMROOT, needs to be set at the project level. |
5214 'SYMROOT': '<(DEPTH)/xcodebuild', | 5222 'SYMROOT': '<(DEPTH)/xcodebuild', |
5215 }, | 5223 }, |
5216 } | 5224 } |
OLD | NEW |