Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1862)

Unified Diff: Source/modules/modules.gyp

Issue 314133002: Initial ServiceWorker Cache API polyfill. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: jsbell + falken reviews Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, ]
},
« no previous file with comments | « no previous file | Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698