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

Side by Side Diff: build/common.gypi

Issue 1056043002: Fix mips build error 'undefined reference to dlopen' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 4123 matching lines...) Expand 10 before | Expand all | Expand 10 after
4134 'cflags': ['-mdsp'], 4134 'cflags': ['-mdsp'],
4135 }], 4135 }],
4136 ['mips_dsp_rev==2', { 4136 ['mips_dsp_rev==2', {
4137 'cflags': ['-mdspr2'], 4137 'cflags': ['-mdspr2'],
4138 }], 4138 }],
4139 ], 4139 ],
4140 'cflags': [ 4140 'cflags': [
4141 '-m<(mips_float_abi)-float' 4141 '-m<(mips_float_abi)-float'
4142 ], 4142 ],
4143 'ldflags': [ 4143 'ldflags': [
4144 '-Wl,--no-keep-memory' 4144 '-Wl,--no-keep-memory',
4145 '-ldl',
4145 ], 4146 ],
4146 'cflags_cc': [ 4147 'cflags_cc': [
4147 '-Wno-uninitialized', 4148 '-Wno-uninitialized',
4148 ], 4149 ],
4149 }], 4150 }],
4150 ], 4151 ],
4151 }], 4152 }],
4152 ['target_arch=="mips64el"', { 4153 ['target_arch=="mips64el"', {
4153 'target_conditions': [ 4154 'target_conditions': [
4154 ['_toolset=="target"', { 4155 ['_toolset=="target"', {
4155 'conditions': [ 4156 'conditions': [
4156 ['mips_arch_variant=="r6"', { 4157 ['mips_arch_variant=="r6"', {
4157 'cflags': ['-mips64r6', '-Wa,-mips64r6'], 4158 'cflags': ['-mips64r6', '-Wa,-mips64r6'],
4158 'ldflags': ['-mips64r6'], 4159 'ldflags': ['-mips64r6'],
4159 }], 4160 }],
4160 ['mips_arch_variant=="r2"', { 4161 ['mips_arch_variant=="r2"', {
4161 'cflags': ['-mips64r2', '-Wa,-mips64r2'], 4162 'cflags': ['-mips64r2', '-Wa,-mips64r2'],
4162 'ldflags': ['-mips64r2'], 4163 'ldflags': ['-mips64r2'],
4163 }], 4164 }],
4164 ], 4165 ],
4165 'cflags_cc': [ 4166 'cflags_cc': [
4166 '-Wno-uninitialized', 4167 '-Wno-uninitialized',
4167 ], 4168 ],
4169 'ldflags': [
4170 '-ldl',
4171 ],
4168 }], 4172 }],
4169 ], 4173 ],
4170 }], 4174 }],
4171 ['linux_fpic==1', { 4175 ['linux_fpic==1', {
4172 'cflags': [ 4176 'cflags': [
4173 '-fPIC', 4177 '-fPIC',
4174 ], 4178 ],
4175 'ldflags': [ 4179 'ldflags': [
4176 '-fPIC', 4180 '-fPIC',
4177 ], 4181 ],
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
6091 # settings in target dicts. SYMROOT is a special case, because many other 6095 # settings in target dicts. SYMROOT is a special case, because many other
6092 # Xcode variables depend on it, including variables such as 6096 # Xcode variables depend on it, including variables such as
6093 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6097 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6094 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6098 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6095 # files to appear (when present) in the UI as actual files and not red 6099 # files to appear (when present) in the UI as actual files and not red
6096 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6100 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6097 # and therefore SYMROOT, needs to be set at the project level. 6101 # and therefore SYMROOT, needs to be set at the project level.
6098 'SYMROOT': '<(DEPTH)/xcodebuild', 6102 'SYMROOT': '<(DEPTH)/xcodebuild',
6099 }, 6103 },
6100 } 6104 }
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