Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Issue 394533003: Include SkTypes before using ifdefs. (Closed)

Created:
6 years, 5 months ago by scroggo
Modified:
6 years, 5 months ago
Reviewers:
djsollen, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Include 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M tests/ImageNewShaderTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scroggo
6 years, 5 months ago (2014-07-14 17:04:48 UTC) #1
reed1
lgtm
6 years, 5 months ago (2014-07-14 17:05:30 UTC) #2
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 5 months ago (2014-07-14 17:07:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/394533003/20001
6 years, 5 months ago (2014-07-14 17:07:15 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-14 17:25:06 UTC) #5
Message was sent while issue was closed.
Change committed as 41b8687417c5f416406366351b1827bfde84265e

Powered by Google App Engine
This is Rietveld 408576698