blob: 22be29b823f72fd29e090c875ef4fb809a26edef [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:*',
commit-bot@chromium.org787227d2014-03-26 21:26:15 +000028 'dm.gyp:dm',
joshualittda7b8432015-05-27 09:19:03 -070029 'visualbench.gyp:visualbench',
mtklein65e58242016-01-13 12:57:57 -080030 'fuzz.gyp:fuzz',
joshualitt99f34062016-01-14 11:05:22 -080031 'kilobench.gyp:kilobench',
epoger@google.com9c875d32012-10-18 16:10:56 +000032 ],
33 'conditions': [
mtklein65e58242016-01-13 12:57:57 -080034 [ 'skia_gpu == 0', {
35 'dependencies!': [
joshualitt99f34062016-01-14 11:05:22 -080036 'visualbench.gyp:visualbench',
37 'kilobench.gyp:kilobench',
mtklein65e58242016-01-13 12:57:57 -080038 ]
joshualitt030dc842015-06-12 12:51:44 -070039 }],
joshualitt98eb3d32016-01-15 12:07:39 -080040 [ 'skia_os != "android" and skia_os != "linux"', {
41 'dependencies!': [
42 'kilobench.gyp:kilobench',
43 ],
44 }],
caryclark52edc4d2015-02-02 12:55:14 -080045 [ 'skia_gpu == 0 or skia_os == "android"', {
46 'dependencies!': [
47 'example.gyp:HelloWorld',
48 ],
49 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000050 ['skia_os == "android"', {
mtklein65e58242016-01-13 12:57:57 -080051 'dependencies': [
52 'android_system.gyp:SampleApp_APK',
joshualitt030dc842015-06-12 12:51:44 -070053 ],
54 'conditions': [
55 [ 'skia_gpu == 1', {
56 'dependencies': [
mtklein65e58242016-01-13 12:57:57 -080057 'android_system.gyp:VisualBench_APK',
joshualitt030dc842015-06-12 12:51:44 -070058 ],
59 }],
60 ],
epoger@google.com9c875d32012-10-18 16:10:56 +000061 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000062 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080063 'dependencies!': [
64 'example.gyp:HelloWorld',
65 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070066 'visualbench.gyp:visualbench',
caryclark52edc4d2015-02-02 12:55:14 -080067 ],
caryclark936b7342014-07-11 12:14:51 -070068 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000069 }],
mtkleind6043b22014-06-16 20:21:06 -070070 ['skia_os == "mac" or skia_os == "linux"', {
71 'dependencies': [ 'nanomsg.gyp:*' ],
72 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000073 [ 'skia_skip_gui',
74 {
75 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080076 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000077 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070078 'visualbench.gyp:visualbench',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000079 ]
80 }
joshualitt7f6a1e02016-01-22 11:21:43 -080081 ],
82 [ 'skia_build_server', {
83 'dependencies': [
84 'skiaserve.gyp:skiaserve',
ethannicholas978d08a2016-01-26 07:47:57 -080085 'json.gyp:json',
joshualitt7f6a1e02016-01-22 11:21:43 -080086 ],
87 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000088 ],
89 },
90 ],
91}