Index: skia/skia_library.gypi |
diff --git a/skia/skia_library.gypi b/skia/skia_library.gypi |
index 760c1cd8af4f1bd8d72b781adaa434641c5385b4..6879cfc5324943a82c754825eb2cca54141535a1 100644 |
--- a/skia/skia_library.gypi |
+++ b/skia/skia_library.gypi |
@@ -88,10 +88,6 @@ |
# Exclude all unused files in skia utils.gypi file |
'sources!': [ |
- '../third_party/skia/src/utils/SkCondVar.cpp', |
- '../third_party/skia/src/utils/SkCondVar.h', |
- '../third_party/skia/src/utils/SkRunnable.h', |
- |
'../third_party/skia/include/utils/SkBoundaryPatch.h', |
'../third_party/skia/include/utils/SkFrontBufferedStream.h', |
'../third_party/skia/include/utils/SkCamera.h', |
@@ -136,17 +132,13 @@ |
'../third_party/skia/src/utils/SkPathUtils.cpp', |
'../third_party/skia/src/utils/SkSHA1.cpp', |
'../third_party/skia/src/utils/SkSHA1.h', |
- '../third_party/skia/src/utils/SkThreadUtils.h', |
- '../third_party/skia/src/utils/SkThreadUtils_pthread.cpp', |
- '../third_party/skia/src/utils/SkThreadUtils_pthread.h', |
- '../third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp', |
- '../third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp', |
- '../third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp', |
- '../third_party/skia/src/utils/SkThreadUtils_win.cpp', |
- '../third_party/skia/src/utils/SkThreadUtils_win.h', |
'../third_party/skia/src/utils/SkTFitsIn.h', |
'../third_party/skia/src/utils/SkTLogic.h', |
+ # We don't currently need to change thread affinity, so leave out this complexity for now. |
+ "../third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", |
+ "../third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", |
+ |
#windows |
'../third_party/skia/include/utils/win/SkAutoCoInitialize.h', |
'../third_party/skia/include/utils/win/SkHRESULT.h', |
@@ -206,6 +198,19 @@ |
], |
}], |
+ [ 'OS == "win"', { |
+ 'sources!': [ |
+ # Keeping _win.cpp |
+ "../third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
+ "../third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", |
+ ], |
+ },{ |
+ 'sources!': [ |
+ # Keeping _pthread.cpp and _pthread_other.cpp |
+ "../third_party/skia/src/utils/SkThreadUtils_win.cpp", |
+ ], |
+ }], |
+ |
[ 'OS != "mac"', { |
'sources/': [ |
['exclude', '/mac/'] |