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 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'sdl', | 9 'target_name': 'sdl', |
10 'product_name': 'sdl', | 10 'product_name': 'sdl', |
11 'type': 'shared_library', | 11 'type': 'static_library', |
12 'include_dirs': [ | 12 'include_dirs': [ |
13 '<(base_dir)/<(skia_os)', | 13 '<(base_dir)/<(skia_os)', |
14 '<(src_dir)/include', | 14 '<(src_dir)/include', |
15 ], | 15 ], |
16 'includes': [ | |
17 'sdl_sources.gypi', | |
18 ], | |
19 'sources': [ | |
20 '<@(sdl_sources)', | |
21 ], | |
22 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
23 'include_dirs': [ | 17 'include_dirs': [ |
24 '<(src_dir)/include', | 18 '<(src_dir)/include', |
25 ] | 19 ] |
26 }, | 20 }, |
27 'cflags': [ | 21 'cflags': [ |
28 '-g', | 22 '-g', |
29 '-w', | 23 '-w', |
30 ], | 24 ], |
31 'conditions': [ | 25 'conditions': [ |
32 ['skia_os == "linux"', { | 26 ['skia_os == "linux"', { |
33 'includes': [ | 27 'includes': [ |
34 'linux/sdl_linux.gypi', | 28 'linux/sdl_linux.gypi', |
35 ] | 29 ] |
36 }], | 30 }], |
37 ], | 31 ], |
38 }, | 32 }, |
39 ], | 33 ], |
40 } | 34 } |
OLD | NEW |