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