DescriptionInclude SkTypes before using ifdefs.
Fixes Android framework build.
When building for the Android framework, we depend on SkUserConfig.h
to define things like SK_SUPPORT_GPU. So we cannot have the first
include inside a guard requring SK_SUPPORT_GPU to be defined. Include
SkTypes first, which will pull in SkUserConfig, define the flag, and
allow us to include GrContextFactory.h.
Committed: https://skia.googlesource.com/skia/+/41b8687417c5f416406366351b1827bfde84265e
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|