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/SampleApp.gyp b/gyp/SampleApp.gyp
index ba65096..1855fe7 100644
--- a/gyp/SampleApp.gyp
+++ b/gyp/SampleApp.gyp
@@ -247,7 +247,22 @@
'../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib',
],
}],
-
+ [ 'skia_os == "android"', {
+ # TODO: This doesn't build properly yet, but it's getting there.
+ 'type': 'shared_library',
+ 'sources!': [
+ '../samplecode/SampleAnimator.cpp',
+ '../samplecode/SampleUnitMapper.cpp',
+ ],
+ 'dependencies!': [
+ 'animator.gyp:animator',
+ 'experimental.gyp:experimental',
+ ],
+ 'sources': [
+ # TODO add support for the android sample app
+# '../samplecode/SampleApp_android.cpp',
+ ],
+ }],
],
'msvs_settings': {
'VCLinkerTool': {