Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: third_party/libsdl/linux/sdl_linux.gypi

Issue 1411033003: Initial gyp files for SDL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libsdl/linux/SDL_config.h ('k') | third_party/libsdl/sdl.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libsdl/linux/sdl_linux.gypi
diff --git a/third_party/libsdl/linux/sdl_linux.gypi b/third_party/libsdl/linux/sdl_linux.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..1c17023775054000458bc7924d0419575c23f9b2
--- /dev/null
+++ b/third_party/libsdl/linux/sdl_linux.gypi
@@ -0,0 +1,59 @@
+# Copyright 2015 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# Linux specific files and settings for SDL
+
+{
+ #TODO what is really necessary here
+ 'link_settings': {
+ 'libraries': [
+ '-lm',
+ '-ldl',
+ '-lpthread',
+ '-lrt'
+ ],
+ },
+ 'include_dirs': [
+ # TODO we currently disable dbus, is this okay?
+ #'/usr/include/dbus-1.0',
+ #'/usr/lib/x86_64-linux-gnu/dbus-1.0/include',
+ ],
+ 'sources': [
+ '<(src_dir)/src/video/x11/SDL_x11clipboard.c',
+ '<(src_dir)/src/video/x11/SDL_x11dyn.c',
+ '<(src_dir)/src/video/x11/SDL_x11events.c',
+ '<(src_dir)/src/video/x11/SDL_x11framebuffer.c',
+ '<(src_dir)/src/video/x11/SDL_x11keyboard.c',
+ '<(src_dir)/src/video/x11/SDL_x11messagebox.c',
+ '<(src_dir)/src/video/x11/SDL_x11modes.c',
+ '<(src_dir)/src/video/x11/SDL_x11mouse.c',
+ '<(src_dir)/src/video/x11/SDL_x11opengl.c',
+ '<(src_dir)/src/video/x11/SDL_x11opengles.c',
+ '<(src_dir)/src/video/x11/SDL_x11shape.c',
+ '<(src_dir)/src/video/x11/SDL_x11touch.c',
+ '<(src_dir)/src/video/x11/SDL_x11video.c',
+ '<(src_dir)/src/video/x11/SDL_x11window.c',
+ '<(src_dir)/src/video/x11/SDL_x11xinput2.c',
+ '<(src_dir)/src/video/x11/edid-parse.c',
+ '<(src_dir)/src/video/x11/imKStoUCS.c',
+ '<(src_dir)/src/thread/pthread/SDL_systhread.c',
+ '<(src_dir)/src/thread/pthread/SDL_syssem.c',
+ '<(src_dir)/src/thread/pthread/SDL_sysmutex.c',
+ '<(src_dir)/src/thread/pthread/SDL_syscond.c',
+ '<(src_dir)/src/thread/pthread/SDL_systls.c',
+ '<(src_dir)/src/joystick/linux/SDL_sysjoystick.c',
+ '<(src_dir)/src/haptic/linux/SDL_syshaptic.c',
+ '<(src_dir)/src/power/linux/SDL_syspower.c',
+ '<(src_dir)/src/filesystem/unix/SDL_sysfilesystem.c',
+ '<(src_dir)/src/timer/unix/SDL_systimer.c',
+ '<(src_dir)/src/core/linux/SDL_udev.c',
+ '<(src_dir)/src/core/linux/SDL_evdev.c',
+ '<(src_dir)/src/loadso/dlopen/SDL_sysloadso.c',
+ ],
+ 'defines': [
+ '__LINUX__',
+ '_REENTRANT'
+ ],
+ 'cflags': [ '-fPIC' ],
+}
« no previous file with comments | « third_party/libsdl/linux/SDL_config.h ('k') | third_party/libsdl/sdl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698