Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: gyp/ports.gyp

Issue 12645006: Create a platform-dependent object for accessing purgeable memory. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Build mac version on iOS as well. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/core.gypi ('k') | src/lazy/SkPurgeableMemoryBlock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Port-specific Skia library code. 1 # Port-specific Skia library code.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'ports', 5 'target_name': 'ports',
6 'product_name': 'skia_ports', 6 'product_name': 'skia_ports',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'dependencies': [ 9 'dependencies': [
10 'core.gyp:core', 10 'core.gyp:core',
11 'sfnt.gyp:sfnt', 11 'sfnt.gyp:sfnt',
12 'utils.gyp:utils', 12 'utils.gyp:utils',
13 ], 13 ],
14 'include_dirs': [ 14 'include_dirs': [
15 '../include/effects',
15 '../include/images', 16 '../include/images',
16 '../include/effects',
17 '../include/ports', 17 '../include/ports',
18 '../include/xml', 18 '../include/xml',
19 '../src/core', 19 '../src/core',
20 '../src/lazy',
20 '../src/utils', 21 '../src/utils',
21 ], 22 ],
22 'sources': [ 23 'sources': [
23 '../src/ports/SkDebug_nacl.cpp', 24 '../src/ports/SkDebug_nacl.cpp',
24 '../src/ports/SkDebug_stdio.cpp', 25 '../src/ports/SkDebug_stdio.cpp',
25 '../src/ports/SkDebug_win.cpp', 26 '../src/ports/SkDebug_win.cpp',
26 '../src/ports/SkFontHost_sandbox_none.cpp', 27 '../src/ports/SkFontHost_sandbox_none.cpp',
27 '../src/ports/SkFontHost_win.cpp', 28 '../src/ports/SkFontHost_win.cpp',
28 '../src/ports/SkFontHost_win_dw.cpp', 29 '../src/ports/SkFontHost_win_dw.cpp',
29 '../src/ports/SkGlobalInitialization_default.cpp', 30 '../src/ports/SkGlobalInitialization_default.cpp',
31 '../src/ports/SkPurgeableMemoryBlock_none.cpp',
30 '../src/ports/SkThread_win.cpp', 32 '../src/ports/SkThread_win.cpp',
31 33
32 '../src/ports/SkFontHost_tables.cpp', 34 '../src/ports/SkFontHost_tables.cpp',
33 '../src/ports/SkMemory_malloc.cpp', 35 '../src/ports/SkMemory_malloc.cpp',
34 '../src/ports/SkOSFile_stdio.cpp', 36 '../src/ports/SkOSFile_stdio.cpp',
35 '../src/ports/SkTime_Unix.cpp', 37 '../src/ports/SkTime_Unix.cpp',
36 '../src/ports/SkTime_win.cpp', 38 '../src/ports/SkTime_win.cpp',
37 '../src/ports/SkXMLParser_empty.cpp', 39 '../src/ports/SkXMLParser_empty.cpp',
38 ], 40 ],
39 'conditions': [ 41 'conditions': [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 '../src/ports/SkDebug_nacl.cpp', 91 '../src/ports/SkDebug_nacl.cpp',
90 ], 92 ],
91 }], 93 }],
92 [ 'skia_os == "mac"', { 94 [ 'skia_os == "mac"', {
93 'include_dirs': [ 95 'include_dirs': [
94 '../include/utils/mac', 96 '../include/utils/mac',
95 '../third_party/freetype/include/**', 97 '../third_party/freetype/include/**',
96 ], 98 ],
97 'sources': [ 99 'sources': [
98 '../src/ports/SkFontHost_mac.cpp', 100 '../src/ports/SkFontHost_mac.cpp',
99 '../src/utils/mac/SkStream_mac.cpp',
100 # '../src/ports/SkFontHost_FreeType.cpp', 101 # '../src/ports/SkFontHost_FreeType.cpp',
101 # '../src/ports/SkFontHost_FreeType_common.cpp', 102 # '../src/ports/SkFontHost_FreeType_common.cpp',
102 # '../src/ports/SkFontHost_freetype_mac.cpp', 103 # '../src/ports/SkFontHost_freetype_mac.cpp',
104 '../src/ports/SkPurgeableMemoryBlock_mac.cpp',
103 '../src/ports/SkThread_pthread.cpp', 105 '../src/ports/SkThread_pthread.cpp',
106 '../src/utils/mac/SkStream_mac.cpp',
104 ], 107 ],
105 'sources!': [ 108 'sources!': [
109 '../src/ports/SkPurgeableMemoryBlock_none.cpp',
106 '../src/ports/SkFontHost_tables.cpp', 110 '../src/ports/SkFontHost_tables.cpp',
107 ], 111 ],
108 }], 112 }],
109 [ 'skia_os == "ios"', { 113 [ 'skia_os == "ios"', {
110 'include_dirs': [ 114 'include_dirs': [
111 '../include/utils/ios', 115 '../include/utils/ios',
112 '../include/utils/mac', 116 '../include/utils/mac',
113 ], 117 ],
114 'sources': [ 118 'sources': [
115 '../src/ports/SkFontHost_mac.cpp', 119 '../src/ports/SkFontHost_mac.cpp',
120 '../src/ports/SkPurgeableMemoryBlock_mac.cpp',
121 '../src/ports/SkThread_pthread.cpp',
116 '../src/utils/mac/SkStream_mac.cpp', 122 '../src/utils/mac/SkStream_mac.cpp',
117 '../src/ports/SkThread_pthread.cpp',
118 ], 123 ],
119 'sources!': [ 124 'sources!': [
125 '../src/ports/SkPurgeableMemoryBlock_none.cpp',
120 '../src/ports/SkFontHost_tables.cpp', 126 '../src/ports/SkFontHost_tables.cpp',
121 ], 127 ],
122 }], 128 }],
123 [ 'skia_os == "win"', { 129 [ 'skia_os == "win"', {
124 'include_dirs': [ 130 'include_dirs': [
125 'config/win', 131 'config/win',
126 '../src/utils/win', 132 '../src/utils/win',
127 ], 133 ],
128 'conditions': [ 134 'conditions': [
129 [ 'skia_directwrite', { 135 [ 'skia_directwrite', {
(...skipping 21 matching lines...) Expand all
151 }], 157 }],
152 [ 'skia_os == "android"', { 158 [ 'skia_os == "android"', {
153 'defines': [ 159 'defines': [
154 #Android provides at least FreeType 2.4.0 at runtime. 160 #Android provides at least FreeType 2.4.0 at runtime.
155 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', 161 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
156 #Skia should not use dlopen on Android. 162 #Skia should not use dlopen on Android.
157 'SK_CAN_USE_DLOPEN=0', 163 'SK_CAN_USE_DLOPEN=0',
158 ], 164 ],
159 'sources!': [ 165 'sources!': [
160 '../src/ports/SkDebug_stdio.cpp', 166 '../src/ports/SkDebug_stdio.cpp',
167 '../src/ports/SkPurgeableMemoryBlock_none.cpp',
161 ], 168 ],
162 'sources': [ 169 'sources': [
163 '../include/ports/SkAshmemImageCache.h',
164
165 '../src/ports/SkDebug_android.cpp', 170 '../src/ports/SkDebug_android.cpp',
166 '../src/ports/SkThread_pthread.cpp', 171 '../src/ports/SkThread_pthread.cpp',
167 '../src/ports/SkFontHost_android.cpp', 172 '../src/ports/SkFontHost_android.cpp',
168 '../src/ports/SkFontHost_FreeType.cpp', 173 '../src/ports/SkFontHost_FreeType.cpp',
169 '../src/ports/SkFontHost_FreeType_common.cpp', 174 '../src/ports/SkFontHost_FreeType_common.cpp',
175 '../src/ports/SkPurgeableMemoryBlock_android.cpp',
170 '../src/ports/FontHostConfiguration_android.cpp', 176 '../src/ports/FontHostConfiguration_android.cpp',
171 '../src/ports/SkAshmemImageCache.cpp',
172 ], 177 ],
173 'dependencies': [ 178 'dependencies': [
174 'freetype.gyp:freetype', 179 'freetype.gyp:freetype',
175 'android_deps.gyp:expat', 180 'android_deps.gyp:expat',
176 ], 181 ],
177 }], 182 }],
178 ], 183 ],
179 'direct_dependent_settings': { 184 'direct_dependent_settings': {
180 'include_dirs': [ 185 'include_dirs': [
181 '../include/ports', 186 '../include/ports',
182 ], 187 ],
183 }, 188 },
184 }, 189 },
185 ], 190 ],
186 } 191 }
187 192
188 # Local Variables: 193 # Local Variables:
189 # tab-width:2 194 # tab-width:2
190 # indent-tabs-mode:nil 195 # indent-tabs-mode:nil
191 # End: 196 # End:
192 # vim: set expandtab tabstop=2 shiftwidth=2: 197 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | src/lazy/SkPurgeableMemoryBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698