Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: gyp/tools.gyp

Issue 1536013003: Move SkAndroidSDKCanvas to tools and ensure that it is built on all Android builds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/dm.gyp ('k') | gyp/utils.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 590ac3b1755b7d2b5b1a7a37c3fc4e14465ae464..1e7eabbecf8810b7a451f7cb0ee6b1ab000ed5f2 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',
« no previous file with comments | « gyp/dm.gyp ('k') | gyp/utils.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698