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_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', | 8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', |
9 ], | 9 ], |
10 'conditions' : [ | 10 'conditions' : [ |
| 11 [ 'skia_arch_type == "arm64"', { |
| 12 'cflags': [ |
| 13 '-ffp-contract=off', |
| 14 ], |
| 15 }], |
| 16 |
11 [ 'skia_os == "win"', | 17 [ 'skia_os == "win"', |
12 { | 18 { |
13 'defines': [ | 19 'defines': [ |
14 'SK_BUILD_FOR_WIN32', | 20 'SK_BUILD_FOR_WIN32', |
15 '_CRT_SECURE_NO_WARNINGS', | 21 '_CRT_SECURE_NO_WARNINGS', |
16 'GR_GL_FUNCTION_TYPE=__stdcall', | 22 'GR_GL_FUNCTION_TYPE=__stdcall', |
17 ], | 23 ], |
18 'msvs_cygwin_shell': 0, | 24 'msvs_cygwin_shell': 0, |
19 'msvs_settings': { | 25 'msvs_settings': { |
20 'VCCLCompilerTool': { | 26 'VCCLCompilerTool': { |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 'defines': [ | 595 'defines': [ |
590 'SK_USE_POSIX_THREADS', | 596 'SK_USE_POSIX_THREADS', |
591 ], | 597 ], |
592 }], | 598 }], |
593 ], # end 'conditions' | 599 ], # end 'conditions' |
594 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 600 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
595 'xcode_settings': { | 601 'xcode_settings': { |
596 'SYMROOT': '<(DEPTH)/xcodebuild', | 602 'SYMROOT': '<(DEPTH)/xcodebuild', |
597 }, | 603 }, |
598 } | 604 } |
OLD | NEW |