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:*', |
edisonn@google.com | dc1d727 | 2013-06-10 21:10:50 +0000 | [diff] [blame] | 28 | # 'pdfviewer.gyp:pdfviewer', |
commit-bot@chromium.org | 787227d | 2014-03-26 21:26:15 +0000 | [diff] [blame] | 29 | 'dm.gyp:dm', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 30 | ], |
| 31 | 'conditions': [ |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 32 | [ 'skia_gpu == 0 or skia_os == "android"', { |
| 33 | 'dependencies!': [ |
| 34 | 'example.gyp:HelloWorld', |
| 35 | ], |
| 36 | }], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 37 | ['skia_os == "android"', { |
djsollen@google.com | cc95b1a | 2013-08-12 12:30:04 +0000 | [diff] [blame] | 38 | 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 39 | }], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 40 | ['skia_os == "ios"', { |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 41 | 'dependencies!': [ |
| 42 | 'example.gyp:HelloWorld', |
| 43 | 'SampleApp.gyp:SampleApp', |
| 44 | ], |
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 45 | 'dependencies': ['iOSShell.gyp:iOSShell' ], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 46 | }], |
mtklein | d6043b2 | 2014-06-16 20:21:06 -0700 | [diff] [blame] | 47 | ['skia_os == "mac" or skia_os == "linux"', { |
| 48 | 'dependencies': [ 'nanomsg.gyp:*' ], |
| 49 | }], |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 50 | [ 'skia_skip_gui', |
| 51 | { |
| 52 | 'dependencies!': [ |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 53 | 'example.gyp:HelloWorld', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 54 | 'SampleApp.gyp:SampleApp', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 55 | ] |
| 56 | } |
| 57 | ] |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 58 | ], |
| 59 | }, |
| 60 | ], |
| 61 | } |