Add SHA1 and MD5 to utils.
https://codereview.appspot.com/7071055/
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@7496 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench.gyp b/bench.gyp
index 9690f32..be768f0 100644
--- a/bench.gyp
+++ b/bench.gyp
@@ -11,6 +11,7 @@
'include_dirs' : [
'../src/core',
'../src/effects',
+ '../src/utils',
],
'includes': [
'bench.gypi'
diff --git a/tests.gyp b/tests.gyp
index 066435c..10e99d2 100644
--- a/tests.gyp
+++ b/tests.gyp
@@ -58,6 +58,7 @@
'../tests/HashCacheTest.cpp',
'../tests/InfRectTest.cpp',
'../tests/LListTest.cpp',
+ '../tests/MD5Test.cpp',
'../tests/MathTest.cpp',
'../tests/MatrixTest.cpp',
'../tests/Matrix44Test.cpp',
@@ -84,6 +85,7 @@
'../tests/RegionTest.cpp',
'../tests/RoundRectTest.cpp',
'../tests/RTreeTest.cpp',
+ '../tests/SHA1Test.cpp',
'../tests/ScalarTest.cpp',
'../tests/ShaderOpacityTest.cpp',
'../tests/Sk64Test.cpp',
diff --git a/utils.gyp b/utils.gyp
index b4469ba..c62657d 100644
--- a/utils.gyp
+++ b/utils.gyp
@@ -74,6 +74,8 @@
'../src/utils/SkInterpolator.cpp',
'../src/utils/SkLayer.cpp',
'../src/utils/SkMatrix44.cpp',
+ '../src/utils/SkMD5.cpp',
+ '../src/utils/SkMD5.h',
'../src/utils/SkMeshUtils.cpp',
'../src/utils/SkNinePatch.cpp',
'../src/utils/SkNWayCanvas.cpp',
@@ -84,6 +86,8 @@
'../src/utils/SkParsePath.cpp',
'../src/utils/SkPictureUtils.cpp',
'../src/utils/SkProxyCanvas.cpp',
+ '../src/utils/SkSHA1.cpp',
+ '../src/utils/SkSHA1.h',
'../src/utils/SkRTConf.cpp',
'../src/utils/SkThreadUtils.h',
'../src/utils/SkThreadUtils_pthread.cpp',