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