Adding support to trunk for building Skia using the Android NDK.
This CL depends on a subsequent CL to add the appropriate NDK
toolchain and system sources to the skia repo.
Review URL: http://codereview.appspot.com/5306089/
Review URL: http://codereview.appspot.com/5306089
git-svn-id: http://skia.googlecode.com/svn/trunk@2592 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/core.gyp b/gyp/core.gyp
index abe9d11..a79af6b 100644
--- a/gyp/core.gyp
+++ b/gyp/core.gyp
@@ -340,6 +340,24 @@
'../src/ports/SkTime_win.cpp',
],
}],
+ [ 'skia_os == "android"', {
+ 'sources!': [
+ '../src/opts/opts_check_SSE2.cpp',
+ ],
+ 'sources': [
+ '../include/core/SkMMapStream.h',
+ '../src/core/SkMMapStream.cpp',
+ '../src/ports/SkThread_pthread.cpp',
+ '../src/ports/SkFontHost_android.cpp',
+ '../src/ports/SkFontHost_gamma.cpp',
+ '../src/ports/SkFontHost_FreeType.cpp',
+ '../src/ports/FontHostConfiguration_android.cpp',
+ ],
+ 'dependencies': [
+ 'android_system.gyp:ft2',
+ 'android_system.gyp:expat',
+ ],
+ }],
],
'direct_dependent_settings': {
'include_dirs': [