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