aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libsdl/sdl.gypi
blob: 6b5df3f97bf1f1f8e8e4a6221ab674d6090aaa3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'sdl',
      'product_name': 'sdl',
      'type': 'static_library',
      'include_dirs': [
        '<(base_dir)/<(skia_os)',
        '<(src_dir)/include',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(src_dir)/include',
          '<(src_dir)/src',
        ]
      },
      'cflags': [
        '-g',
        '-w',
      ],
      'conditions': [
        ['skia_os == "linux"', {
          'includes': [
            'linux/sdl_linux.gypi',
          ]
        }],
        ['skia_os == "android"', {
          'includes': [
            'android/sdl_android.gypi',
          ]
        }],
        ['skia_os == "mac"', {
          'includes': [
            'mac/sdl_mac.gypi',
          ]
        }],
      ],
    },
  ],
}