OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ], | 77 ], |
78 'action': [ | 78 'action': [ |
79 'python', | 79 'python', |
80 '../build/scripts/make-file-arrays.py', | 80 '../build/scripts/make-file-arrays.py', |
81 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', | 81 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
82 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', | 82 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
83 '--namespace=WebCore', | 83 '--namespace=WebCore', |
84 '<@(resources)', | 84 '<@(resources)', |
85 ], | 85 ], |
86 }, | 86 }, |
| 87 { |
| 88 'action_name': 'CacheStoragePolyfill', |
| 89 'process_outputs_as_sources': 1, |
| 90 'variables': { |
| 91 'resources': [ |
| 92 'serviceworkers/polyfills/cacheStoragePolyfill.js', |
| 93 ], |
| 94 }, |
| 95 'inputs': [ |
| 96 '../build/scripts/make-file-arrays.py', |
| 97 '<@(resources)', |
| 98 ], |
| 99 'outputs': [ |
| 100 '<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.h', |
| 101 '<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.cpp', |
| 102 ], |
| 103 'action': [ |
| 104 'python', |
| 105 '../build/scripts/make-file-arrays.py', |
| 106 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.h', |
| 107 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CacheStoragePolyfill.cpp
', |
| 108 '--namespace=WebCore', |
| 109 '<@(resources)', |
| 110 ], |
| 111 }, |
87 ], | 112 ], |
88 # Disable c4267 warnings until we fix size_t to int truncations. | 113 # Disable c4267 warnings until we fix size_t to int truncations. |
89 'msvs_disabled_warnings': [ 4267, 4334, ] | 114 'msvs_disabled_warnings': [ 4267, 4334, ] |
90 }, | 115 }, |
91 { | 116 { |
92 'target_name': 'modules_testing', | 117 'target_name': 'modules_testing', |
93 'type': 'static_library', | 118 'type': 'static_library', |
94 'dependencies': [ | 119 'dependencies': [ |
95 '../config.gyp:config', | 120 '../config.gyp:config', |
96 '../core/core.gyp:webcore', | 121 '../core/core.gyp:webcore', |
(...skipping 20 matching lines...) Expand all Loading... |
117 ], | 142 ], |
118 'sources': [ | 143 'sources': [ |
119 # bison rule | 144 # bison rule |
120 '../core/css/CSSGrammar.y', | 145 '../core/css/CSSGrammar.y', |
121 '../core/xml/XPathGrammar.y', | 146 '../core/xml/XPathGrammar.y', |
122 ], | 147 ], |
123 'actions': [ | 148 'actions': [ |
124 ], | 149 ], |
125 }], | 150 }], |
126 } | 151 } |
OLD | NEW |