Index: third_party/libsdl/sdl.gypi |
diff --git a/third_party/libsdl/sdl.gypi b/third_party/libsdl/sdl.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..31d8834fc41fe3cf3d730208d747813a7a60c1e3 |
--- /dev/null |
+++ b/third_party/libsdl/sdl.gypi |
@@ -0,0 +1,40 @@ |
+# 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': 'shared_library', |
+ 'include_dirs': [ |
+ '<(base_dir)/<(skia_os)', |
+ '<(src_dir)/include', |
+ ], |
+ 'includes': [ |
+ 'sdl_sources.gypi', |
+ ], |
+ 'sources': [ |
+ '<@(sdl_sources)', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ '<(src_dir)/include', |
+ ] |
+ }, |
+ 'cflags': [ |
+ '-g', |
+ '-w', |
+ ], |
+ 'conditions': [ |
+ ['skia_os == "linux"', { |
+ 'includes': [ |
+ 'linux/sdl_linux.gypi', |
+ ] |
+ }], |
+ ], |
+ }, |
+ ], |
+} |