Index: Source/modules/modules.gyp |
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp |
index e0d1d9423527ebfe85964b49f41eb25050989719..a80301990e33b6ce12ab98b963d02b30d7d5308d 100644 |
--- a/Source/modules/modules.gyp |
+++ b/Source/modules/modules.gyp |
@@ -52,6 +52,33 @@ |
'<@(modules_files)', |
'<@(bindings_modules_v8_generated_aggregate_files)', |
], |
+ 'actions': [ |
+ { |
+ 'action_name': 'CachePolyfill', |
+ 'process_outputs_as_sources': 1, |
+ 'variables': { |
+ 'resources': [ |
+ 'serviceworkers/polyfills/cachePolyfill.js', |
+ ], |
+ }, |
+ 'inputs': [ |
+ '../build/scripts/make-file-arrays.py', |
+ '<@(resources)', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '../build/scripts/make-file-arrays.py', |
+ '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
+ '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
+ '--namespace=WebCore', |
+ '<@(resources)', |
+ ], |
+ }, |
+ ], |
# Disable c4267 warnings until we fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267, 4334, ] |
}, |