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