summaryrefslogtreecommitdiffstats
path: root/skia/skia.gyp
diff options
context:
space:
mode:
authorzhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-17 06:53:37 +0000
committerzhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-17 06:53:37 +0000
commitac471d2e7f2dc0c31ca385f6905a98ec6aea33f7 (patch)
tree35317e3d1fb4ac195425b264b4c817ed27d175e7 /skia/skia.gyp
parent4dd687c60a21b7df99aba14b9d715d464ad36724 (diff)
downloadchromium_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/skia.gyp')
-rw-r--r--skia/skia.gyp11
1 files changed, 10 insertions, 1 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp
index 610472e..daecaae 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -664,8 +664,9 @@
'../third_party/skia/include/images/SkMovie.h',
'../third_party/skia/include/images/SkPageFlipper.h',
- 'ext/bitmap_platform_device.cc',
'ext/bitmap_platform_device.h',
+ 'ext/bitmap_platform_device_android.cc',
+ 'ext/bitmap_platform_device_android.h',
'ext/bitmap_platform_device_data.h',
'ext/bitmap_platform_device_linux.cc',
'ext/bitmap_platform_device_linux.h',
@@ -752,6 +753,14 @@
'../third_party/skia/src/ports/SkFontHost_tables.cpp',
],
}],
+ [ 'OS == "android"', {
+ 'sources/': [
+ ['include', 'ext/platform_device_linux.cc'],
+ ['include', 'ext/platform_canvas_linux.cc'],
+ ],
+ }, { # OS != "android"
+ 'sources/': [ ['exclude', '_android\\.(cc|cpp)$'] ],
+ }],
[ 'OS != "win"', {
'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
}],