blob: f289aeaa0f3526194b0215e40b1cfa38cc880eae [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',
epoger@google.com9c875d32012-10-18 16:10:56 +000030 ],
31 'conditions': [
joshualitt030dc842015-06-12 12:51:44 -070032 [ 'skia_gpu == 0', {
33 'dependencies!': [
34 'visualbench.gyp:visualbench'
35 ]
36 }],
caryclark52edc4d2015-02-02 12:55:14 -080037 [ 'skia_gpu == 0 or skia_os == "android"', {
38 'dependencies!': [
39 'example.gyp:HelloWorld',
40 ],
41 }],
epoger@google.com9c875d32012-10-18 16:10:56 +000042 ['skia_os == "android"', {
joshualitt030dc842015-06-12 12:51:44 -070043 'dependencies': [
44 'android_system.gyp:SampleApp_APK',
45 ],
46 'conditions': [
47 [ 'skia_gpu == 1', {
48 'dependencies': [
49 'android_system.gyp:VisualBench_APK',
50 ],
51 }],
52 ],
epoger@google.com9c875d32012-10-18 16:10:56 +000053 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000054 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080055 'dependencies!': [
56 'example.gyp:HelloWorld',
57 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070058 'visualbench.gyp:visualbench',
caryclark52edc4d2015-02-02 12:55:14 -080059 ],
caryclark936b7342014-07-11 12:14:51 -070060 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000061 }],
mtkleind6043b22014-06-16 20:21:06 -070062 ['skia_os == "mac" or skia_os == "linux"', {
63 'dependencies': [ 'nanomsg.gyp:*' ],
64 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000065 [ 'skia_skip_gui',
66 {
67 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080068 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000069 'SampleApp.gyp:SampleApp',
joshualittda7b8432015-05-27 09:19:03 -070070 'visualbench.gyp:visualbench',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000071 ]
72 }
73 ]
epoger@google.com9c875d32012-10-18 16:10:56 +000074 ],
75 },
76 ],
77}