Fix Android framework build.

Need to include (transitively) SkUserConfig before checking
SK_SUPPORT_GPU.

Review URL: https://codereview.chromium.org/693613005
This commit is contained in:
scroggo 2014-11-11 09:45:32 -08:00 committed by Commit bot
parent 05699e5fe0
commit 909b04b630

View File

@ -5,10 +5,6 @@
* found in the LICENSE file.
*/
#if SK_SUPPORT_GPU
#include "GrPictureUtils.h"
#endif
#include "SkPictureRecorder.h"
#include "SkRecord.h"
#include "SkRecordDraw.h"
@ -16,6 +12,12 @@
#include "SkRecordOpts.h"
#include "SkTypes.h"
// Must place SK_SUPPORT_GPU after other includes so it is defined in the
// Android framework build.
#if SK_SUPPORT_GPU
#include "GrPictureUtils.h"
#endif
SkPictureRecorder::SkPictureRecorder() {}
SkPictureRecorder::~SkPictureRecorder() {}