Index: Source/modules/modules.gyp |
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp |
index 60c99d0f753c4957f279fa31b3c76d9f26219cd9..7fe6a0bdced4309ac5b27646a0819107b57b7785 100644 |
--- a/Source/modules/modules.gyp |
+++ b/Source/modules/modules.gyp |
@@ -109,6 +109,31 @@ |
'<@(resources)', |
], |
}, |
+ { |
+ 'action_name': 'CacheStoragePolyfill', |
+ 'process_outputs_as_sources': 1, |
+ 'variables': { |
+ 'resources': [ |
+ 'serviceworkers/polyfills/cacheStoragePolyfill.js', |
+ ], |
+ }, |
+ 'inputs': [ |
+ '../build/scripts/make-file-arrays.py', |
+ '<@(resources)', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.h', |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.cpp', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '../build/scripts/make-file-arrays.py', |
+ '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.h', |
+ '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.cpp', |
+ '--namespace=WebCore', |
+ '<@(resources)', |
+ ], |
+ }, |
], |
# Disable c4267 warnings until we fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267, 4334, ] |