OLD | NEW |
1 # conditions used in both common.gypi and skia.gyp in chromium | 1 # conditions used in both common.gypi and skia.gyp in chromium |
2 # | 2 # |
3 { | 3 { |
4 'defines': [ | 4 'defines': [ |
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
6 'SK_SUPPORT_GPU=<(skia_gpu)', | 6 'SK_SUPPORT_GPU=<(skia_gpu)', |
7 'SK_SUPPORT_OPENCL=<(skia_opencl)', | 7 'SK_SUPPORT_OPENCL=<(skia_opencl)', |
8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', | 8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', |
9 ], | 9 ], |
10 'conditions' : [ | 10 'conditions' : [ |
11 [ 'skia_os == "win"', | 11 [ 'skia_os == "win"', |
12 { | 12 { |
13 'defines': [ | 13 'defines': [ |
14 'SK_BUILD_FOR_WIN32', | 14 'SK_BUILD_FOR_WIN32', |
15 '_CRT_SECURE_NO_WARNINGS', | 15 '_CRT_SECURE_NO_WARNINGS', |
16 'GR_GL_FUNCTION_TYPE=__stdcall', | 16 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 17 '_HAS_EXCEPTIONS=0', |
| 18 '_STATIC_CPPLIB', |
| 19 '_DISABLE_DEPRECATE_STATIC_CPPLIB', |
17 ], | 20 ], |
18 'msvs_cygwin_shell': 0, | 21 'msvs_cygwin_shell': 0, |
19 'msvs_settings': { | 22 'msvs_settings': { |
20 'VCCLCompilerTool': { | 23 'VCCLCompilerTool': { |
21 'WarningLevel': '3', | 24 'WarningLevel': '3', |
22 'ProgramDataBaseFileName': '$(OutDir)\\$(ProjectName).pdb', | 25 'ProgramDataBaseFileName': '$(OutDir)\\$(ProjectName).pdb', |
23 'DebugInformationFormat': '3', | 26 'DebugInformationFormat': '3', |
24 'ExceptionHandling': '0', | 27 'ExceptionHandling': '0', |
25 'AdditionalOptions': [ '/MP', ], | 28 'AdditionalOptions': [ '/MP', ], |
26 }, | 29 }, |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 'defines': [ | 487 'defines': [ |
485 'SK_USE_POSIX_THREADS', | 488 'SK_USE_POSIX_THREADS', |
486 ], | 489 ], |
487 }], | 490 }], |
488 ], # end 'conditions' | 491 ], # end 'conditions' |
489 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 492 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
490 'xcode_settings': { | 493 'xcode_settings': { |
491 'SYMROOT': '<(DEPTH)/xcodebuild', | 494 'SYMROOT': '<(DEPTH)/xcodebuild', |
492 }, | 495 }, |
493 } | 496 } |
OLD | NEW |