Home | History | Annotate | Download | only in libsdl
      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': 'static_library',
     12       'include_dirs': [
     13         '<(base_dir)/<(skia_os)',
     14         '<(src_dir)/include',
     15       ],
     16       'direct_dependent_settings': {
     17         'include_dirs': [
     18           '<(src_dir)/include',
     19           '<(src_dir)/src',
     20         ]
     21       },
     22       'cflags': [
     23         '-g',
     24         '-w',
     25       ],
     26       'conditions': [
     27         ['skia_os == "linux"', {
     28           'includes': [
     29             'linux/sdl_linux.gypi',
     30           ]
     31         }],
     32         ['skia_os == "android"', {
     33           'includes': [
     34             'android/sdl_android.gypi',
     35           ]
     36         }],
     37         ['skia_os == "mac"', {
     38           'includes': [
     39             'mac/sdl_mac.gypi',
     40           ]
     41         }],
     42         ['skia_os == "win"', {
     43           'includes': [
     44             'win/sdl_win.gypi',
     45           ]
     46         }],
     47       ],
     48     },
     49   ],
     50 }
     51