scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # 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.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 5 | # 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.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 11 | 'variables': { |
| 12 | 'skia_skip_gui%': 0, |
| 13 | }, |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 14 | 'targets': [ |
| 15 | { |
| 16 | 'target_name': 'most', |
| 17 | 'type': 'none', |
| 18 | 'dependencies': [ |
| 19 | # The minimal set of static libraries for basic Skia functionality. |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 20 | 'skia_lib.gyp:skia_lib', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 21 | |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 22 | 'bench.gyp:*', |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 23 | 'example.gyp:HelloWorld', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 24 | 'SampleApp.gyp:SampleApp', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 25 | 'tools.gyp:tools', |
caryclark@google.com | db60de7 | 2013-04-11 12:33:23 +0000 | [diff] [blame] | 26 | 'pathops_unittest.gyp:*', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 27 | 'pathops_skpclip.gyp:*', |
commit-bot@chromium.org | 787227d | 2014-03-26 21:26:15 +0000 | [diff] [blame] | 28 | 'dm.gyp:dm', |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 29 | 'fuzz.gyp:fuzz', |
ethannicholas | b3058bd | 2016-07-01 08:22:01 -0700 | [diff] [blame] | 30 | 'skslc.gyp:skslc', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 31 | ], |
| 32 | 'conditions': [ |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 33 | [ 'skia_gpu == 0', { |
| 34 | 'dependencies!': [ |
jvanverth | 3452426 | 2016-05-04 13:49:13 -0700 | [diff] [blame] | 35 | 'viewer.gyp:viewer', |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 36 | ] |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 37 | }], |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 38 | [ 'skia_gpu == 0 or skia_os == "android"', { |
| 39 | 'dependencies!': [ |
| 40 | 'example.gyp:HelloWorld', |
| 41 | ], |
| 42 | }], |
rmistry | 7bde565 | 2016-06-24 05:24:16 -0700 | [diff] [blame] | 43 | ['skia_os == "android" and skia_vulkan == 1', { |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 44 | 'dependencies': [ |
borenet | d2c7ef9 | 2016-05-16 10:38:51 -0700 | [diff] [blame] | 45 | 'android_system.gyp:Viewer_APK', |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 46 | ], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 47 | }], |
liyuqian | 97a0918 | 2016-07-06 07:52:08 -0700 | [diff] [blame] | 48 | ['skia_os == "android"', { |
| 49 | 'dependencies!': [ |
| 50 | 'SampleApp.gyp:SampleApp', |
| 51 | ], |
| 52 | }], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 53 | ['skia_os == "ios"', { |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 54 | 'dependencies!': [ |
| 55 | 'example.gyp:HelloWorld', |
| 56 | 'SampleApp.gyp:SampleApp', |
| 57 | ], |
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 58 | 'dependencies': ['iOSShell.gyp:iOSShell' ], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 59 | }], |
brianosman | 82996b8 | 2016-04-20 10:52:54 -0700 | [diff] [blame] | 60 | ['skia_os in ["linux", "mac", "win"]', { |
| 61 | 'dependencies': [ |
joshualitt | 5ec9132 | 2016-03-09 15:07:01 -0800 | [diff] [blame] | 62 | 'skiaserve.gyp:skiaserve', |
| 63 | ], |
mtklein | d6043b2 | 2014-06-16 20:21:06 -0700 | [diff] [blame] | 64 | }], |
jvanverth | a3f3cac | 2016-07-19 14:17:20 -0700 | [diff] [blame] | 65 | [ 'skia_os in ["win", "linux", "android", "mac"]', { |
jvanverth | 063ece7 | 2016-06-17 09:29:14 -0700 | [diff] [blame] | 66 | 'dependencies': [ |
jvanverth | 3452426 | 2016-05-04 13:49:13 -0700 | [diff] [blame] | 67 | 'viewer.gyp:viewer', |
jvanverth | 9f37246 | 2016-04-06 06:08:59 -0700 | [diff] [blame] | 68 | ], |
| 69 | }], |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 70 | [ 'skia_skip_gui', |
| 71 | { |
| 72 | 'dependencies!': [ |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 73 | 'example.gyp:HelloWorld', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 74 | 'SampleApp.gyp:SampleApp', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 75 | ] |
| 76 | } |
joshualitt | 7f6a1e0 | 2016-01-22 11:21:43 -0800 | [diff] [blame] | 77 | ], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 78 | ], |
| 79 | }, |
| 80 | ], |
| 81 | } |