diff options
author | tfarina <tfarina@chromium.org> | 2014-06-21 10:54:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-21 10:54:17 -0700 |
commit | 2010891425f10257363ae6eb0da70453746dc087 (patch) | |
tree | a47622a715cda1e06a4df631875b81ae93e40e92 /tools/sk_tool_utils.h | |
parent | 4856ac9a4dd340ee255a961a6ca64214582d59dd (diff) |
Add GYP target for sk_tool_utils.* component.
This declares a static library target in gyp/sk_tool_utils.gyp, so other
targets can depend directly on it instead of including the source file
in their source lists.
BUG=None
TEST=make all
R=mtklein@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/348623006
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r-- | tools/sk_tool_utils.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h index 48fd716342..2bd42b6076 100644 --- a/tools/sk_tool_utils.h +++ b/tools/sk_tool_utils.h @@ -8,8 +8,10 @@ #ifndef sk_tool_utils_DEFINED #define sk_tool_utils_DEFINED -#include "SkCanvas.h" -#include "SkBitmap.h" +#include "SkImageInfo.h" + +class SkBitmap; +class SkCanvas; namespace sk_tool_utils { @@ -20,6 +22,7 @@ namespace sk_tool_utils { * the pixels are colorType + alphaType */ void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType); -} -#endif +} // namespace sk_tool_utils + +#endif // sk_tool_utils_DEFINED |