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

Side by Side Diff: skia/skia.gyp

Issue 10928093: Adds an iOS implementation of gfx::Image. (Closed) Base URL: http://git.chromium.org/chromium/src.git@skia
Patch Set: Moar GYP and TODOs. Created 8 years, 3 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
« no previous file with comments | « skia/ext/skia_utils_ios.mm ('k') | ui/base/layout.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'skia', 8 'target_name': 'skia',
9 'type': '<(component)', 9 'type': '<(component)',
10 'variables': { 10 'variables': {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 'ext/platform_canvas_win.cc', 176 'ext/platform_canvas_win.cc',
177 'ext/platform_device.cc', 177 'ext/platform_device.cc',
178 'ext/platform_device.h', 178 'ext/platform_device.h',
179 'ext/platform_device_linux.cc', 179 'ext/platform_device_linux.cc',
180 'ext/platform_device_mac.cc', 180 'ext/platform_device_mac.cc',
181 'ext/platform_device_win.cc', 181 'ext/platform_device_win.cc',
182 'ext/SkMemory_new_handler.cpp', 182 'ext/SkMemory_new_handler.cpp',
183 'ext/skia_sandbox_support_win.h', 183 'ext/skia_sandbox_support_win.h',
184 'ext/skia_sandbox_support_win.cc', 184 'ext/skia_sandbox_support_win.cc',
185 'ext/skia_trace_shim.h', 185 'ext/skia_trace_shim.h',
186 'ext/skia_utils_ios.mm',
187 'ext/skia_utils_ios.h',
186 'ext/skia_utils_mac.mm', 188 'ext/skia_utils_mac.mm',
187 'ext/skia_utils_mac.h', 189 'ext/skia_utils_mac.h',
188 'ext/skia_utils_win.cc', 190 'ext/skia_utils_win.cc',
189 'ext/skia_utils_win.h', 191 'ext/skia_utils_win.h',
190 'ext/vector_canvas.cc', 192 'ext/vector_canvas.cc',
191 'ext/vector_canvas.h', 193 'ext/vector_canvas.h',
192 'ext/vector_platform_device_emf_win.cc', 194 'ext/vector_platform_device_emf_win.cc',
193 'ext/vector_platform_device_emf_win.h', 195 'ext/vector_platform_device_emf_win.h',
194 'ext/vector_platform_device_skia.cc', 196 'ext/vector_platform_device_skia.cc',
195 'ext/vector_platform_device_skia.h', 197 'ext/vector_platform_device_skia.h',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 ], 303 ],
302 }], 304 }],
303 [ 'OS != "android"', { 305 [ 'OS != "android"', {
304 'sources/': [ 306 'sources/': [
305 ['exclude', '_android\\.(cc|cpp)$'], 307 ['exclude', '_android\\.(cc|cpp)$'],
306 ], 308 ],
307 'defines': [ 309 'defines': [
308 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', 310 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
309 ], 311 ],
310 }], 312 }],
313 [ 'OS != "ios"', {
314 'sources/': [
315 ['exclude', '_ios\\.(cc|cpp|mm?)$'],
316 ],
317 }],
311 [ 'OS != "mac"', { 318 [ 'OS != "mac"', {
312 'sources/': [ 319 'sources/': [
313 ['exclude', '_mac\\.(cc|cpp|mm?)$'], 320 ['exclude', '_mac\\.(cc|cpp|mm?)$'],
314 ['exclude', '/mac/'] 321 ['exclude', '/mac/']
315 ], 322 ],
316 }], 323 }],
317 [ 'OS != "win"', { 324 [ 'OS != "win"', {
318 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], 325 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
319 }], 326 }],
320 [ 'armv7 == 1', { 327 [ 'armv7 == 1', {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 }], 593 }],
587 ], 594 ],
588 }, 595 },
589 'target_conditions': [ 596 'target_conditions': [
590 # Pull in specific Mac files for iOS (which have been filtered out 597 # Pull in specific Mac files for iOS (which have been filtered out
591 # by file name rules). 598 # by file name rules).
592 [ 'OS == "ios"', { 599 [ 'OS == "ios"', {
593 'sources/': [ 600 'sources/': [
594 ['include', 'SkFontHost_mac\\.cpp$',], 601 ['include', 'SkFontHost_mac\\.cpp$',],
595 ['include', 'SkStream_mac\\.cpp$',], 602 ['include', 'SkStream_mac\\.cpp$',],
603 ['include', 'SkCreateCGImageRef\\.cpp$',],
596 ], 604 ],
597 }], 605 }],
598 ], 606 ],
599 }, 607 },
600 608
601 # Due to an unfortunate intersection of lameness between gcc and gyp, 609 # Due to an unfortunate intersection of lameness between gcc and gyp,
602 # we have to build the *_SSE2.cpp files in a separate target. The 610 # we have to build the *_SSE2.cpp files in a separate target. The
603 # gcc lameness is that, in order to compile SSE2 intrinsics code, it 611 # gcc lameness is that, in order to compile SSE2 intrinsics code, it
604 # must be passed the -msse2 flag. However, with this flag, it may 612 # must be passed the -msse2 flag. However, with this flag, it may
605 # emit SSE2 instructions even for scalar code, such as the CPUID 613 # emit SSE2 instructions even for scalar code, such as the CPUID
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 'sources': [ 835 'sources': [
828 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 836 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
829 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 837 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
830 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 838 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
831 ], 839 ],
832 }, 840 },
833 ], 841 ],
834 }], 842 }],
835 ], 843 ],
836 } 844 }
OLDNEW
« no previous file with comments | « skia/ext/skia_utils_ios.mm ('k') | ui/base/layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698