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 | |
17 [ 'skia_os == "win"', | 11 [ 'skia_os == "win"', |
18 { | 12 { |
19 'defines': [ | 13 'defines': [ |
20 'SK_BUILD_FOR_WIN32', | 14 'SK_BUILD_FOR_WIN32', |
21 '_CRT_SECURE_NO_WARNINGS', | 15 '_CRT_SECURE_NO_WARNINGS', |
22 'GR_GL_FUNCTION_TYPE=__stdcall', | 16 'GR_GL_FUNCTION_TYPE=__stdcall', |
23 ], | 17 ], |
24 'msvs_cygwin_shell': 0, | 18 'msvs_cygwin_shell': 0, |
25 'msvs_settings': { | 19 'msvs_settings': { |
26 'VCCLCompilerTool': { | 20 'VCCLCompilerTool': { |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 'defines': [ | 555 'defines': [ |
562 'SK_USE_POSIX_THREADS', | 556 'SK_USE_POSIX_THREADS', |
563 ], | 557 ], |
564 }], | 558 }], |
565 ], # end 'conditions' | 559 ], # end 'conditions' |
566 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 560 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
567 'xcode_settings': { | 561 'xcode_settings': { |
568 'SYMROOT': '<(DEPTH)/xcodebuild', | 562 'SYMROOT': '<(DEPTH)/xcodebuild', |
569 }, | 563 }, |
570 } | 564 } |
OLD | NEW |