skia2/gyp
scroggo@google.com 7def5e1630 Separate core and images project.
SkImage calls functions on SkImageDecoder and SkImageEncoder. This
is desired behavior, and it is also desired to include SkImage as
a part of core. In order to keep core from depending on images,
update SkImageDecoder_empty.cpp to implement all of SkImageDecoder
and SkImageEncoder. This file will be built by chrome (in
https://codereview.chromium.org/15960015).

Move force_linking from SkImageDecoder.cpp to its own file. It must
be called to force linking with the image decoders if desired. Call
the function in tools that need it:
sk_image
render_pictures
render_pdfs
sk_hello
filter
bench_pictures
debugger

SkImageDecoder:
Derive from SkNoncopyable, instead of duplicating its
hiding of constructors.

skhello:
Return rather than trying to write a null SkData to the stream.

Revert "Hamfistedly removed core dependence on images"
(commit 0f05f682a90bc125323677abf3476e1027d174f5) and
"Move SkImage::encode to SkImage_Codec.cpp."
(commit 83e47a954d0bf65439f3d9c0c93213063dd70da3.)
These two commits were temporary fixes that this change
cleans up.

SkSnapshot.cpp:
Check for a NULL encoder returned by SkImageEncoder::Create.

BUG=https://code.google.com/p/skia/issues/detail?id=1275
R=djsollen@google.com, robertphillips@google.com

Review URL: https://codereview.chromium.org/15806010

git-svn-id: http://skia.googlecode.com/svn/trunk@9364 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-31 14:00:10 +00:00
..
android_deps.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
animator.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
apptype_console.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
bench.gyp Add SHA1 and MD5 to utils. 2013-01-31 19:47:48 +00:00
bench.gypi add bench for blurred rectori case 2013-05-13 14:10:31 +00:00
cityhash.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
common_conditions.gypi add direct_dependencies for picture_utils, and add cflags_cc for android's gypi 2013-05-15 20:01:07 +00:00
common_variables.gypi Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
common.gypi Collect minidump and print callstack if an app chrashes. 2013-03-08 18:00:16 +00:00
core.gyp API modifications needed to upstream Android font changes. 2013-05-13 14:09:13 +00:00
core.gypi Separate core and images project. 2013-05-31 14:00:10 +00:00
debugger.gyp Copy NaCl directory into trunk/platform_tools, adjust paths 2013-05-06 12:50:00 +00:00
effects.gyp re-enable fast blur so I can rebaseline 2013-03-11 22:42:30 +00:00
effects.gypi add SkLerpXfermode 2013-05-21 21:33:11 +00:00
everything.gyp Gyp changes for NaCl debugger 2013-03-07 15:33:28 +00:00
experimental.gyp This takes the convex path tesselator from the Android code and hooks it into a 2013-01-09 21:04:52 +00:00
FileReaderApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
flags.gyp Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
freetype.gyp Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files. 2013-05-16 14:53:28 +00:00
gm.gyp Write/compare against expectations in skimage tool. 2013-05-08 19:14:23 +00:00
gmslides.gypi Separate core and images project. 2013-05-31 14:00:10 +00:00
gpu.gyp Exclude angle dependency on non-angle builds 2013-05-03 14:00:34 +00:00
gpu.gypi Expand modulate, add, subtract, extract component glsl helpers. 2013-04-18 19:36:09 +00:00
images.gyp Separate core and images project. 2013-05-31 14:00:10 +00:00
jsoncpp.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libjpeg.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libwebp.gyp Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files. 2013-05-16 14:53:28 +00:00
lua.gyp use define to work-around localeconf() missingness in android 2013-05-15 20:55:49 +00:00
most.gyp shape ops test fixes 2013-04-11 12:33:23 +00:00
nacl.gyp Copy NaCl directory into trunk/platform_tools, adjust paths 2013-05-06 12:50:00 +00:00
opts.gyp Update Android toolchain to NDK r8d with GCC 4.7 2013-01-23 18:56:38 +00:00
pathops_unittest.gyp fix build : add src\pathops to pathops_unittest 2013-04-25 14:28:14 +00:00
pathops_unittest.gypi path ops -- fix skp bugs 2013-05-07 18:51:31 +00:00
pathops.gypi remove deleted file from gyp 2013-04-22 20:09:23 +00:00
pdf.gyp Encode images with DCTDecode (JPEG) in PDFs if it makes sense. Fallback to FlateDecode (zip) if it makes sense. Otherewise include uncompressed stream. 2013-04-24 13:01:01 +00:00
pixman_test.gyp more pixman work in progress 2012-10-16 12:32:33 +00:00
ports.gyp Change SkStream. 2013-05-29 13:43:31 +00:00
SampleApp.gyp expand SkLua to handle creation of its own State 2013-05-22 20:12:50 +00:00
sfnt.gyp XPS ttc handling. 2013-05-07 15:28:15 +00:00
shapeops_demo.gyp shape ops work in progress 2013-02-07 13:13:41 +00:00
shapeops_edge.gyp shape ops work in progress 2013-03-13 20:29:41 +00:00
shapeops_tool.gyp checkpoint for shape ops 2012-10-09 14:11:58 +00:00
SimpleCocoaApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
SimpleiOSApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
skia_base_libs.gyp Add freetype to skia_base_libs when building for NaCl 2013-03-01 20:28:57 +00:00
svg.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
tests.gyp Reland 'Add path utils, plus a test for it.' 2013-05-28 16:45:07 +00:00
tools.gyp Separate core and images project. 2013-05-31 14:00:10 +00:00
utils.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
views_animated.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
views.gyp Create SkLazyPixelRef which performs lazy decoding. 2013-02-22 21:38:35 +00:00
xml.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
xps.gyp XPS ttc handling. 2013-05-07 15:28:15 +00:00
zlib.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00