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 ], | |
82 # Disable c4267 warnings until we fix size_t to int truncations. | 55 # Disable c4267 warnings until we fix size_t to int truncations. |
83 'msvs_disabled_warnings': [ 4267, 4334, ] | 56 'msvs_disabled_warnings': [ 4267, 4334, ] |
84 }, | 57 }, |
85 { | 58 { |
86 'target_name': 'modules_testing', | 59 'target_name': 'modules_testing', |
87 'type': 'static_library', | 60 'type': 'static_library', |
88 'dependencies': [ | 61 'dependencies': [ |
89 '../config.gyp:config', | 62 '../config.gyp:config', |
90 '../core/core.gyp:webcore', | 63 '../core/core.gyp:webcore', |
91 ], | 64 ], |
(...skipping 19 matching lines...) Expand all Loading... |
111 ], | 84 ], |
112 'sources': [ | 85 'sources': [ |
113 # bison rule | 86 # bison rule |
114 '../core/css/CSSGrammar.y', | 87 '../core/css/CSSGrammar.y', |
115 '../core/xml/XPathGrammar.y', | 88 '../core/xml/XPathGrammar.y', |
116 ], | 89 ], |
117 'actions': [ | 90 'actions': [ |
118 ], | 91 ], |
119 }], | 92 }], |
120 } | 93 } |
OLD | NEW |