Index: Source/modules/modules.gyp |
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp |
index 06bfa919932f9ef22ba321b1519e034fcf3b240f..60c99d0f753c4957f279fa31b3c76d9f26219cd9 100644 |
--- a/Source/modules/modules.gyp |
+++ b/Source/modules/modules.gyp |
@@ -60,6 +60,31 @@ |
], |
'actions': [ |
{ |
+ 'action_name': 'FetchPolyfill', |
+ 'process_outputs_as_sources': 1, |
+ 'variables': { |
+ 'resources': [ |
+ 'serviceworkers/polyfills/fetchPolyfill.js', |
+ ], |
+ }, |
+ 'inputs': [ |
+ '../build/scripts/make-file-arrays.py', |
+ '<@(resources)', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/FetchPolyfill.h', |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/FetchPolyfill.cpp', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '../build/scripts/make-file-arrays.py', |
+ '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/FetchPolyfill.h', |
+ '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/FetchPolyfill.cpp', |
+ '--namespace=WebCore', |
+ '<@(resources)', |
+ ], |
+ }, |
+ { |
'action_name': 'CachePolyfill', |
'process_outputs_as_sources': 1, |
'variables': { |