Add freetype to skia_base_libs when building for NaCl
External users need access to libfreetype.a when they use skia_base_libs.
Review URL: https://codereview.chromium.org/12383022
git-svn-id: http://skia.googlecode.com/svn/trunk@7934 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/skia_base_libs.gyp b/gyp/skia_base_libs.gyp
index 245babb..83cc7c7 100644
--- a/gyp/skia_base_libs.gyp
+++ b/gyp/skia_base_libs.gyp
@@ -24,6 +24,11 @@
'gpu.gyp:skgr',
],
}],
+ [ 'skia_os == "nacl"', {
+ 'component_libs': [
+ 'freetype.gyp:freetype',
+ ],
+ }],
],
},
'targets': [