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