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:
parent
05699e5fe0
commit
909b04b630
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user