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': 'static_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 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '<(src_dir)/include', | 18 '<(src_dir)/include', |
| 19 '<(src_dir)/src', |
19 ] | 20 ] |
20 }, | 21 }, |
21 'cflags': [ | 22 'cflags': [ |
22 '-g', | 23 '-g', |
23 '-w', | 24 '-w', |
24 ], | 25 ], |
25 'conditions': [ | 26 'conditions': [ |
26 ['skia_os == "linux"', { | 27 ['skia_os == "linux"', { |
27 'includes': [ | 28 'includes': [ |
28 'linux/sdl_linux.gypi', | 29 'linux/sdl_linux.gypi', |
29 ] | 30 ] |
30 }], | 31 }], |
| 32 ['skia_os == "android"', { |
| 33 'includes': [ |
| 34 'android/sdl_android.gypi', |
| 35 ] |
| 36 }], |
31 ], | 37 ], |
32 }, | 38 }, |
33 ], | 39 ], |
34 } | 40 } |
OLD | NEW |