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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 'include_dirs': [ | 51 'include_dirs': [ |
52 # FIXME: Remove these once scripts generate qualified | 52 # FIXME: Remove these once scripts generate qualified |
53 # includes correctly: http://crbug.com/380054 | 53 # includes correctly: http://crbug.com/380054 |
54 '<(blink_core_output_dir)', | 54 '<(blink_core_output_dir)', |
55 '<(blink_modules_output_dir)', | 55 '<(blink_modules_output_dir)', |
56 ], | 56 ], |
57 'sources': [ | 57 'sources': [ |
58 '<@(modules_files)', | 58 '<@(modules_files)', |
59 '<@(bindings_modules_v8_generated_aggregate_files)', | 59 '<@(bindings_modules_v8_generated_aggregate_files)', |
60 ], | 60 ], |
| 61 'actions': [ |
| 62 { |
| 63 'action_name': 'CachePolyfill', |
| 64 'process_outputs_as_sources': 1, |
| 65 'variables': { |
| 66 'resources': [ |
| 67 'serviceworkers/polyfills/cachePolyfill.js', |
| 68 ], |
| 69 }, |
| 70 'inputs': [ |
| 71 '../build/scripts/make-file-arrays.py', |
| 72 '<@(resources)', |
| 73 ], |
| 74 'outputs': [ |
| 75 '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
| 76 '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
| 77 ], |
| 78 'action': [ |
| 79 'python', |
| 80 '../build/scripts/make-file-arrays.py', |
| 81 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
| 82 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
| 83 '--namespace=WebCore', |
| 84 '<@(resources)', |
| 85 ], |
| 86 }, |
| 87 ], |
61 # Disable c4267 warnings until we fix size_t to int truncations. | 88 # Disable c4267 warnings until we fix size_t to int truncations. |
62 'msvs_disabled_warnings': [ 4267, 4334, ] | 89 'msvs_disabled_warnings': [ 4267, 4334, ] |
63 }, | 90 }, |
64 { | 91 { |
65 'target_name': 'modules_testing', | 92 'target_name': 'modules_testing', |
66 'type': 'static_library', | 93 'type': 'static_library', |
67 'dependencies': [ | 94 'dependencies': [ |
68 '../config.gyp:config', | 95 '../config.gyp:config', |
69 '../core/core.gyp:webcore', | 96 '../core/core.gyp:webcore', |
70 ], | 97 ], |
(...skipping 19 matching lines...) Expand all Loading... |
90 ], | 117 ], |
91 'sources': [ | 118 'sources': [ |
92 # bison rule | 119 # bison rule |
93 '../core/css/CSSGrammar.y', | 120 '../core/css/CSSGrammar.y', |
94 '../core/xml/XPathGrammar.y', | 121 '../core/xml/XPathGrammar.y', |
95 ], | 122 ], |
96 'actions': [ | 123 'actions': [ |
97 ], | 124 ], |
98 }], | 125 }], |
99 } | 126 } |
OLD | NEW |