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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'make_modules_generated', | 45 'make_modules_generated', |
46 ], | 46 ], |
47 'defines': [ | 47 'defines': [ |
48 'BLINK_IMPLEMENTATION=1', | 48 'BLINK_IMPLEMENTATION=1', |
49 'INSIDE_BLINK', | 49 'INSIDE_BLINK', |
50 ], | 50 ], |
51 'sources': [ | 51 'sources': [ |
52 '<@(modules_files)', | 52 '<@(modules_files)', |
53 '<@(bindings_modules_v8_generated_aggregate_files)', | 53 '<@(bindings_modules_v8_generated_aggregate_files)', |
54 ], | 54 ], |
| 55 'actions': [ |
| 56 { |
| 57 'action_name': 'CachePolyfill', |
| 58 'process_outputs_as_sources': 1, |
| 59 'variables': { |
| 60 'resources': [ |
| 61 'serviceworkers/polyfills/cachePolyfill.js', |
| 62 ], |
| 63 }, |
| 64 'inputs': [ |
| 65 '../build/scripts/make-file-arrays.py', |
| 66 '<@(resources)', |
| 67 ], |
| 68 'outputs': [ |
| 69 '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
| 70 '<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
| 71 ], |
| 72 'action': [ |
| 73 'python', |
| 74 '../build/scripts/make-file-arrays.py', |
| 75 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.h', |
| 76 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CachePolyfill.cpp', |
| 77 '--namespace=WebCore', |
| 78 '<@(resources)', |
| 79 ], |
| 80 }, |
| 81 ], |
55 # Disable c4267 warnings until we fix size_t to int truncations. | 82 # Disable c4267 warnings until we fix size_t to int truncations. |
56 'msvs_disabled_warnings': [ 4267, 4334, ] | 83 'msvs_disabled_warnings': [ 4267, 4334, ] |
57 }, | 84 }, |
58 { | 85 { |
59 'target_name': 'modules_testing', | 86 'target_name': 'modules_testing', |
60 'type': 'static_library', | 87 'type': 'static_library', |
61 'dependencies': [ | 88 'dependencies': [ |
62 '../config.gyp:config', | 89 '../config.gyp:config', |
63 '../core/core.gyp:webcore', | 90 '../core/core.gyp:webcore', |
64 ], | 91 ], |
(...skipping 19 matching lines...) Expand all Loading... |
84 ], | 111 ], |
85 'sources': [ | 112 'sources': [ |
86 # bison rule | 113 # bison rule |
87 '../core/css/CSSGrammar.y', | 114 '../core/css/CSSGrammar.y', |
88 '../core/xml/XPathGrammar.y', | 115 '../core/xml/XPathGrammar.y', |
89 ], | 116 ], |
90 'actions': [ | 117 'actions': [ |
91 ], | 118 ], |
92 }], | 119 }], |
93 } | 120 } |
OLD | NEW |