Chromium Code Reviews| 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_testing_idl_files': [ | |
| 55 '<@(deprecated_perl_webcore_test_support_idl_files)', | |
| 56 '<@(python_webcore_test_support_idl_files)', | |
| 57 ], | |
| 58 'deprecated_perl_bindings_test_support_idl_files': [ | |
| 59 '<@(deprecated_perl_webcore_test_support_idl_files)', | |
| 60 '<@(deprecated_perl_generated_webcore_test_support_idl_files)', | |
| 61 ], | |
| 54 'webcore_test_support_idl_files': [ | 62 'webcore_test_support_idl_files': [ |
| 55 '<@(deprecated_perl_webcore_test_support_idl_files)', | 63 '<@(deprecated_perl_bindings_test_support_idl_files)', |
| 56 '<@(python_webcore_test_support_idl_files)', | 64 '<@(python_webcore_test_support_idl_files)', |
| 57 ], | 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', |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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_idl_files))' , |
| 162 'testing_idl_files_list': '<|(testing_idl_files_list.tmp <@(perl_and_pyt hon_testing_idl_files))', | |
| 154 }, | 163 }, |
| 155 'inputs': [ | 164 'inputs': [ |
| 156 'scripts/compute_dependencies.py', | 165 'scripts/compute_dependencies.py', |
| 157 '<(idl_files_list)', | 166 '<(idl_files_list)', |
| 158 '<!@(cat <(idl_files_list))', | 167 '<!@(cat <(idl_files_list))', |
| 168 '<(testing_idl_files_list)', | |
| 169 '<!@(cat <(testing_idl_files_list))', | |
| 159 ], | 170 ], |
| 160 'outputs': [ | 171 'outputs': [ |
| 161 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 172 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 173 '<(SHARED_INTERMEDIATE_DIR)/blink/BindingDeriveDsources.txt', | |
|
Nils Barth (inactive)
2013/09/17 02:23:35
Could you fix capitalization, and rename to Bindin
kihong
2013/10/04 06:11:38
Done.
| |
| 162 '<@(generated_global_constructors_idl_files)', | 174 '<@(generated_global_constructors_idl_files)', |
| 163 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', | 175 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', |
| 164 ], | 176 ], |
| 165 'msvs_cygwin_shell': 0, | 177 'msvs_cygwin_shell': 0, |
| 166 'action': [ | 178 'action': [ |
| 167 'python', | 179 'python', |
| 168 'scripts/compute_dependencies.py', | 180 'scripts/compute_dependencies.py', |
| 169 '--idl-files-list', | 181 '--idl-files-list', |
| 170 '<(idl_files_list)', | 182 '<(idl_files_list)', |
| 183 '--testing-idl-files-list', | |
| 184 '<(testing_idl_files_list)', | |
| 171 '--interface-dependencies-file', | 185 '--interface-dependencies-file', |
| 172 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 186 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 187 '--binding-derived-source-file', | |
| 188 '<(SHARED_INTERMEDIATE_DIR)/blink/BindingDeriveDsources.txt', | |
|
Nils Barth (inactive)
2013/09/17 02:23:35
Here too:
'<(SHARED_INTERMEDIATE_DIR)/blink/Bindin
kihong
2013/10/04 06:11:38
Done.
| |
| 173 '--window-constructors-file', | 189 '--window-constructors-file', |
| 174 '<(SHARED_INTERMEDIATE_DIR)/blink/WindowConstructors.idl', | 190 '<(SHARED_INTERMEDIATE_DIR)/blink/WindowConstructors.idl', |
| 175 '--workerglobalscope-constructors-file', | 191 '--workerglobalscope-constructors-file', |
| 176 '<(SHARED_INTERMEDIATE_DIR)/blink/WorkerGlobalScopeConstructors.idl', | 192 '<(SHARED_INTERMEDIATE_DIR)/blink/WorkerGlobalScopeConstructors.idl', |
| 177 '--sharedworkerglobalscope-constructors-file', | 193 '--sharedworkerglobalscope-constructors-file', |
| 178 '<(SHARED_INTERMEDIATE_DIR)/blink/SharedWorkerGlobalScopeConstructors.i dl', | 194 '<(SHARED_INTERMEDIATE_DIR)/blink/SharedWorkerGlobalScopeConstructors.i dl', |
| 179 '--dedicatedworkerglobalscope-constructors-file', | 195 '--dedicatedworkerglobalscope-constructors-file', |
| 180 '<(SHARED_INTERMEDIATE_DIR)/blink/DedicatedWorkerGlobalScopeConstructor s.idl', | 196 '<(SHARED_INTERMEDIATE_DIR)/blink/DedicatedWorkerGlobalScopeConstructor s.idl', |
| 181 '--event-names-file', | 197 '--event-names-file', |
| 182 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', | 198 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', |
| 183 '<@(write_file_only_if_changed)', | 199 '<@(write_file_only_if_changed)', |
| 184 ], | 200 ], |
| 185 'message': 'Resolving partial interfaces dependencies in all IDL files', | 201 'message': 'Resolving partial interfaces dependencies in all IDL files', |
| 186 }] | 202 }] |
| 187 }, | 203 }, |
| 188 { | 204 { |
| 189 'target_name': 'deprecated_perl_bindings_sources', | 205 'target_name': 'deprecated_perl_bindings_sources', |
| 190 'type': 'none', | 206 'type': 'none', |
| 191 # The 'binding' rule generates .h files, so mark as hard_dependency, per: | 207 # The 'binding' rule generates .h files, so mark as hard_dependency, per: |
| 192 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen cies | 208 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependen cies |
| 193 'hard_dependency': 1, | 209 'hard_dependency': 1, |
| 194 'dependencies': [ | 210 'dependencies': [ |
| 195 'interface_dependencies', | 211 'interface_dependencies', |
| 196 '../core/core_derived_sources.gyp:generate_test_support_idls', | 212 '../core/core_derived_sources.gyp:generate_test_support_idls', |
| 197 ], | 213 ], |
| 198 'sources': [ | 214 'sources': [ |
| 199 '<@(deprecated_perl_idl_files)', | 215 '<@(deprecated_perl_idl_files)', |
| 200 '<@(deprecated_perl_webcore_test_support_idl_files)', | 216 '<@(deprecated_perl_bindings_test_support_idl_files)', |
| 201 ], | 217 ], |
| 202 'rules': [{ | 218 'rules': [{ |
| 203 'rule_name': 'deprecated_perl_binding', | 219 'rule_name': 'deprecated_perl_binding', |
| 204 'extension': 'idl', | 220 'extension': 'idl', |
| 205 'msvs_external_rule': 1, | 221 'msvs_external_rule': 1, |
| 206 'inputs': [ | 222 'inputs': [ |
| 207 'scripts/deprecated_generate_bindings.pl', | 223 'scripts/deprecated_generate_bindings.pl', |
| 208 'scripts/deprecated_code_generator_v8.pm', | 224 'scripts/deprecated_code_generator_v8.pm', |
| 209 'scripts/deprecated_idl_parser.pm', | 225 'scripts/deprecated_idl_parser.pm', |
| 210 'scripts/deprecated_idl_serializer.pm', | 226 'scripts/deprecated_idl_serializer.pm', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 252 'scripts/deprecated_generate_bindings.pl', | 268 'scripts/deprecated_generate_bindings.pl', |
| 253 '--outputDir', | 269 '--outputDir', |
| 254 '<(bindings_output_dir)', | 270 '<(bindings_output_dir)', |
| 255 '--idlAttributesFile', | 271 '--idlAttributesFile', |
| 256 'scripts/IDLAttributes.txt', | 272 'scripts/IDLAttributes.txt', |
| 257 '<@(generator_include_dirs)', | 273 '<@(generator_include_dirs)', |
| 258 '<@(extra_blink_generator_include_dirs)', | 274 '<@(extra_blink_generator_include_dirs)', |
| 259 '--interfaceDependenciesFile', | 275 '--interfaceDependenciesFile', |
| 260 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 276 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', |
| 261 '--additionalIdlFiles', | 277 '--additionalIdlFiles', |
| 262 '<(deprecated_perl_webcore_test_support_idl_files)', | 278 '<(deprecated_perl_generated_webcore_test_support_idl_files)', |
| 263 '<@(preprocessor)', | 279 '<@(preprocessor)', |
| 264 '<@(write_file_only_if_changed)', | 280 '<@(write_file_only_if_changed)', |
| 265 '<(RULE_INPUT_PATH)', | 281 '<(RULE_INPUT_PATH)', |
| 266 ], | 282 ], |
| 267 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 283 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
| 268 }], | 284 }], |
| 269 }, | 285 }, |
| 270 { | 286 { |
| 271 'target_name': 'python_bindings_sources', | 287 'target_name': 'python_bindings_sources', |
| 272 'type': 'none', | 288 'type': 'none', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 343 'type': 'none', | 359 'type': 'none', |
| 344 'dependencies': [ | 360 'dependencies': [ |
| 345 'interface_dependencies', | 361 'interface_dependencies', |
| 346 'deprecated_perl_bindings_sources', | 362 'deprecated_perl_bindings_sources', |
| 347 'python_bindings_sources', | 363 'python_bindings_sources', |
| 348 ], | 364 ], |
| 349 'actions': [{ | 365 'actions': [{ |
| 350 'action_name': 'derived_sources_all_in_one', | 366 'action_name': 'derived_sources_all_in_one', |
| 351 'inputs': [ | 367 'inputs': [ |
| 352 '../core/scripts/action_derivedsourcesallinone.py', | 368 '../core/scripts/action_derivedsourcesallinone.py', |
| 353 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 369 '<(SHARED_INTERMEDIATE_DIR)/blink/BindingDeriveDsources.txt', |
|
Nils Barth (inactive)
2013/09/17 02:23:35
Here too.
(And now the build dependencies are much
kihong
2013/10/04 06:11:38
Done.
| |
| 354 ], | 370 ], |
| 355 'outputs': [ | 371 'outputs': [ |
| 356 '<@(derived_sources_aggregate_files)', | 372 '<@(derived_sources_aggregate_files)', |
| 357 ], | 373 ], |
| 358 'action': [ | 374 'action': [ |
| 359 'python', | 375 'python', |
| 360 '../core/scripts/action_derivedsourcesallinone.py', | 376 '../core/scripts/action_derivedsourcesallinone.py', |
| 361 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfaceDependencies.txt', | 377 '<(SHARED_INTERMEDIATE_DIR)/blink/BindingDeriveDsources.txt', |
|
Nils Barth (inactive)
2013/09/17 02:23:35
Ditto.
kihong
2013/10/04 06:11:38
Done.
| |
| 362 '--', | 378 '--', |
| 363 '<@(derived_sources_aggregate_files)', | 379 '<@(derived_sources_aggregate_files)', |
| 364 ], | 380 ], |
| 365 'message': 'Generating bindings derived sources', | 381 'message': 'Generating bindings derived sources', |
| 366 }], | 382 }], |
| 367 }, | 383 }, |
| 368 ], | 384 ], |
| 369 } | 385 } |
| OLD | NEW |