blob: c5479015cd0c9b45cf749db249445918e0dde2a9 [file] [log] [blame]
epoger@google.com9c875d32012-10-18 16:10:56 +00001# Build ALMOST everything provided by Skia; this should be the default target.
2#
3# This omits the following targets that many developers won't want to build:
4# - debugger: this requires QT to build
5#
6{
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +00007 'variables': {
8 'skia_skip_gui%': 0,
9 },
epoger@google.com9c875d32012-10-18 16:10:56 +000010 'targets': [
11 {
12 'target_name': 'most',
13 'type': 'none',
14 'dependencies': [
15 # The minimal set of static libraries for basic Skia functionality.
djsollen@google.com52f02972013-06-03 12:10:19 +000016 'skia_lib.gyp:skia_lib',
epoger@google.com9c875d32012-10-18 16:10:56 +000017
mtkleinf3723212014-06-25 14:08:00 -070018 'bench.gyp:*',
caryclark52edc4d2015-02-02 12:55:14 -080019 'example.gyp:HelloWorld',
epoger@google.com9c875d32012-10-18 16:10:56 +000020 'SampleApp.gyp:SampleApp',
epoger@google.com9c875d32012-10-18 16:10:56 +000021 'tools.gyp:tools',
caryclark@google.comdb60de72013-04-11 12:33:23 +000022 'pathops_unittest.gyp:*',
caryclark19eb3b22014-07-18 05:08:14 -070023 'pathops_skpclip.gyp:*',
edisonn@google.comdc1d7272013-06-10 21:10:50 +000024# 'pdfviewer.gyp:pdfviewer',
commit-bot@chromium.org787227d2014-03-26 21:26:15 +000025 'dm.gyp:dm',
epoger@google.com9c875d32012-10-18 16:10:56 +000026 ],
27 'conditions': [
caryclark52edc4d2015-02-02 12:55:14 -080028 [ 'skia_gpu == 0 or skia_os == "android"', {
29 'dependencies!': [
30 'example.gyp:HelloWorld',
31 ],
32 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000033 ['skia_os == "android"', {
djsollen@google.comcc95b1a2013-08-12 12:30:04 +000034 'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
epoger@google.com9c875d32012-10-18 16:10:56 +000035 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000036 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080037 'dependencies!': [
38 'example.gyp:HelloWorld',
39 'SampleApp.gyp:SampleApp',
40 ],
caryclark936b7342014-07-11 12:14:51 -070041 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000042 }],
mtkleind6043b22014-06-16 20:21:06 -070043 ['skia_os == "mac" or skia_os == "linux"', {
44 'dependencies': [ 'nanomsg.gyp:*' ],
45 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000046 [ 'skia_skip_gui',
47 {
48 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080049 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000050 'SampleApp.gyp:SampleApp',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000051 ]
52 }
53 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000054 ],
55 },
56 ],
57}