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

Unified Diff: Source/modules/modules.gyp

Issue 329433002: Initial ServiceWorker CacheStorage API polyfill. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: some fixes 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
Index: Source/modules/modules.gyp
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp
index 06bfa919932f9ef22ba321b1519e034fcf3b240f..1e5676adeddcfa3c261bd6a8393b544ec92364a1 100644
--- a/Source/modules/modules.gyp
+++ b/Source/modules/modules.gyp
@@ -84,6 +84,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, ]

Powered by Google App Engine
This is Rietveld 408576698