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