Index: libadblockplus.gyp
===================================================================
--- a/libadblockplus.gyp
+++ b/libadblockplus.gyp
@@ -49,6 +49,8 @@
       'src/JsEngineTransition.h',
       'src/JsError.cpp',
       'src/JsValue.cpp',
+      'src/Latch.cpp',
+      'src/Latch.h',
       'src/Notification.cpp',
       'src/ReferrerMapping.cpp',
       'src/Scheduler.cpp',
@@ -182,6 +184,9 @@
       'test/GlobalJsObject.cpp',
       'test/JsEngine.cpp',
       'test/JsValue.cpp',
+      'test/JsLatch.cpp',
+      'test/JsLatch.h',
+      'test/LatchTest.cpp',
       'test/Notification.cpp',
       'test/PausePoint.cpp',
       'test/PausePoint.h',
