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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 'INSIDE_BLINK', | 49 'INSIDE_BLINK', |
50 ], | 50 ], |
51 'sources': [ | 51 'sources': [ |
52 '<@(modules_files)', | 52 '<@(modules_files)', |
53 '<@(bindings_modules_generated_aggregate_files)', | 53 '<@(bindings_modules_generated_aggregate_files)', |
54 ], | 54 ], |
55 # Disable c4267 warnings until we fix size_t to int truncations. | 55 # Disable c4267 warnings until we fix size_t to int truncations. |
56 'msvs_disabled_warnings': [ 4267, 4334, ] | 56 'msvs_disabled_warnings': [ 4267, 4334, ] |
57 }, | 57 }, |
58 { | 58 { |
| 59 'target_name': 'modules_bindings_generated', |
| 60 'type': 'none', |
| 61 'actions': [ |
| 62 { |
| 63 'action_name': 'event_interfaces', |
| 64 'variables': { |
| 65 'event_idl_files': [ |
| 66 '<@(modules_event_idl_files)', |
| 67 ], |
| 68 'event_idl_files_list': |
| 69 '<|(event_idl_files_list.tmp <@(event_idl_files))', |
| 70 }, |
| 71 'inputs': [ |
| 72 '../bindings/scripts/generate_event_interfaces.py', |
| 73 '../bindings/scripts/utilities.py', |
| 74 '<(event_idl_files_list)', |
| 75 '<@(event_idl_files)', |
| 76 ], |
| 77 'outputs': [ |
| 78 '<(blink_output_dir)/EventModulesInterfaces.in', |
| 79 ], |
| 80 'action': [ |
| 81 'python', |
| 82 '../bindings/scripts/generate_event_interfaces.py', |
| 83 '--event-idl-files-list', |
| 84 '<(event_idl_files_list)', |
| 85 '--event-interfaces-file', |
| 86 '<(blink_output_dir)/EventModulesInterfaces.in', |
| 87 '--write-file-only-if-changed', |
| 88 '<(write_file_only_if_changed)', |
| 89 '--suffix', |
| 90 'Modules', |
| 91 ], |
| 92 }, |
| 93 ], |
| 94 }, |
| 95 { |
59 'target_name': 'modules_testing', | 96 'target_name': 'modules_testing', |
60 'type': 'static_library', | 97 'type': 'static_library', |
61 'dependencies': [ | 98 'dependencies': [ |
62 '../config.gyp:config', | 99 '../config.gyp:config', |
63 '../core/core.gyp:webcore', | 100 '../core/core.gyp:webcore', |
64 ], | 101 ], |
65 'defines': [ | 102 'defines': [ |
66 'BLINK_IMPLEMENTATION=1', | 103 'BLINK_IMPLEMENTATION=1', |
67 'INSIDE_BLINK', | 104 'INSIDE_BLINK', |
68 ], | 105 ], |
69 'sources': [ | 106 'sources': [ |
70 '<@(modules_testing_files)', | 107 '<@(modules_testing_files)', |
71 ], | 108 ], |
72 | 109 |
73 }, | 110 }, |
74 { | 111 { |
75 'target_name': 'make_modules_generated', | 112 'target_name': 'make_modules_generated', |
76 'type': 'none', | 113 'type': 'none', |
77 'hard_dependency': 1, | 114 'hard_dependency': 1, |
78 'dependencies': [ | 115 'dependencies': [ |
79 #'generated_testing_idls', | 116 #'generated_testing_idls', |
80 '../bindings/core_bindings_generated.gyp:core_bindings_generated', | 117 '../core/core_generated.gyp:core_bindings_generated', |
| 118 'modules_bindings_generated', |
81 '../config.gyp:config', | 119 '../config.gyp:config', |
82 ], | 120 ], |
83 'sources': [ | 121 'sources': [ |
84 # bison rule | 122 # bison rule |
85 '../core/css/CSSGrammar.y', | 123 '../core/css/CSSGrammar.y', |
86 '../core/xml/XPathGrammar.y', | 124 '../core/xml/XPathGrammar.y', |
87 ], | 125 ], |
88 'actions': [ | 126 'actions': [ |
89 { | 127 { |
| 128 'action_name': 'EventModulesFactory', |
| 129 'inputs': [ |
| 130 '<@(make_event_factory_files)', |
| 131 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
| 132 ], |
| 133 'outputs': [ |
| 134 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModules.cpp', |
| 135 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesHeaders.h', |
| 136 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.h', |
| 137 ], |
| 138 'action': [ |
| 139 'python', |
| 140 '../build/scripts/make_event_factory.py', |
| 141 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
| 142 '--output_dir', |
| 143 '<(SHARED_INTERMEDIATE_DIR)/blink', |
| 144 ], |
| 145 }, |
| 146 { |
| 147 'action_name': 'EventModulesNames', |
| 148 'inputs': [ |
| 149 '<@(make_names_files)', |
| 150 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
| 151 ], |
| 152 'outputs': [ |
| 153 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.cpp', |
| 154 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.h', |
| 155 ], |
| 156 'action': [ |
| 157 'python', |
| 158 '../build/scripts/make_names.py', |
| 159 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
| 160 '--output_dir', |
| 161 '<(SHARED_INTERMEDIATE_DIR)/blink', |
| 162 ], |
| 163 }, |
| 164 { |
90 'action_name': 'EventTargetModulesFactory', | 165 'action_name': 'EventTargetModulesFactory', |
91 'inputs': [ | 166 'inputs': [ |
92 '<@(make_event_factory_files)', | 167 '<@(make_event_factory_files)', |
93 'EventTargetModulesFactory.in', | 168 'EventTargetModulesFactory.in', |
94 ], | 169 ], |
95 'outputs': [ | 170 'outputs': [ |
96 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesHeaders.h', | 171 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesHeaders.h', |
97 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesInterfaces.h', | 172 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesInterfaces.h', |
98 ], | 173 ], |
99 'action': [ | 174 'action': [ |
(...skipping 18 matching lines...) Expand all Loading... |
118 'python', | 193 'python', |
119 '../build/scripts/make_names.py', | 194 '../build/scripts/make_names.py', |
120 'EventTargetModulesFactory.in', | 195 'EventTargetModulesFactory.in', |
121 '--output_dir', | 196 '--output_dir', |
122 '<(SHARED_INTERMEDIATE_DIR)/blink', | 197 '<(SHARED_INTERMEDIATE_DIR)/blink', |
123 ], | 198 ], |
124 }, | 199 }, |
125 ], | 200 ], |
126 }], | 201 }], |
127 } | 202 } |
OLD | NEW |