diff options
author | zhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-17 06:53:37 +0000 |
---|---|---|
committer | zhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-17 06:53:37 +0000 |
commit | ac471d2e7f2dc0c31ca385f6905a98ec6aea33f7 (patch) | |
tree | 35317e3d1fb4ac195425b264b4c817ed27d175e7 /skia/ext/platform_canvas.h | |
parent | 4dd687c60a21b7df99aba14b9d715d464ad36724 (diff) | |
download | chromium_src-ac471d2e7f2dc0c31ca385f6905a98ec6aea33f7.zip chromium_src-ac471d2e7f2dc0c31ca385f6905a98ec6aea33f7.tar.gz chromium_src-ac471d2e7f2dc0c31ca385f6905a98ec6aea33f7.tar.bz2 |
Build skia for Android.
Add some files and fix some code to make skia build on Android.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7920020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_canvas.h')
-rw-r--r-- | skia/ext/platform_canvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h index 354314b..87e2bd2 100644 --- a/skia/ext/platform_canvas.h +++ b/skia/ext/platform_canvas.h @@ -33,7 +33,7 @@ class SK_API PlatformCanvas : public SkCanvas { CGContextRef context); PlatformCanvas(int width, int height, bool is_opaque, uint8_t* context); #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ - defined(__sun) + defined(__sun) || defined(ANDROID) // Linux --------------------------------------------------------------------- // Construct a canvas from the given memory region. The memory is not cleared @@ -55,7 +55,7 @@ class SK_API PlatformCanvas : public SkCanvas { bool initialize(int width, int height, bool is_opaque, uint8_t* data = NULL); #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ - defined(__sun) + defined(__sun) || defined(ANDROID) // For two-part init, call if you use the no-argument constructor above bool initialize(int width, int height, bool is_opaque, uint8_t* data = NULL); #endif |