blob: 27ce0f168908392fb03daf9e731b00acaab18e72 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
epoger@google.com9c875d32012-10-18 16:10:56 +00005# Build ALMOST everything provided by Skia; this should be the default target.
6#
7# This omits the following targets that many developers won't want to build:
8# - debugger: this requires QT to build
9#
10{
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000011 'variables': {
12 'skia_skip_gui%': 0,
13 },
epoger@google.com9c875d32012-10-18 16:10:56 +000014 'targets': [
15 {
16 'target_name': 'most',
17 'type': 'none',
18 'dependencies': [
19 # The minimal set of static libraries for basic Skia functionality.
djsollen@google.com52f02972013-06-03 12:10:19 +000020 'skia_lib.gyp:skia_lib',
epoger@google.com9c875d32012-10-18 16:10:56 +000021
mtkleinf3723212014-06-25 14:08:00 -070022 'bench.gyp:*',
caryclark52edc4d2015-02-02 12:55:14 -080023 'example.gyp:HelloWorld',
epoger@google.com9c875d32012-10-18 16:10:56 +000024 'SampleApp.gyp:SampleApp',
epoger@google.com9c875d32012-10-18 16:10:56 +000025 'tools.gyp:tools',
caryclark@google.comdb60de72013-04-11 12:33:23 +000026 'pathops_unittest.gyp:*',
caryclark19eb3b22014-07-18 05:08:14 -070027 'pathops_skpclip.gyp:*',
edisonn@google.comdc1d7272013-06-10 21:10:50 +000028# 'pdfviewer.gyp:pdfviewer',
commit-bot@chromium.org787227d2014-03-26 21:26:15 +000029 'dm.gyp:dm',
epoger@google.com9c875d32012-10-18 16:10:56 +000030 ],
31 'conditions': [
caryclark52edc4d2015-02-02 12:55:14 -080032 [ 'skia_gpu == 0 or skia_os == "android"', {
33 'dependencies!': [
34 'example.gyp:HelloWorld',
35 ],
36 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000037 ['skia_os == "android"', {
djsollen@google.comcc95b1a2013-08-12 12:30:04 +000038 'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
epoger@google.com9c875d32012-10-18 16:10:56 +000039 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000040 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080041 'dependencies!': [
42 'example.gyp:HelloWorld',
43 'SampleApp.gyp:SampleApp',
44 ],
caryclark936b7342014-07-11 12:14:51 -070045 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000046 }],
mtkleind6043b22014-06-16 20:21:06 -070047 ['skia_os == "mac" or skia_os == "linux"', {
48 'dependencies': [ 'nanomsg.gyp:*' ],
49 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000050 [ 'skia_skip_gui',
51 {
52 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080053 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000054 'SampleApp.gyp:SampleApp',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000055 ]
56 }
57 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000058 ],
59 },
60 ],
61}