OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'configurations': { | 4 'configurations': { |
5 'Debug': { }, | 5 'Debug': { }, |
6 'Release': { } | 6 'Release': { } |
7 }, | 7 }, |
| 8 'cflags!': [ |
| 9 '-Werror' |
| 10 ], |
8 'target_name': '{{.Hash}}', | 11 'target_name': '{{.Hash}}', |
9 'type': 'executable', | 12 'type': 'executable', |
10 'dependencies': [ | 13 'dependencies': [ |
11 '../skia/gyp/skia_lib.gyp:skia_lib', | 14 '../skia/gyp/skia_lib.gyp:skia_lib', |
12 '../skia/gyp/flags.gyp:flags' | 15 '../skia/gyp/flags.gyp:flags' |
13 ], | 16 ], |
14 'include_dirs': [ | 17 'include_dirs': [ |
15 '../skia/include/config', | 18 '../skia/include/config', |
16 '../skia/include/core', | 19 '../skia/include/core', |
17 '../skia/tools/flags', | 20 '../skia/tools/flags', |
18 '../skia/src/core', | 21 '../skia/src/core', |
19 ], | 22 ], |
20 'conditions': [ | 23 'conditions': [ |
21 ['skia_os == "mac"', { | 24 ['skia_os == "mac"', { |
22 'defines': ['SK_UNSAFE_BUILD_DESKTOP_ONLY=1'] | 25 'defines': ['SK_UNSAFE_BUILD_DESKTOP_ONLY=1'] |
23 }] | 26 }] |
24 ], | 27 ], |
25 'sources': [ | 28 'sources': [ |
26 'src/{{.Hash}}.cpp', | 29 'src/{{.Hash}}.cpp', |
27 '../skia/experimental/webtry/main.cpp' | 30 '../skia/experimental/webtry/main.cpp' |
28 ], | 31 ], |
29 'ldflags': [ | |
30 '-lskia', '-stdlib=libc++', '-std=c++11' | |
31 ], | |
32 'cflags': [ | |
33 '-Werror', '-W', '-Wall', '-Wextra', '-Wno-unused-parameter', '-g', '-O0
' | |
34 ] | |
35 } | 32 } |
36 ] | 33 ] |
37 } | 34 } |
OLD | NEW |