Chromium Code Reviews| 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
|
| + ] |
| + }], |
| + ], |
| + }, |
| + ], |
| +} |