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', |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 30 | 'fuzz.gyp:fuzz', |
joshualitt | 99f3406 | 2016-01-14 11:05:22 -0800 | [diff] [blame] | 31 | 'kilobench.gyp:kilobench', |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 32 | ], |
| 33 | 'conditions': [ |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 34 | [ 'skia_gpu == 0', { |
| 35 | 'dependencies!': [ |
joshualitt | 99f3406 | 2016-01-14 11:05:22 -0800 | [diff] [blame] | 36 | 'visualbench.gyp:visualbench', |
| 37 | 'kilobench.gyp:kilobench', |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 38 | ] |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 39 | }], |
joshualitt | 98eb3d3 | 2016-01-15 12:07:39 -0800 | [diff] [blame] | 40 | [ 'skia_os != "android" and skia_os != "linux"', { |
| 41 | 'dependencies!': [ |
| 42 | 'kilobench.gyp:kilobench', |
| 43 | ], |
| 44 | }], |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 45 | [ 'skia_gpu == 0 or skia_os == "android"', { |
| 46 | 'dependencies!': [ |
| 47 | 'example.gyp:HelloWorld', |
| 48 | ], |
| 49 | }], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 50 | ['skia_os == "android"', { |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 51 | 'dependencies': [ |
| 52 | 'android_system.gyp:SampleApp_APK', |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 53 | ], |
| 54 | 'conditions': [ |
| 55 | [ 'skia_gpu == 1', { |
| 56 | 'dependencies': [ |
mtklein | 65e5824 | 2016-01-13 12:57:57 -0800 | [diff] [blame] | 57 | 'android_system.gyp:VisualBench_APK', |
joshualitt | 030dc84 | 2015-06-12 12:51:44 -0700 | [diff] [blame] | 58 | ], |
| 59 | }], |
| 60 | ], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 61 | }], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 62 | ['skia_os == "ios"', { |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 63 | 'dependencies!': [ |
| 64 | 'example.gyp:HelloWorld', |
| 65 | 'SampleApp.gyp:SampleApp', |
joshualitt | da7b843 | 2015-05-27 09:19:03 -0700 | [diff] [blame] | 66 | 'visualbench.gyp:visualbench', |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 67 | ], |
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 68 | 'dependencies': ['iOSShell.gyp:iOSShell' ], |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 69 | }], |
mtklein | d6043b2 | 2014-06-16 20:21:06 -0700 | [diff] [blame] | 70 | ['skia_os == "mac" or skia_os == "linux"', { |
| 71 | 'dependencies': [ 'nanomsg.gyp:*' ], |
| 72 | }], |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 73 | [ 'skia_skip_gui', |
| 74 | { |
| 75 | 'dependencies!': [ |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 76 | 'example.gyp:HelloWorld', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 77 | 'SampleApp.gyp:SampleApp', |
joshualitt | da7b843 | 2015-05-27 09:19:03 -0700 | [diff] [blame] | 78 | 'visualbench.gyp:visualbench', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 79 | ] |
| 80 | } |
joshualitt | 7f6a1e0 | 2016-01-22 11:21:43 -0800 | [diff] [blame] | 81 | ], |
| 82 | [ 'skia_build_server', { |
| 83 | 'dependencies': [ |
| 84 | 'skiaserve.gyp:skiaserve', |
ethannicholas | 978d08a | 2016-01-26 07:47:57 -0800 | [diff] [blame] | 85 | 'json.gyp:json', |
joshualitt | 7f6a1e0 | 2016-01-22 11:21:43 -0800 | [diff] [blame] | 86 | ], |
| 87 | }], |
epoger@google.com | 9c875d3 | 2012-10-18 16:10:56 +0000 | [diff] [blame] | 88 | ], |
| 89 | }, |
| 90 | ], |
| 91 | } |