| 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', |
| senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 13 | '../include/utils/unix', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 14 | '../include/views', |
| 15 | '../include/effects', |
| 16 | '../include/xml', |
| 17 | ], |
| 18 | 'sources': [ |
| 19 | '../include/utils/SkBoundaryPatch.h', |
| 20 | '../include/utils/SkCamera.h', |
| 21 | '../include/utils/SkCubicInterval.h', |
| 22 | '../include/utils/SkCullPoints.h', |
| 23 | '../include/utils/SkDumpCanvas.h', |
| 24 | '../include/utils/SkEGLContext.h', |
| 25 | '../include/utils/SkGLCanvas.h', |
| 26 | '../include/utils/SkInterpolator.h', |
| 27 | '../include/utils/SkLayer.h', |
| 28 | '../include/utils/SkMeshUtils.h', |
| 29 | '../include/utils/SkNinePatch.h', |
| 30 | '../include/utils/SkNWayCanvas.h', |
| 31 | '../include/utils/SkParse.h', |
| 32 | '../include/utils/SkParsePaint.h', |
| 33 | '../include/utils/SkParsePath.h', |
| 34 | '../include/utils/SkProxyCanvas.h', |
| 35 | '../include/utils/SkSfntUtils.h', |
| 36 | '../include/utils/SkTextBox.h', |
| 37 | '../include/utils/SkUnitMappers.h', |
| 38 | |
| 39 | '../src/utils/SkBoundaryPatch.cpp', |
| 40 | '../src/utils/SkCamera.cpp', |
| 41 | '../src/utils/SkColorMatrix.cpp', |
| 42 | '../src/utils/SkCubicInterval.cpp', |
| 43 | '../src/utils/SkCullPoints.cpp', |
| 44 | '../src/utils/SkDumpCanvas.cpp', |
| 45 | '../src/utils/SkEGLContext_none.cpp', |
| 46 | '../src/utils/SkInterpolator.cpp', |
| 47 | '../src/utils/SkLayer.cpp', |
| 48 | '../src/utils/SkMeshUtils.cpp', |
| 49 | '../src/utils/SkNinePatch.cpp', |
| 50 | '../src/utils/SkNWayCanvas.cpp', |
| 51 | '../src/utils/SkOSFile.cpp', |
| 52 | '../src/utils/SkParse.cpp', |
| 53 | '../src/utils/SkParseColor.cpp', |
| 54 | '../src/utils/SkParsePath.cpp', |
| 55 | '../src/utils/SkProxyCanvas.cpp', |
| 56 | '../src/utils/SkSfntUtils.cpp', |
| 57 | '../src/utils/SkUnitMappers.cpp', |
| 58 | |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 59 | '../include/utils/mac/SkCGUtils.h', |
| 60 | '../src/utils/mac/SkBitmap_Mac.cpp', |
| 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', |
| 86 | '../src/utils/mac/SkBitmap_Mac.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 87 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 88 | '../src/utils/mac/SkEGLContext_mac.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 89 | '../src/utils/mac/skia_mac.cpp', |
| 90 | '../src/utils/mac/SkOSWindow_Mac.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 91 | ], |
| 92 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame^] | 93 | [ 'OS == "mac"', { |
| 94 | 'sources!': [ |
| 95 | '../src/utils/SkEGLContext_none.cpp', |
| 96 | ], |
| 97 | }], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 98 | [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', { |
| 99 | 'sources!': [ |
| 100 | '../src/utils/unix/keysym2ucs.c', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 101 | '../src/utils/unix/SkEGLContext_Unix.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 102 | '../src/utils/unix/SkOSWindow_Unix.cpp', |
| 103 | ], |
| senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 104 | 'include_dirs!': [ |
| 105 | '../include/utils/unix', |
| 106 | ], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 107 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame^] | 108 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
| 109 | 'sources!': [ |
| 110 | '../src/utils/SkEGLContext_none.cpp', |
| 111 | ], |
| 112 | }], |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 113 | [ 'OS != "win"', { |
| 114 | 'sources!': [ |
| 115 | '../src/utils/win/skia_win.cpp', |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame^] | 116 | '../src/utils/win/SkEGLContext_Win.cpp', |
| bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 117 | '../src/utils/win/SkOSWindow_Win.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 118 | ], |
| 119 | }], |
| bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame^] | 120 | [ 'OS == "win"', { |
| 121 | 'sources!': [ |
| 122 | '../src/utils/SkEGLContext_none.cpp', |
| 123 | ], |
| 124 | }], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 125 | ], |
| 126 | 'direct_dependent_settings': { |
| 127 | 'include_dirs': [ |
| 128 | '../include/utils', |
| 129 | ], |
| 130 | }, |
| 131 | }, |
| 132 | ], |
| 133 | } |
| 134 | |
| 135 | # Local Variables: |
| 136 | # tab-width:2 |
| 137 | # indent-tabs-mode:nil |
| 138 | # End: |
| 139 | # vim: set expandtab tabstop=2 shiftwidth=2: |