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

Side by Side Diff: gyp/common_conditions.gypi

Issue 1774593002: link with -rdynamic on Linux (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # conditions used in both common.gypi and skia.gyp in chromium 6 # conditions used in both common.gypi and skia.gyp in chromium
7 # 7 #
8 { 8 {
9 'defines': [ 9 'defines': [
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 '-Wsign-compare', 232 '-Wsign-compare',
233 233
234 '-Wno-unused-parameter', 234 '-Wno-unused-parameter',
235 ], 235 ],
236 'cflags_cc': [ 236 'cflags_cc': [
237 '-std=c++11', 237 '-std=c++11',
238 '-fno-rtti', 238 '-fno-rtti',
239 '-fno-threadsafe-statics', 239 '-fno-threadsafe-statics',
240 '-Wnon-virtual-dtor', 240 '-Wnon-virtual-dtor',
241 ], 241 ],
242 'ldflags': [ '-rdynamic' ],
242 'conditions': [ 243 'conditions': [
243 [ 'skia_fast', { 'cflags': [ '<@(skia_fast_flags)' ] }], 244 [ 'skia_fast', { 'cflags': [ '<@(skia_fast_flags)' ] }],
244 [ 'skia_os != "chromeos"', { 245 [ 'skia_os != "chromeos"', {
245 'conditions': [ 246 'conditions': [
246 [ 'skia_arch_type == "x86_64" and not skia_android_framework', { 247 [ 'skia_arch_type == "x86_64" and not skia_android_framework', {
247 'cflags': [ 248 'cflags': [
248 '-m64', 249 '-m64',
249 ], 250 ],
250 'ldflags': [ 251 'ldflags': [
251 '-m64', 252 '-m64',
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], 677 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'],
677 }, 678 },
678 }], 679 }],
679 680
680 ], # end 'conditions' 681 ], # end 'conditions'
681 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 682 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
682 'xcode_settings': { 683 'xcode_settings': {
683 'SYMROOT': '<(DEPTH)/xcodebuild', 684 'SYMROOT': '<(DEPTH)/xcodebuild',
684 }, 685 },
685 } 686 }
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