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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'cflags': [ | 59 'cflags': [ |
60 '-msse2', | 60 '-msse2', |
61 '-mfpmath=sse', | 61 '-mfpmath=sse', |
62 ], | 62 ], |
63 }], | 63 }], |
64 | 64 |
65 [ 'skia_os == "win"', | 65 [ 'skia_os == "win"', |
66 { | 66 { |
67 'defines': [ | 67 'defines': [ |
68 '_CRT_SECURE_NO_WARNINGS', | 68 '_CRT_SECURE_NO_WARNINGS', |
69 'GR_GL_FUNCTION_TYPE=__stdcall', | |
70 '_HAS_EXCEPTIONS=0', | 69 '_HAS_EXCEPTIONS=0', |
71 'WIN32_LEAN_AND_MEAN', | 70 'WIN32_LEAN_AND_MEAN', |
72 'NOMINMAX', | 71 'NOMINMAX', |
73 ], | 72 ], |
74 'msvs_disabled_warnings': [ | 73 'msvs_disabled_warnings': [ |
75 4275, # An exported class was derived from a class that was not exp
orted | 74 4275, # An exported class was derived from a class that was not exp
orted |
76 4345, # This is an FYI about a behavior change from long ago. Chrom
e stifles it too. | 75 4345, # This is an FYI about a behavior change from long ago. Chrom
e stifles it too. |
77 4355, # 'this' used in base member initializer list. Off by default
in newer compilers. | 76 4355, # 'this' used in base member initializer list. Off by default
in newer compilers. |
78 ], | 77 ], |
79 'msvs_cygwin_shell': 0, | 78 'msvs_cygwin_shell': 0, |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 702 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
704 }, | 703 }, |
705 }], | 704 }], |
706 | 705 |
707 ], # end 'conditions' | 706 ], # end 'conditions' |
708 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 707 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
709 'xcode_settings': { | 708 'xcode_settings': { |
710 'SYMROOT': '<(DEPTH)/xcodebuild', | 709 'SYMROOT': '<(DEPTH)/xcodebuild', |
711 }, | 710 }, |
712 } | 711 } |
OLD | NEW |