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

Side by Side Diff: build/common.gypi

Issue 45038: loadable_modules are just like shared libs for code generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 'PREBINDING': 'NO', 175 'PREBINDING': 'NO',
176 'SDKROOT': 'macosx10.5', 176 'SDKROOT': 'macosx10.5',
177 'USE_HEADERMAP': 'NO', 177 'USE_HEADERMAP': 'NO',
178 'WARNING_CFLAGS': ['-Wall', '-Wendif-labels'], 178 'WARNING_CFLAGS': ['-Wall', '-Wendif-labels'],
179 'conditions': [ 179 'conditions': [
180 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, 180 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'},
181 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}], 181 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}],
182 ], 182 ],
183 }, 183 },
184 'target_conditions': [ 184 'target_conditions': [
185 ['_type=="shared_library"', { 185 ['_type=="shared_library" or _type=="loadable_module"', {
186 'xcode_settings': {'GCC_DYNAMIC_NO_PIC': 'NO'}, 186 'xcode_settings': {'GCC_DYNAMIC_NO_PIC': 'NO'},
187 }], 187 }],
188 ['_type!="static_library"', { 188 ['_type!="static_library"', {
189 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 189 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
190 }], 190 }],
191 ['_mac_bundle', { 191 ['_mac_bundle', {
192 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 192 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
193 }], 193 }],
194 ['_type=="executable"', { 194 ['_type=="executable"', {
195 'postbuilds': [ 195 'postbuilds': [
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 # settings in target dicts. SYMROOT is a special case, because many other 298 # settings in target dicts. SYMROOT is a special case, because many other
299 # Xcode variables depend on it, including variables such as 299 # Xcode variables depend on it, including variables such as
300 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 300 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
301 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 301 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
302 # files to appear (when present) in the UI as actual files and not red 302 # files to appear (when present) in the UI as actual files and not red
303 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 303 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
304 # and therefore SYMROOT, needs to be set at the project level. 304 # and therefore SYMROOT, needs to be set at the project level.
305 'SYMROOT': '<(DEPTH)/xcodebuild', 305 'SYMROOT': '<(DEPTH)/xcodebuild',
306 }, 306 },
307 } 307 }
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