blob: 6b5df3f97bf1f1f8e8e4a6221ab674d6090aaa3e [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',
joshualitt65d6fbb2015-11-04 13:41:02 -080011 'type': 'static_library',
joshualittcc92b4a2015-10-29 07:09:53 -070012 'include_dirs': [
13 '<(base_dir)/<(skia_os)',
14 '<(src_dir)/include',
15 ],
joshualittcc92b4a2015-10-29 07:09:53 -070016 'direct_dependent_settings': {
17 'include_dirs': [
18 '<(src_dir)/include',
joshualitt474a9ea2015-11-05 11:49:35 -080019 '<(src_dir)/src',
joshualittcc92b4a2015-10-29 07:09:53 -070020 ]
21 },
22 'cflags': [
23 '-g',
24 '-w',
25 ],
26 'conditions': [
27 ['skia_os == "linux"', {
28 'includes': [
29 'linux/sdl_linux.gypi',
30 ]
31 }],
joshualitt474a9ea2015-11-05 11:49:35 -080032 ['skia_os == "android"', {
33 'includes': [
34 'android/sdl_android.gypi',
35 ]
36 }],
joshualitt47fdae92015-11-09 12:30:05 -080037 ['skia_os == "mac"', {
38 'includes': [
39 'mac/sdl_mac.gypi',
40 ]
41 }],
joshualittcc92b4a2015-10-29 07:09:53 -070042 ],
43 },
44 ],
45}