Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: build/common.gypi

Issue 188693006: Mojo interface libraries: set install name and search path properly on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 ['OS=="linux" and clang==1 and host_arch=="ia32"', { 2138 ['OS=="linux" and clang==1 and host_arch=="ia32"', {
2139 # TODO(dmikurube): Remove -Wno-sentinel when Clang/LLVM is fixed. 2139 # TODO(dmikurube): Remove -Wno-sentinel when Clang/LLVM is fixed.
2140 # See http://crbug.com/162818. 2140 # See http://crbug.com/162818.
2141 'cflags+': ['-Wno-sentinel'], 2141 'cflags+': ['-Wno-sentinel'],
2142 }], 2142 }],
2143 ['branding=="Chrome"', { 2143 ['branding=="Chrome"', {
2144 'defines': ['GOOGLE_CHROME_BUILD'], 2144 'defines': ['GOOGLE_CHROME_BUILD'],
2145 }, { # else: branding!="Chrome" 2145 }, { # else: branding!="Chrome"
2146 'defines': ['CHROMIUM_BUILD'], 2146 'defines': ['CHROMIUM_BUILD'],
2147 }], 2147 }],
2148 ['OS=="mac" and component=="shared_library"', { 2148 ['OS=="mac"', {
2149 'xcode_settings': { 2149 'xcode_settings': {
2150 'DYLIB_INSTALL_NAME_BASE': '@rpath', 2150 'DYLIB_INSTALL_NAME_BASE': '@rpath',
2151 'LD_RUNPATH_SEARCH_PATHS': [ 2151 'LD_RUNPATH_SEARCH_PATHS': [
2152 # For unbundled binaries. 2152 # For unbundled binaries.
2153 '@loader_path/.', 2153 '@loader_path/.',
2154 # For bundled binaries, to get back from Binary.app/Contents/MacOS. 2154 # For bundled binaries, to get back from Binary.app/Contents/MacOS.
2155 '@loader_path/../../..', 2155 '@loader_path/../../..',
Nico 2014/03/06 19:10:56 Huh, I'm pretty sure the vast majority of targets
yzshen1 2014/03/06 22:09:21 (Forgive my ignorance. First time working on mac i
2156 ], 2156 ],
2157 }, 2157 },
2158 }], 2158 }],
2159 ['enable_rlz==1', { 2159 ['enable_rlz==1', {
2160 'defines': ['ENABLE_RLZ'], 2160 'defines': ['ENABLE_RLZ'],
2161 }], 2161 }],
2162 ['component=="shared_library"', { 2162 ['component=="shared_library"', {
2163 'defines': ['COMPONENT_BUILD'], 2163 'defines': ['COMPONENT_BUILD'],
2164 }], 2164 }],
2165 ['toolkit_views==1', { 2165 ['toolkit_views==1', {
(...skipping 2867 matching lines...) Expand 10 before | Expand all | Expand 10 after
5033 # settings in target dicts. SYMROOT is a special case, because many other 5033 # settings in target dicts. SYMROOT is a special case, because many other
5034 # Xcode variables depend on it, including variables such as 5034 # Xcode variables depend on it, including variables such as
5035 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5035 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5036 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5036 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5037 # files to appear (when present) in the UI as actual files and not red 5037 # files to appear (when present) in the UI as actual files and not red
5038 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5038 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5039 # and therefore SYMROOT, needs to be set at the project level. 5039 # and therefore SYMROOT, needs to be set at the project level.
5040 'SYMROOT': '<(DEPTH)/xcodebuild', 5040 'SYMROOT': '<(DEPTH)/xcodebuild',
5041 }, 5041 },
5042 } 5042 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698