aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/tools.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/tools.gyp')
-rw-r--r--gyp/tools.gyp25
1 files changed, 25 insertions, 0 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 590ac3b175..1e7eabbecf 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -42,7 +42,32 @@
],
},
],
+ [ 'skia_os == "android"',
+ {
+ 'dependencies': [
+ # Build this by default to catch compile errors more quickly, since
+ # the only other time this code is exercised in the android framework
+ 'android_utils',
+ ],
+ },
+ ],
+ ],
+ },
+ {
+ 'target_name': 'android_utils',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'core.gyp:core',
+ ],
+ 'sources': [
+ '../tools/android/SkAndroidSDKCanvas.h',
+ '../tools/android/SkAndroidSDKCanvas.cpp',
],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../tools/android',
+ ],
+ },
},
{
'target_name': 'dump_record',