aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-09-17 12:21:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-17 12:21:59 -0700
commit6a5c7085bcebe263ac43486f1825407580662924 (patch)
treeebb0d384a9515a525bfabce34fb51dd31eb729bd /gyp
parentef59adba5b5058c60c1b92b17904b2813be644ea (diff)
Add SkMiniData.
This is a bit like a limited SkData, geared to store really tiny byte strings. This is not hooked up anywhere beyond the new unit test. I did experimentally plumb it into SkRecord for drawPosTextH: just over 40% of drawPosTextH calls in our repo can fit into ShortData. BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/573323002
Diffstat (limited to 'gyp')
-rw-r--r--gyp/core.gypi1
-rw-r--r--gyp/tests.gypi1
2 files changed, 2 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi
index a2fd438bc1..c05fa48c75 100644
--- a/gyp/core.gypi
+++ b/gyp/core.gypi
@@ -116,6 +116,7 @@
'<(skia_src_path)/core/SkMatrix.cpp',
'<(skia_src_path)/core/SkMessageBus.h',
'<(skia_src_path)/core/SkMetaData.cpp',
+ '<(skia_src_path)/core/SkMiniData.cpp',
'<(skia_src_path)/core/SkMipMap.cpp',
'<(skia_src_path)/core/SkMultiPictureDraw.cpp',
'<(skia_src_path)/core/SkPackBits.cpp',
diff --git a/gyp/tests.gypi b/gyp/tests.gypi
index f33d864f3c..a3197220ef 100644
--- a/gyp/tests.gypi
+++ b/gyp/tests.gypi
@@ -139,6 +139,7 @@
'../tests/MemsetTest.cpp',
'../tests/MessageBusTest.cpp',
'../tests/MetaDataTest.cpp',
+ '../tests/MiniDataTest.cpp',
'../tests/MipMapTest.cpp',
'../tests/NameAllocatorTest.cpp',
'../tests/OSPathTest.cpp',