epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'utils', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 5 | 'product_name': 'skia_utils', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 6 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 7 | 'standalone_static_library': 1, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 8 | 'include_dirs': [ |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 9 | '../include/config', |
| 10 | '../include/core', |
junov@chromium.org | 77eec24 | 2012-07-18 17:54:45 +0000 | [diff] [blame] | 11 | '../include/effects', |
| 12 | '../include/pipe', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 13 | '../include/utils', |
epoger@google.com | 0a030cd | 2011-06-02 19:52:14 +0000 | [diff] [blame] | 14 | '../include/utils/mac', |
senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 15 | '../include/utils/unix', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 16 | '../include/utils/win', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 17 | '../include/xml', |
bungeman@google.com | e8f0592 | 2012-08-16 16:13:40 +0000 | [diff] [blame] | 18 | '../src/utils', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 19 | ], |
| 20 | 'sources': [ |
scroggo@google.com | 4177ef4 | 2012-10-31 15:52:16 +0000 | [diff] [blame] | 21 | # Classes for a threadpool. |
| 22 | '../include/utils/SkCondVar.h', |
| 23 | '../include/utils/SkCountdown.h', |
| 24 | '../include/utils/SkRunnable.h', |
| 25 | '../include/utils/SkThreadPool.h', |
| 26 | '../src/utils/SkCondVar.cpp', |
| 27 | '../src/utils/SkCountdown.cpp', |
| 28 | '../src/utils/SkThreadPool.cpp', |
| 29 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 30 | '../include/utils/SkBoundaryPatch.h', |
| 31 | '../include/utils/SkCamera.h', |
| 32 | '../include/utils/SkCubicInterval.h', |
| 33 | '../include/utils/SkCullPoints.h', |
junov@google.com | 4370aed | 2012-01-18 16:21:08 +0000 | [diff] [blame] | 34 | '../include/utils/SkDeferredCanvas.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 35 | '../include/utils/SkDumpCanvas.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 36 | '../include/utils/SkInterpolator.h', |
| 37 | '../include/utils/SkLayer.h', |
reed@google.com | c8cc60c | 2011-06-13 14:58:44 +0000 | [diff] [blame] | 38 | '../include/utils/SkMatrix44.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 39 | '../include/utils/SkMeshUtils.h', |
| 40 | '../include/utils/SkNinePatch.h', |
| 41 | '../include/utils/SkNWayCanvas.h', |
bsalomon@google.com | 19bbd3d | 2012-06-11 15:39:15 +0000 | [diff] [blame] | 42 | '../include/utils/SkNullCanvas.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 43 | '../include/utils/SkParse.h', |
| 44 | '../include/utils/SkParsePaint.h', |
| 45 | '../include/utils/SkParsePath.h', |
djsollen@google.com | fdabcb5 | 2012-12-05 06:15:42 +0000 | [diff] [blame] | 46 | '../include/utils/SkPictureUtils.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 47 | '../include/utils/SkProxyCanvas.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 48 | '../include/utils/SkUnitMappers.h', |
bsalomon@google.com | bd7c641 | 2011-12-01 16:34:28 +0000 | [diff] [blame] | 49 | '../include/utils/SkWGL.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 50 | |
bungeman@google.com | af5bbf2 | 2012-02-07 20:47:38 +0000 | [diff] [blame] | 51 | '../src/utils/SkBase64.cpp', |
| 52 | '../src/utils/SkBase64.h', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 53 | '../src/utils/SkBitSet.cpp', |
| 54 | '../src/utils/SkBitSet.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 55 | '../src/utils/SkBoundaryPatch.cpp', |
| 56 | '../src/utils/SkCamera.cpp', |
epoger@google.com | 4adfab8 | 2012-11-02 18:35:04 +0000 | [diff] [blame] | 57 | '../src/utils/SkConsistentChecksum.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 58 | '../src/utils/SkCubicInterval.cpp', |
| 59 | '../src/utils/SkCullPoints.cpp', |
junov@google.com | 4370aed | 2012-01-18 16:21:08 +0000 | [diff] [blame] | 60 | '../src/utils/SkDeferredCanvas.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 61 | '../src/utils/SkDumpCanvas.cpp', |
bungeman@google.com | e8f0592 | 2012-08-16 16:13:40 +0000 | [diff] [blame] | 62 | '../src/utils/SkFloatUtils.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 63 | '../src/utils/SkInterpolator.cpp', |
| 64 | '../src/utils/SkLayer.cpp', |
reed@google.com | c8cc60c | 2011-06-13 14:58:44 +0000 | [diff] [blame] | 65 | '../src/utils/SkMatrix44.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 66 | '../src/utils/SkMeshUtils.cpp', |
| 67 | '../src/utils/SkNinePatch.cpp', |
| 68 | '../src/utils/SkNWayCanvas.cpp', |
bsalomon@google.com | 19bbd3d | 2012-06-11 15:39:15 +0000 | [diff] [blame] | 69 | '../src/utils/SkNullCanvas.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 70 | '../src/utils/SkOSFile.cpp', |
| 71 | '../src/utils/SkParse.cpp', |
| 72 | '../src/utils/SkParseColor.cpp', |
| 73 | '../src/utils/SkParsePath.cpp', |
reed@google.com | fe7b1ed | 2012-11-29 21:00:39 +0000 | [diff] [blame] | 74 | '../src/utils/SkPictureUtils.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 75 | '../src/utils/SkProxyCanvas.cpp', |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 76 | '../src/utils/SkThreadUtils.h', |
| 77 | '../src/utils/SkThreadUtils_pthread.cpp', |
| 78 | '../src/utils/SkThreadUtils_pthread.h', |
| 79 | '../src/utils/SkThreadUtils_pthread_linux.cpp', |
| 80 | '../src/utils/SkThreadUtils_pthread_mach.cpp', |
| 81 | '../src/utils/SkThreadUtils_pthread_other.cpp', |
| 82 | '../src/utils/SkThreadUtils_win.cpp', |
| 83 | '../src/utils/SkThreadUtils_win.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 84 | '../src/utils/SkUnitMappers.cpp', |
| 85 | |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 86 | #mac |
bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 87 | '../include/utils/mac/SkCGUtils.h', |
bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 88 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 89 | |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 90 | #windows |
| 91 | '../include/utils/win/SkAutoCoInitialize.h', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 92 | '../include/utils/win/SkHRESULT.h', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 93 | '../include/utils/win/SkIStream.h', |
| 94 | '../include/utils/win/SkTScopedComPtr.h', |
| 95 | '../src/utils/win/SkAutoCoInitialize.cpp', |
bungeman@google.com | e8f0592 | 2012-08-16 16:13:40 +0000 | [diff] [blame] | 96 | '../src/utils/win/SkDWriteFontFileStream.cpp', |
| 97 | '../src/utils/win/SkDWriteFontFileStream.h', |
| 98 | '../src/utils/win/SkDWriteGeometrySink.cpp', |
| 99 | '../src/utils/win/SkDWriteGeometrySink.h', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 100 | '../src/utils/win/SkHRESULT.cpp', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 101 | '../src/utils/win/SkIStream.cpp', |
bsalomon@google.com | bd7c641 | 2011-12-01 16:34:28 +0000 | [diff] [blame] | 102 | '../src/utils/win/SkWGL_win.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 103 | ], |
| 104 | 'sources!': [ |
bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 105 | '../src/utils/SDL/SkOSWindow_SDL.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 106 | ], |
| 107 | 'conditions': [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 108 | [ 'skia_os == "mac"', { |
epoger@google.com | c39f175 | 2011-06-03 17:52:12 +0000 | [diff] [blame] | 109 | 'link_settings': { |
| 110 | 'libraries': [ |
| 111 | '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
| 112 | ], |
| 113 | }, |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 114 | }], |
| 115 | [ 'skia_os in ["mac", "ios"]', { |
bungeman@google.com | fe5afe5 | 2011-06-24 13:58:17 +0000 | [diff] [blame] | 116 | 'direct_dependent_settings': { |
| 117 | 'include_dirs': [ |
| 118 | '../include/utils/mac', |
| 119 | ], |
| 120 | }, |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 121 | 'sources!': [ |
| 122 | '../src/utils/SkThreadUtils_pthread_other.cpp', |
| 123 | ], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 124 | },{ #else if 'skia_os != "mac"' |
senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 125 | 'include_dirs!': [ |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 126 | '../include/utils/mac', |
| 127 | ], |
| 128 | 'sources!': [ |
| 129 | '../include/utils/mac/SkCGUtils.h', |
| 130 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 131 | '../src/utils/SkThreadUtils_pthread_mach.cpp', |
senorblanco@chromium.org | 907afca | 2011-06-01 20:55:45 +0000 | [diff] [blame] | 132 | ], |
bungeman@google.com | 63aab2f | 2011-06-01 16:15:43 +0000 | [diff] [blame] | 133 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 134 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 135 | 'sources!': [ |
| 136 | '../src/utils/SkThreadUtils_pthread_other.cpp', |
| 137 | ], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 138 | },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]' |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 139 | 'include_dirs!': [ |
| 140 | '../include/utils/unix', |
| 141 | ], |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 142 | 'sources!': [ |
| 143 | '../src/utils/SkThreadUtils_pthread_linux.cpp', |
| 144 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 145 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 146 | [ 'skia_os == "win"', { |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 147 | 'direct_dependent_settings': { |
| 148 | 'include_dirs': [ |
| 149 | '../include/utils/win', |
| 150 | ], |
| 151 | }, |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 152 | 'sources!': [ |
| 153 | '../src/utils/SkThreadUtils_pthread.cpp', |
| 154 | '../src/utils/SkThreadUtils_pthread.h', |
| 155 | '../src/utils/SkThreadUtils_pthread_other.cpp', |
| 156 | ], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 157 | },{ #else if 'skia_os != "win"' |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 158 | 'include_dirs!': [ |
| 159 | '../include/utils/win', |
| 160 | ], |
bsalomon@google.com | bd7c641 | 2011-12-01 16:34:28 +0000 | [diff] [blame] | 161 | 'sources/': [ ['exclude', '_win.(h|cpp)$'],], |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 162 | 'sources!': [ |
| 163 | '../include/utils/win/SkAutoCoInitialize.h', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 164 | '../include/utils/win/SkHRESULT.h', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 165 | '../include/utils/win/SkIStream.h', |
| 166 | '../include/utils/win/SkTScopedComPtr.h', |
| 167 | '../src/utils/win/SkAutoCoInitialize.cpp', |
bungeman@google.com | e8f0592 | 2012-08-16 16:13:40 +0000 | [diff] [blame] | 168 | '../src/utils/win/SkDWriteFontFileStream.cpp', |
| 169 | '../src/utils/win/SkDWriteFontFileStream.h', |
| 170 | '../src/utils/win/SkDWriteGeometrySink.cpp', |
| 171 | '../src/utils/win/SkDWriteGeometrySink.h', |
bungeman@google.com | b29c883 | 2011-10-10 13:19:10 +0000 | [diff] [blame] | 172 | '../src/utils/win/SkHRESULT.cpp', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 173 | '../src/utils/win/SkIStream.cpp', |
bungeman@google.com | 9df621d | 2011-06-23 21:43:52 +0000 | [diff] [blame] | 174 | ], |
bungeman@google.com | 3b0a8da | 2011-06-02 15:38:06 +0000 | [diff] [blame] | 175 | }], |
borenet@google.com | 7158e6a | 2012-11-01 17:43:44 +0000 | [diff] [blame] | 176 | [ 'skia_os == "nacl"', { |
borenet@google.com | a98eb91 | 2012-09-04 21:09:40 +0000 | [diff] [blame] | 177 | 'sources': [ |
| 178 | '../src/utils/SkThreadUtils_pthread_other.cpp', |
| 179 | ], |
| 180 | 'sources!': [ |
| 181 | '../src/utils/SkThreadUtils_pthread_linux.cpp', |
| 182 | ], |
| 183 | }], |
djsollen@google.com | 276a295 | 2012-11-19 19:34:23 +0000 | [diff] [blame] | 184 | [ 'skia_os == "android"', { |
| 185 | 'sources': [ |
| 186 | '../src/utils/android/ashmem.c', |
| 187 | ], |
| 188 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 189 | ], |
| 190 | 'direct_dependent_settings': { |
| 191 | 'include_dirs': [ |
| 192 | '../include/utils', |
| 193 | ], |
| 194 | }, |
| 195 | }, |
| 196 | ], |
| 197 | } |
| 198 | |
| 199 | # Local Variables: |
| 200 | # tab-width:2 |
| 201 | # indent-tabs-mode:nil |
| 202 | # End: |
| 203 | # vim: set expandtab tabstop=2 shiftwidth=2: |