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

Unified Diff: gyp/gpu.gyp

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Minor fixes for GrDistanceFieldTextContext. Created 7 years, 1 month 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
Index: gyp/gpu.gyp
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 057c2fb72d8c6518186f8421ed6dce5a7e6437f1..29889f1211b916ebb446d2cf7ab42738f219e4c2 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -83,6 +83,7 @@
'dependencies': [
'angle.gyp:*',
'core.gyp:*',
+ 'edtaa.gyp:*',
'utils.gyp:*',
],
'includes': [
@@ -132,6 +133,17 @@
'GR_ANDROID_PATH_RENDERING=1',
],
}],
+ [ 'skia_distancefield_fonts', {
+ 'sources': [
+ '<(skia_include_path)/gpu/GrDistanceFieldTextContext.h',
+ '<(skia_src_path)/gpu/GrDistanceFieldTextContext.cpp',
+ '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.cpp',
+ '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.h',
+ ],
+ 'defines': [
+ 'GR_DISTANCEFIELD_FONTS=1',
+ ],
+ }],
[ 'skia_os == "linux" or skia_os == "chromeos"', {
'sources!': [
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',

Powered by Google App Engine
This is Rietveld 408576698