joshualitt | cc92b4a | 2015-10-29 07:09:53 -0700 | [diff] [blame^] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | { |
| 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'sdl', |
| 10 | 'product_name': 'sdl', |
| 11 | 'type': 'shared_library', |
| 12 | 'include_dirs': [ |
| 13 | '<(base_dir)/<(skia_os)', |
| 14 | '<(src_dir)/include', |
| 15 | ], |
| 16 | 'includes': [ |
| 17 | 'sdl_sources.gypi', |
| 18 | ], |
| 19 | 'sources': [ |
| 20 | '<@(sdl_sources)', |
| 21 | ], |
| 22 | 'direct_dependent_settings': { |
| 23 | 'include_dirs': [ |
| 24 | '<(src_dir)/include', |
| 25 | ] |
| 26 | }, |
| 27 | 'cflags': [ |
| 28 | '-g', |
| 29 | '-w', |
| 30 | ], |
| 31 | 'conditions': [ |
| 32 | ['skia_os == "linux"', { |
| 33 | 'includes': [ |
| 34 | 'linux/sdl_linux.gypi', |
| 35 | ] |
| 36 | }], |
| 37 | ], |
| 38 | }, |
| 39 | ], |
| 40 | } |