blob: d41df7f17d4816a0aa3fe095cab7fb6d4e4aaaa5 [file] [log] [blame]
epoger@google.com1e8e0562011-06-07 14:48:41 +00001# Top-level gyp configuration for Skia.
2#
3# Projects that use Skia should depend on one or more of the targets
4# defined here.
5#
6# More targets are defined within the gyp/ directory, but those are
7# not intended for external use and may change without notice.
8#
9# Full documentation at http://code.google.com/p/skia/wiki/DocRoot
10#
11{
12 'targets': [
13 {
14 # Use this target to build everything provided by Skia.
15 'target_name': 'all',
16 'type': 'none',
17 'dependencies': [
borenet@google.comefb1d772012-10-10 19:45:51 +000018 # The minimal set of static libraries for basic Skia functionality.
19 'gyp/skia_base_libs.gyp:skia_base_libs',
20
epoger@google.com1e8e0562011-06-07 14:48:41 +000021 'gyp/bench.gyp:bench',
22 'gyp/gm.gyp:gm',
23 'gyp/SampleApp.gyp:SampleApp',
24 'gyp/tests.gyp:tests',
25 'gyp/tools.gyp:tools',
26 ],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000027 'conditions': [
djsollen@google.com2d6535a2012-10-12 19:44:35 +000028 ['skia_os == "android"', {
borenet@google.comdd3d08e2012-06-27 19:04:39 +000029 'dependencies': [
30 'gyp/android_system.gyp:SkiaAndroidApp',
31 ],
32 }],
fmalita@google.combacfcfb2012-09-27 13:34:34 +000033
34 # The debugger is not supported for iOS, Android and 32-bit Mac builds.
35 ['skia_os != "ios" and skia_os != "android" and (skia_os != "mac" or skia_arch_width == 64)', {
36 'dependencies': [ 'gyp/debugger.gyp:debugger' ],
37 }],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000038 ],
epoger@google.com1e8e0562011-06-07 14:48:41 +000039 },
epoger@google.com1e8e0562011-06-07 14:48:41 +000040 ],
41}
42
43# Local Variables:
44# tab-width:2
45# indent-tabs-mode:nil
46# End:
47# vim: set expandtab tabstop=2 shiftwidth=2: