blob: b94bda4e82eeb55e82124e8956b22a12c78913a8 [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 'SampleApp.gyp:SampleApp',
epoger@google.com9c875d32012-10-18 16:10:56 +000020 'tools.gyp:tools',
caryclark@google.comdb60de72013-04-11 12:33:23 +000021 'pathops_unittest.gyp:*',
caryclark19eb3b22014-07-18 05:08:14 -070022 'pathops_skpclip.gyp:*',
edisonn@google.comdc1d7272013-06-10 21:10:50 +000023# 'pdfviewer.gyp:pdfviewer',
commit-bot@chromium.org787227d2014-03-26 21:26:15 +000024 'dm.gyp:dm',
epoger@google.com9c875d32012-10-18 16:10:56 +000025 ],
26 'conditions': [
27 ['skia_os == "android"', {
djsollen@google.comcc95b1a2013-08-12 12:30:04 +000028 'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
epoger@google.com9c875d32012-10-18 16:10:56 +000029 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000030 ['skia_os == "ios"', {
jcgregorio3b27ade2014-11-13 08:06:40 -080031 'dependencies!': [ 'SampleApp.gyp:SampleApp' ],
caryclark936b7342014-07-11 12:14:51 -070032 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000033 }],
mtkleind6043b22014-06-16 20:21:06 -070034 ['skia_os == "mac" or skia_os == "linux"', {
35 'dependencies': [ 'nanomsg.gyp:*' ],
36 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000037 [ 'skia_skip_gui',
38 {
39 'dependencies!': [
40 'SampleApp.gyp:SampleApp',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000041 ]
42 }
43 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000044 ],
45 },
46 ],
47}