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