skia2/src
commit-bot@chromium.org ef93d294ef Move build guard to fix Android framework compile.
After merging into the Android tree, this file was not compiling.
It turns out that it was because SK_SUPPORT_GPU was not defined. When
built by GYP, SK_SUPPORT_GPU is defined by GYP. When built by the
Android framework, we depend on SkUserConfig.h, which is included by
other files, to set SK_SUPPORT_GPU. Moving the includes outside of
#if SK_SUPPORT_GPU ensures that the dependency chain defining
SK_SUPPORT_GPU is included, so this code gets compiled as expected.

R=egdaniel@google.com

Author: scroggo@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14132 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-04-10 15:37:52 +00:00
..
animator Fix warnings on Ubuntu13 2014-02-21 20:11:42 +00:00
core Revert of remove sprintf (https://codereview.chromium.org/230413005/) 2014-04-09 23:38:57 +00:00
device/xps remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
doc Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
effects Move build guard to fix Android framework compile. 2014-04-10 15:37:52 +00:00
fonts Factory methods for heap-allocated SkTypeface objects. 2014-04-07 19:34:16 +00:00
gpu Implement drawDRRect for GPU 2014-04-09 21:26:11 +00:00
image Rename kPMColor_SkColorType to kN32_SkColorType. 2014-04-09 20:45:29 +00:00
images Rename kPMColor_SkColorType to kN32_SkColorType. 2014-04-09 20:45:29 +00:00
lazy SkDiscardableMemoryPool to abstract class 2014-04-04 16:43:38 +00:00
opts Real fix for SK_API / Windows shared lib problems. 2014-04-09 22:54:57 +00:00
pathops Sanitizing source files in Housekeeper-Nightly 2014-02-22 03:02:18 +00:00
pdf SkNonCopyable should be used with private inheritance. 2014-04-07 19:34:38 +00:00
pipe Consolidate SkCanvas matrix virtuals. 2014-03-25 17:32:26 +00:00
ports Rename kPMColor_SkColorType to kN32_SkColorType. 2014-04-09 20:45:29 +00:00
record SkRecordDraw: don't bother clipping an empty clip down further 2014-04-10 02:26:33 +00:00
sfnt Fold SkTSetBit into SkOTSet*Bit. 2014-04-01 16:11:53 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils Rename kPMColor_SkColorType to kN32_SkColorType. 2014-04-09 20:45:29 +00:00
views Rename kPMColor_SkColorType to kN32_SkColorType. 2014-04-09 20:45:29 +00:00
xml remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00