| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 ], | 44 ], |
| 45 'python_idl_files': [ | 45 'python_idl_files': [ |
| 46 '<@(python_core_idl_files)', | 46 '<@(python_core_idl_files)', |
| 47 '<@(python_modules_idl_files)', | 47 '<@(python_modules_idl_files)', |
| 48 '<@(python_svg_idl_files)', | 48 '<@(python_svg_idl_files)', |
| 49 ], | 49 ], |
| 50 'perl_and_python_idl_files': [ | 50 'perl_and_python_idl_files': [ |
| 51 '<@(deprecated_perl_idl_files)', | 51 '<@(deprecated_perl_idl_files)', |
| 52 '<@(python_idl_files)', | 52 '<@(python_idl_files)', |
| 53 ], | 53 ], |
| 54 'perl_and_python_compute_dependencies_idl_files': [ |
| 55 '<@(perl_and_python_idl_files)', |
| 56 '<@(deprecated_perl_webcore_test_support_idl_files)', |
| 57 ], |
| 54 'webcore_test_support_idl_files': [ | 58 'webcore_test_support_idl_files': [ |
| 55 '<@(deprecated_perl_webcore_test_support_idl_files)', | 59 '<@(deprecated_perl_webcore_test_support_idl_files)', |
| 56 '<@(python_webcore_test_support_idl_files)', | 60 '<@(python_webcore_test_support_idl_files)', |
| 57 ], | 61 ], |
| 62 'deprecated_perl_bindings_test_support_idl_files': [ |
| 63 '<@(deprecated_perl_webcore_test_support_idl_files)', |
| 64 '<@(deprecated_perl_generated_webcore_test_support_idl_files)', |
| 65 ], |
| 58 'compiler_module_files': [ | 66 'compiler_module_files': [ |
| 59 'scripts/idl_compiler.py', | 67 'scripts/idl_compiler.py', |
| 60 '<(DEPTH)/third_party/ply/lex.py', | 68 '<(DEPTH)/third_party/ply/lex.py', |
| 61 '<(DEPTH)/third_party/ply/yacc.py', | 69 '<(DEPTH)/third_party/ply/yacc.py', |
| 62 '<(DEPTH)/tools/idl_parser/idl_lexer.py', | 70 '<(DEPTH)/tools/idl_parser/idl_lexer.py', |
| 63 '<(DEPTH)/tools/idl_parser/idl_node.py', | 71 '<(DEPTH)/tools/idl_parser/idl_node.py', |
| 64 '<(DEPTH)/tools/idl_parser/idl_parser.py', | 72 '<(DEPTH)/tools/idl_parser/idl_parser.py', |
| 65 'scripts/blink_idl_lexer.py', | 73 'scripts/blink_idl_lexer.py', |
| 66 'scripts/blink_idl_parser.py', | 74 'scripts/blink_idl_parser.py', |
| 67 'scripts/code_generator_v8.py', | 75 'scripts/code_generator_v8.py', |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 }, | 151 }, |
| 144 | 152 |
| 145 'targets': [{ | 153 'targets': [{ |
| 146 'target_name': 'interface_dependencies', | 154 'target_name': 'interface_dependencies', |
| 147 'type': 'none', | 155 'type': 'none', |
| 148 'actions': [{ | 156 'actions': [{ |
| 149 'action_name': 'compute_interface_dependencies', | 157 'action_name': 'compute_interface_dependencies', |
| 150 'variables': { | 158 'variables': { |
| 151 # Write sources into a file, so that the action command line won't | 159 # Write sources into a file, so that the action command line won't |
| 152 # exceed OS limits. | 160 # exceed OS limits. |
| 153 'idl_files_list': '<|(idl_files_list.tmp <@(perl_and_python_idl_files))'
, | 161 'idl_files_list': '<|(idl_files_list.tmp <@(perl_and_python_compute_depe
ndencies_idl_files))', |
| 154 }, | 162 }, |
| 155 'inputs': [ | 163 'inputs': [ |
| 156 'scripts/compute_dependencies.py', | 164 'scripts/compute_dependencies.py', |
| 157 '<(idl_files_list)', | 165 '<(idl_files_list)', |
| 158 '<!@(cat <(idl_files_list))', | 166 '<!@(cat <(idl_files_list))', |
| 159 ], | 167 ], |
| 160 'outputs': [ | 168 'outputs': [ |
| 161 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 169 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 162 '<@(generated_global_constructors_idl_files)', | 170 '<@(generated_global_constructors_idl_files)', |
| 163 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', | 171 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 190 'type': 'none', | 198 'type': 'none', |
| 191 # The 'binding' rule generates .h files, so mark as hard_dependency, per: | 199 # The 'binding' rule generates .h files, so mark as hard_dependency, per: |
| 192 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen
cies | 200 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen
cies |
| 193 'hard_dependency': 1, | 201 'hard_dependency': 1, |
| 194 'dependencies': [ | 202 'dependencies': [ |
| 195 'interface_dependencies', | 203 'interface_dependencies', |
| 196 '../core/core_derived_sources.gyp:generate_test_support_idls', | 204 '../core/core_derived_sources.gyp:generate_test_support_idls', |
| 197 ], | 205 ], |
| 198 'sources': [ | 206 'sources': [ |
| 199 '<@(deprecated_perl_idl_files)', | 207 '<@(deprecated_perl_idl_files)', |
| 200 '<@(deprecated_perl_webcore_test_support_idl_files)', | 208 '<@(deprecated_perl_bindings_test_support_idl_files)', |
| 201 ], | 209 ], |
| 202 'rules': [{ | 210 'rules': [{ |
| 203 'rule_name': 'deprecated_perl_binding', | 211 'rule_name': 'deprecated_perl_binding', |
| 204 'extension': 'idl', | 212 'extension': 'idl', |
| 205 'msvs_external_rule': 1, | 213 'msvs_external_rule': 1, |
| 206 'inputs': [ | 214 'inputs': [ |
| 207 'scripts/deprecated_generate_bindings.pl', | 215 'scripts/deprecated_generate_bindings.pl', |
| 208 'scripts/deprecated_code_generator_v8.pm', | 216 'scripts/deprecated_code_generator_v8.pm', |
| 209 'scripts/deprecated_idl_parser.pm', | 217 'scripts/deprecated_idl_parser.pm', |
| 210 'scripts/deprecated_idl_serializer.pm', | 218 'scripts/deprecated_idl_serializer.pm', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 'scripts/deprecated_generate_bindings.pl', | 260 'scripts/deprecated_generate_bindings.pl', |
| 253 '--outputDir', | 261 '--outputDir', |
| 254 '<(bindings_output_dir)', | 262 '<(bindings_output_dir)', |
| 255 '--idlAttributesFile', | 263 '--idlAttributesFile', |
| 256 'scripts/IDLAttributes.txt', | 264 'scripts/IDLAttributes.txt', |
| 257 '<@(generator_include_dirs)', | 265 '<@(generator_include_dirs)', |
| 258 '<@(extra_blink_generator_include_dirs)', | 266 '<@(extra_blink_generator_include_dirs)', |
| 259 '--interfaceDependenciesFile', | 267 '--interfaceDependenciesFile', |
| 260 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 268 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 261 '--additionalIdlFiles', | 269 '--additionalIdlFiles', |
| 262 '<(deprecated_perl_webcore_test_support_idl_files)', | 270 '<(deprecated_perl_generated_webcore_test_support_idl_files)', |
| 263 '<@(preprocessor)', | 271 '<@(preprocessor)', |
| 264 '<@(write_file_only_if_changed)', | 272 '<@(write_file_only_if_changed)', |
| 265 '<(RULE_INPUT_PATH)', | 273 '<(RULE_INPUT_PATH)', |
| 266 ], | 274 ], |
| 267 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 275 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
| 268 }], | 276 }], |
| 269 }, | 277 }, |
| 270 { | 278 { |
| 271 'target_name': 'python_bindings_sources', | 279 'target_name': 'python_bindings_sources', |
| 272 'type': 'none', | 280 'type': 'none', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 '../core/scripts/action_derivedsourcesallinone.py', | 368 '../core/scripts/action_derivedsourcesallinone.py', |
| 361 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 369 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 362 '--', | 370 '--', |
| 363 '<@(derived_sources_aggregate_files)', | 371 '<@(derived_sources_aggregate_files)', |
| 364 ], | 372 ], |
| 365 'message': 'Generating bindings derived sources', | 373 'message': 'Generating bindings derived sources', |
| 366 }], | 374 }], |
| 367 }, | 375 }, |
| 368 ], | 376 ], |
| 369 } | 377 } |
| OLD | NEW |