blob: e22629ae745264536f6070f75722c4798e2e3ebc [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:*',
epoger@google.com9c875d32012-10-18 16:10:56 +000019 'gm.gyp:gm',
20 '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': [
28 ['skia_os == "android"', {
djsollen@google.comcc95b1a2013-08-12 12:30:04 +000029 'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
epoger@google.com9c875d32012-10-18 16:10:56 +000030 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000031 ['skia_os == "ios"', {
32 'dependencies!': [ 'SampleApp.gyp:SampleApp' ],
caryclark936b7342014-07-11 12:14:51 -070033 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000034 }],
mtkleind6043b22014-06-16 20:21:06 -070035 ['skia_os == "mac" or skia_os == "linux"', {
36 'dependencies': [ 'nanomsg.gyp:*' ],
37 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000038 [ 'skia_skip_gui',
39 {
40 'dependencies!': [
41 'SampleApp.gyp:SampleApp',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000042 ]
43 }
44 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000045 ],
46 },
47 ],
48}