blob: 31d8834fc41fe3cf3d730208d747813a7a60c1e3 [file] [log] [blame]
joshualittcc92b4a2015-10-29 07:09:53 -07001# 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}