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', |
joshualitt | da7b843 | 2015-05-27 09:19:03 -0700 | [diff] [blame] | 30 | 'visualbench.gyp:visualbench', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 31 | ], |
| 32 | 'conditions': [ |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 33 | [ 'skia_gpu == 0', { |
| 34 | 'dependencies!': [ |
| 35 | 'visualbench.gyp:visualbench' |
| 36 | ] |
| 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 | }], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 43 | ['skia_os == "android"', { |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 44 | 'dependencies': [ |
| 45 | 'android_system.gyp:SampleApp_APK', |
| 46 | ], |
| 47 | 'conditions': [ |
| 48 | [ 'skia_gpu == 1', { |
| 49 | 'dependencies': [ |
| 50 | 'android_system.gyp:VisualBench_APK', |
| 51 | ], |
| 52 | }], |
| 53 | ], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 54 | }], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 55 | ['skia_os == "ios"', { |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 56 | 'dependencies!': [ |
| 57 | 'example.gyp:HelloWorld', |
| 58 | 'SampleApp.gyp:SampleApp', |
joshualitt | da7b843 | 2015-05-27 09:19:03 -0700 | [diff] [blame] | 59 | 'visualbench.gyp:visualbench', |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 60 | ], |
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 61 | 'dependencies': ['iOSShell.gyp:iOSShell' ], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 62 | }], |
mtklein | d6043b2 | 2014-06-16 20:21:06 -0700 | [diff] [blame] | 63 | ['skia_os == "mac" or skia_os == "linux"', { |
| 64 | 'dependencies': [ 'nanomsg.gyp:*' ], |
| 65 | }], |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 66 | [ 'skia_skip_gui', |
| 67 | { |
| 68 | 'dependencies!': [ |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 69 | 'example.gyp:HelloWorld', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 70 | 'SampleApp.gyp:SampleApp', |
joshualitt | da7b843 | 2015-05-27 09:19:03 -0700 | [diff] [blame] | 71 | 'visualbench.gyp:visualbench', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 72 | ] |
| 73 | } |
| 74 | ] |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 75 | ], |
| 76 | }, |
| 77 | ], |
| 78 | } |