OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |