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

Unified Diff: third_party/libsdl/sdl.gypi

Issue 1411033003: Initial gyp files for SDL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
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..65870fb7ec244842d54c66ce4857ac8a2ccb6d75
--- /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)',
mtklein 2015/10/28 21:12:15 Is this the same deal? Why can't we just write ou
joshualitt 2015/10/29 13:51:39 see below.
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(src_dir)/include',
+ ]
+ },
+ 'cflags': [
+ '-g',
+ '-Wall'
mtklein 2015/10/28 21:12:15 Do we really care about warnings in SDL? I'd sugg
joshualitt 2015/10/29 13:51:39 Acknowledged.
+ ],
+ 'conditions': [
+ ['skia_os == "linux"', {
+ 'includes': [
+ 'linux/sdl_linux.gypi',
mtklein 2015/10/28 21:12:15 Is this just a factoring preference, or is somethi
joshualitt 2015/10/29 13:51:39 I prefer smaller gyps which show the core logic, a
+ ]
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698