blob: cece58101bd23a9cbe89d3f46cb5d3b1a3c2ba44 [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',
mtklein65e58242016-01-13 12:57:57 -080029 'fuzz.gyp:fuzz',
ethannicholasb3058bd2016-07-01 08:22:01 -070030 'skslc.gyp:skslc',
epoger@google.com9c875d32012-10-18 16:10:56 +000031 ],
32 'conditions': [
mtklein65e58242016-01-13 12:57:57 -080033 [ 'skia_gpu == 0', {
34 'dependencies!': [
jvanverth34524262016-05-04 13:49:13 -070035 'viewer.gyp:viewer',
mtklein65e58242016-01-13 12:57:57 -080036 ]
joshualitt030dc842015-06-12 12:51:44 -070037 }],
caryclark52edc4d2015-02-02 12:55:14 -080038 [ 'skia_gpu == 0 or skia_os == "android"', {
39 'dependencies!': [
40 'example.gyp:HelloWorld',
41 ],
42 }],
rmistry7bde5652016-06-24 05:24:16 -070043 ['skia_os == "android" and skia_vulkan == 1', {
mtklein65e58242016-01-13 12:57:57 -080044 'dependencies': [
borenetd2c7ef92016-05-16 10:38:51 -070045 'android_system.gyp:Viewer_APK',
joshualitt030dc842015-06-12 12:51:44 -070046 ],
epoger@google.com9c875d32012-10-18 16:10:56 +000047 }],
liyuqian97a09182016-07-06 07:52:08 -070048 ['skia_os == "android"', {
49 'dependencies!': [
50 'SampleApp.gyp:SampleApp',
51 ],
52 }],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000053 ['skia_os == "ios"', {
caryclark52edc4d2015-02-02 12:55:14 -080054 'dependencies!': [
55 'example.gyp:HelloWorld',
56 'SampleApp.gyp:SampleApp',
57 ],
caryclark936b7342014-07-11 12:14:51 -070058 'dependencies': ['iOSShell.gyp:iOSShell' ],
commit-bot@chromium.orgae0054e2014-04-05 01:13:43 +000059 }],
brianosman82996b82016-04-20 10:52:54 -070060 ['skia_os in ["linux", "mac", "win"]', {
61 'dependencies': [
joshualitt5ec91322016-03-09 15:07:01 -080062 'skiaserve.gyp:skiaserve',
63 ],
mtkleind6043b22014-06-16 20:21:06 -070064 }],
jvanvertha3f3cac2016-07-19 14:17:20 -070065 [ 'skia_os in ["win", "linux", "android", "mac"]', {
jvanverth063ece72016-06-17 09:29:14 -070066 'dependencies': [
jvanverth34524262016-05-04 13:49:13 -070067 'viewer.gyp:viewer',
jvanverth9f372462016-04-06 06:08:59 -070068 ],
69 }],
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000070 [ 'skia_skip_gui',
71 {
72 'dependencies!': [
caryclark52edc4d2015-02-02 12:55:14 -080073 'example.gyp:HelloWorld',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000074 'SampleApp.gyp:SampleApp',
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +000075 ]
76 }
joshualitt7f6a1e02016-01-22 11:21:43 -080077 ],
epoger@google.com9c875d32012-10-18 16:10:56 +000078 ],
79 },
80 ],
81}