blob: 559ce7538b77304fc405adfd0f5aa97d8b68ed93 [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': [
18 'gyp/bench.gyp:bench',
19 'gyp/gm.gyp:gm',
20 'gyp/SampleApp.gyp:SampleApp',
21 'gyp/tests.gyp:tests',
22 'gyp/tools.gyp:tools',
23 ],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000024 'conditions': [
borenet@google.com7ef39292012-07-18 14:59:54 +000025 ['skia_os == "android" and android_make_apk == 1', {
borenet@google.comdd3d08e2012-06-27 19:04:39 +000026 'dependencies': [
27 'gyp/android_system.gyp:SkiaAndroidApp',
28 ],
29 }],
fmalita@google.combacfcfb2012-09-27 13:34:34 +000030
31 # The debugger is not supported for iOS, Android and 32-bit Mac builds.
32 ['skia_os != "ios" and skia_os != "android" and (skia_os != "mac" or skia_arch_width == 64)', {
33 'dependencies': [ 'gyp/debugger.gyp:debugger' ],
34 }],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000035 ],
epoger@google.com1e8e0562011-06-07 14:48:41 +000036 },
epoger@google.com1e8e0562011-06-07 14:48:41 +000037 ],
38}
39
40# Local Variables:
41# tab-width:2
42# indent-tabs-mode:nil
43# End:
44# vim: set expandtab tabstop=2 shiftwidth=2: