blob: d615d3896a7163ed3931101934dd5a00ad3c8d54 [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',
joshualittda7b8432015-05-27 09:19:03 -070030 'visualbench.gyp:visualbench',
epoger@google.com9c875d32012-10-18 16:10:56 +000031 ],
32 'conditions': [
joshualitt030dc842015-06-12 12:51:44 -070033 [ 'skia_gpu == 0', {
34 'dependencies!': [
35 'visualbench.gyp:visualbench'
36 ]
37 }],
caryclark52edc4d2015-02-02 12:55:14 -080038 [ 'skia_gpu == 0 or skia_os == "android"', {
39 'dependencies!': [
40 'example.gyp:HelloWorld',
41 ],
42 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000043 ['skia_os == "android"', {
joshualitt030dc842015-06-12 12:51:44 -070044 'dependencies': [
45 'android_system.gyp:SampleApp_APK',
46 ],
47 'conditions': [
48 [ 'skia_gpu == 1', {
49 'dependencies': [
50 'android_system.gyp:VisualBench_APK',
51 ],
52 }],
53 ],
epoger@google.com9c875d32012-10-18 16:10:56 +000054 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000055 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080056 'dependencies!': [
57 'example.gyp:HelloWorld',
58 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070059 'visualbench.gyp:visualbench',
caryclark52edc4d2015-02-02 12:55:14 -080060 ],
caryclark936b7342014-07-11 12:14:51 -070061 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000062 }],
mtkleind6043b22014-06-16 20:21:06 -070063 ['skia_os == "mac" or skia_os == "linux"', {
64 'dependencies': [ 'nanomsg.gyp:*' ],
65 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000066 [ 'skia_skip_gui',
67 {
68 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080069 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000070 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070071 'visualbench.gyp:visualbench',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000072 ]
73 }
74 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000075 ],
76 },
77 ],
78}