OLD | NEW |
(Empty) | |
| 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 # Linux specific files and settings for SDL |
| 6 |
| 7 { |
| 8 #TODO what is really necessary here |
| 9 'link_settings': { |
| 10 'libraries': [ |
| 11 '-lm', |
| 12 '-ldl', |
| 13 '-lpthread', |
| 14 '-lrt' |
| 15 ], |
| 16 }, |
| 17 'include_dirs': [ |
| 18 # TODO we currently disable dbus, is this okay? |
| 19 #'/usr/include/dbus-1.0', |
| 20 #'/usr/lib/x86_64-linux-gnu/dbus-1.0/include', |
| 21 ], |
| 22 'sources': [ |
| 23 '<(src_dir)/src/video/x11/SDL_x11clipboard.c', |
| 24 '<(src_dir)/src/video/x11/SDL_x11dyn.c', |
| 25 '<(src_dir)/src/video/x11/SDL_x11events.c', |
| 26 '<(src_dir)/src/video/x11/SDL_x11framebuffer.c', |
| 27 '<(src_dir)/src/video/x11/SDL_x11keyboard.c', |
| 28 '<(src_dir)/src/video/x11/SDL_x11messagebox.c', |
| 29 '<(src_dir)/src/video/x11/SDL_x11modes.c', |
| 30 '<(src_dir)/src/video/x11/SDL_x11mouse.c', |
| 31 '<(src_dir)/src/video/x11/SDL_x11opengl.c', |
| 32 '<(src_dir)/src/video/x11/SDL_x11opengles.c', |
| 33 '<(src_dir)/src/video/x11/SDL_x11shape.c', |
| 34 '<(src_dir)/src/video/x11/SDL_x11touch.c', |
| 35 '<(src_dir)/src/video/x11/SDL_x11video.c', |
| 36 '<(src_dir)/src/video/x11/SDL_x11window.c', |
| 37 '<(src_dir)/src/video/x11/SDL_x11xinput2.c', |
| 38 '<(src_dir)/src/video/x11/edid-parse.c', |
| 39 '<(src_dir)/src/video/x11/imKStoUCS.c', |
| 40 '<(src_dir)/src/thread/pthread/SDL_systhread.c', |
| 41 '<(src_dir)/src/thread/pthread/SDL_syssem.c', |
| 42 '<(src_dir)/src/thread/pthread/SDL_sysmutex.c', |
| 43 '<(src_dir)/src/thread/pthread/SDL_syscond.c', |
| 44 '<(src_dir)/src/thread/pthread/SDL_systls.c', |
| 45 '<(src_dir)/src/joystick/linux/SDL_sysjoystick.c', |
| 46 '<(src_dir)/src/haptic/linux/SDL_syshaptic.c', |
| 47 '<(src_dir)/src/power/linux/SDL_syspower.c', |
| 48 '<(src_dir)/src/filesystem/unix/SDL_sysfilesystem.c', |
| 49 '<(src_dir)/src/timer/unix/SDL_systimer.c', |
| 50 '<(src_dir)/src/core/linux/SDL_udev.c', |
| 51 '<(src_dir)/src/core/linux/SDL_evdev.c', |
| 52 '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c', |
| 53 ], |
| 54 'defines': [ |
| 55 '__LINUX__', |
| 56 '_REENTRANT' |
| 57 ], |
| 58 'cflags': [ '-fPIC' ], |
| 59 } |
OLD | NEW |