aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/utils.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/utils.gyp')
-rw-r--r--gyp/utils.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/gyp/utils.gyp b/gyp/utils.gyp
index cc25349045..61cfd127b7 100644
--- a/gyp/utils.gyp
+++ b/gyp/utils.gyp
@@ -18,6 +18,15 @@
'../src/utils',
],
'sources': [
+ # Classes for a threadpool.
+ '../include/utils/SkCondVar.h',
+ '../include/utils/SkCountdown.h',
+ '../include/utils/SkRunnable.h',
+ '../include/utils/SkThreadPool.h',
+ '../src/utils/SkCondVar.cpp',
+ '../src/utils/SkCountdown.cpp',
+ '../src/utils/SkThreadPool.cpp',
+
'../include/utils/SkBoundaryPatch.h',
'../include/utils/SkCamera.h',
'../include/utils/SkCubicInterval.h',
@@ -147,6 +156,15 @@
'../src/utils/SkThreadUtils_pthread.cpp',
'../src/utils/SkThreadUtils_pthread.h',
'../src/utils/SkThreadUtils_pthread_other.cpp',
+
+ # SkThreadPool and related currently depend on pthread.
+ '../include/utils/SkCondVar.h',
+ '../include/utils/SkCountdown.h',
+ '../include/utils/SkRunnable.h',
+ '../include/utils/SkThreadPool.h',
+ '../src/utils/SkCondVar.cpp',
+ '../src/utils/SkCountdown.cpp',
+ '../src/utils/SkThreadPool.cpp',
],
},{ #else if 'skia_os != "win"'
'include_dirs!': [