| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
| 2 | 'includes': [ |
| 3 | 'target_defaults.gypi', |
| 4 | ], |
| 5 | 'targets': [ |
| 6 | { |
| 7 | 'target_name': 'utils', |
| 8 | 'type': 'static_library', |
| 9 | 'include_dirs': [ |
| 10 | '../include/config', |
| 11 | '../include/core', |
| 12 | '../include/utils', |
| epoger@google.com | 0a030cd | 2011-06-02 19:52:14 +0000 | [diff] [blame] | 13 | '../include/utils/mac', |
| senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 14 | '../include/utils/unix', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 15 | '../include/views', |
| 16 | '../include/effects', |
| 17 | '../include/xml', |
| 18 | ], |
| 19 | 'sources': [ |
| 20 | '../include/utils/SkBoundaryPatch.h', |
| 21 | '../include/utils/SkCamera.h', |
| 22 | '../include/utils/SkCubicInterval.h', |
| 23 | '../include/utils/SkCullPoints.h', |
| 24 | '../include/utils/SkDumpCanvas.h', |
| 25 | '../include/utils/SkEGLContext.h', |
| 26 | '../include/utils/SkGLCanvas.h', |
| 27 | '../include/utils/SkInterpolator.h', |
| 28 | '../include/utils/SkLayer.h', |
| 29 | '../include/utils/SkMeshUtils.h', |
| 30 | '../include/utils/SkNinePatch.h', |
| 31 | '../include/utils/SkNWayCanvas.h', |
| 32 | '../include/utils/SkParse.h', |
| 33 | '../include/utils/SkParsePaint.h', |
| 34 | '../include/utils/SkParsePath.h', |
| 35 | '../include/utils/SkProxyCanvas.h', |
| 36 | '../include/utils/SkSfntUtils.h', |
| 37 | '../include/utils/SkTextBox.h', |
| 38 | '../include/utils/SkUnitMappers.h', |
| 39 | |
| 40 | '../src/utils/SkBoundaryPatch.cpp', |
| 41 | '../src/utils/SkCamera.cpp', |
| 42 | '../src/utils/SkColorMatrix.cpp', |
| 43 | '../src/utils/SkCubicInterval.cpp', |
| 44 | '../src/utils/SkCullPoints.cpp', |
| 45 | '../src/utils/SkDumpCanvas.cpp', |
| 46 | '../src/utils/SkEGLContext_none.cpp', |
| 47 | '../src/utils/SkInterpolator.cpp', |
| 48 | '../src/utils/SkLayer.cpp', |
| 49 | '../src/utils/SkMeshUtils.cpp', |
| 50 | '../src/utils/SkNinePatch.cpp', |
| 51 | '../src/utils/SkNWayCanvas.cpp', |
| 52 | '../src/utils/SkOSFile.cpp', |
| 53 | '../src/utils/SkParse.cpp', |
| 54 | '../src/utils/SkParseColor.cpp', |
| 55 | '../src/utils/SkParsePath.cpp', |
| 56 | '../src/utils/SkProxyCanvas.cpp', |
| 57 | '../src/utils/SkSfntUtils.cpp', |
| 58 | '../src/utils/SkUnitMappers.cpp', |
| 59 | |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 60 | '../include/utils/mac/SkCGUtils.h', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 61 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 62 | '../src/utils/mac/SkEGLContext_mac.cpp', |
| 63 | '../src/utils/mac/skia_mac.cpp', |
| 64 | '../src/utils/mac/SkOSWindow_Mac.cpp', |
| 65 | |
| 66 | '../src/utils/mesa/SkEGLContext_Mesa.cpp', |
| 67 | |
| 68 | '../src/utils/SDL/SkOSWindow_SDL.cpp', |
| 69 | |
| 70 | '../src/utils/unix/keysym2ucs.c', |
| 71 | '../src/utils/unix/SkEGLContext_Unix.cpp', |
| 72 | '../src/utils/unix/SkOSWindow_Unix.cpp', |
| 73 | |
| 74 | '../src/utils/win/skia_win.cpp', |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 75 | '../src/utils/win/SkEGLContext_Win.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 76 | '../src/utils/win/SkOSWindow_Win.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 77 | ], |
| 78 | 'sources!': [ |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 79 | '../src/utils/mesa/SkEGLContext_Mesa.cpp', |
| 80 | '../src/utils/SDL/SkOSWindow_SDL.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 81 | ], |
| 82 | 'conditions': [ |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 83 | [ 'OS != "mac"', { |
| 84 | 'sources!': [ |
| 85 | '../include/utils/mac/SkCGUtils.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 86 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 87 | '../src/utils/mac/SkEGLContext_mac.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 88 | '../src/utils/mac/skia_mac.cpp', |
| 89 | '../src/utils/mac/SkOSWindow_Mac.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 90 | ], |
| epoger@google.com | 0a030cd | 2011-06-02 19:52:14 +0000 | [diff] [blame] | 91 | 'include_dirs!': [ |
| 92 | '../include/utils/mac', |
| 93 | ], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 94 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 95 | [ 'OS == "mac"', { |
| 96 | 'sources!': [ |
| 97 | '../src/utils/SkEGLContext_none.cpp', |
| 98 | ], |
| 99 | }], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 100 | [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', { |
| 101 | 'sources!': [ |
| 102 | '../src/utils/unix/keysym2ucs.c', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 103 | '../src/utils/unix/SkEGLContext_Unix.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 104 | '../src/utils/unix/SkOSWindow_Unix.cpp', |
| 105 | ], |
| senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 106 | 'include_dirs!': [ |
| 107 | '../include/utils/unix', |
| 108 | ], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 109 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 110 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
| 111 | 'sources!': [ |
| 112 | '../src/utils/SkEGLContext_none.cpp', |
| 113 | ], |
| epoger@google.com | 161933b | 2011-06-03 17:21:21 +0000 | [diff] [blame^] | 114 | 'link_settings': { |
| 115 | 'libraries': [ |
| 116 | '-lGL', |
| 117 | '-lGLU', |
| 118 | ], |
| 119 | }, |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 120 | }], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 121 | [ 'OS != "win"', { |
| 122 | 'sources!': [ |
| 123 | '../src/utils/win/skia_win.cpp', |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 124 | '../src/utils/win/SkEGLContext_Win.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 125 | '../src/utils/win/SkOSWindow_Win.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 126 | ], |
| 127 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 128 | [ 'OS == "win"', { |
| 129 | 'sources!': [ |
| 130 | '../src/utils/SkEGLContext_none.cpp', |
| 131 | ], |
| 132 | }], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 133 | ], |
| 134 | 'direct_dependent_settings': { |
| 135 | 'include_dirs': [ |
| 136 | '../include/utils', |
| 137 | ], |
| 138 | }, |
| 139 | }, |
| 140 | ], |
| 141 | } |
| 142 | |
| 143 | # Local Variables: |
| 144 | # tab-width:2 |
| 145 | # indent-tabs-mode:nil |
| 146 | # End: |
| 147 | # vim: set expandtab tabstop=2 shiftwidth=2: |