| OLD | NEW |
| 1 { | 1 { |
| 2 'includes': [ | 2 'includes': [ |
| 3 '../../../../WebKit/chromium/features.gypi', | 3 '../../../../WebKit/chromium/features.gypi', |
| 4 '../../../WebCore.gypi', | 4 '../../../WebCore.gypi', |
| 5 'overrides.gypi', | 5 'overrides.gypi', |
| 6 ], | 6 ], |
| 7 'variables': { | 7 'variables': { |
| 8 'dart_dir': '../../../../../../../dart', | 8 'dart_dir': '../../../../../../../dart', |
| 9 'dart_client_dir': '<(dart_dir)/client', | 9 'dart_client_dir': '<(dart_dir)/client', |
| 10 'dom_common_dir': '<(dart_client_dir)/dom/common', | 10 'dom_common_dir': '<(dart_client_dir)/dom/common', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 }, | 129 }, |
| 130 { | 130 { |
| 131 'target_name': 'dart_generated_sources', | 131 'target_name': 'dart_generated_sources', |
| 132 'type': 'none', | 132 'type': 'none', |
| 133 'hard_dependency': 1, | 133 'hard_dependency': 1, |
| 134 'sources': [ | 134 'sources': [ |
| 135 '<@(bindings_idl_files)', | 135 '<@(bindings_idl_files)', |
| 136 ], | 136 ], |
| 137 'actions': [ | 137 'actions': [ |
| 138 { | 138 { |
| 139 'action_name': 'dart_derived_sources_all_in_one', | |
| 140 'variables': { | |
| 141 # Write sources into a file, so that the action command line won't | |
| 142 # exceed OS limites. | |
| 143 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_f
iles))', | |
| 144 }, | |
| 145 'inputs': [ | |
| 146 'scripts/dart_action_derivedsourcesallinone.py', | |
| 147 '<(idls_list_temp_file)', | |
| 148 '<@(bindings_idl_files)', | |
| 149 ], | |
| 150 'outputs': [ | |
| 151 '<@(additional_derived_sources_aggregate_files)', | |
| 152 ], | |
| 153 'action': [ | |
| 154 'python', | |
| 155 'scripts/dart_action_derivedsourcesallinone.py', | |
| 156 '<(idls_list_temp_file)', | |
| 157 '--', | |
| 158 '<@(additional_derived_sources_aggregate_files)', | |
| 159 ], | |
| 160 }, | |
| 161 { | |
| 162 'action_name': 'V8HTMLNames', | 139 'action_name': 'V8HTMLNames', |
| 163 'inputs': [ | 140 'inputs': [ |
| 164 '<(webcore_dir)/dom/make_names.pl', | 141 '<(webcore_dir)/dom/make_names.pl', |
| 165 '<(webcore_dir)/html/HTMLTagNames.in', | 142 '<(webcore_dir)/html/HTMLTagNames.in', |
| 166 '<(webcore_dir)/html/HTMLAttributeNames.in', | 143 '<(webcore_dir)/html/HTMLAttributeNames.in', |
| 167 ], | 144 ], |
| 168 'outputs': [ | 145 'outputs': [ |
| 169 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLNames.cpp', | 146 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLNames.cpp', |
| 170 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLNames.h', | 147 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLNames.h', |
| 171 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLElementFactory.cpp', | 148 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp/HTMLElementFactory.cpp', |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 ], | 226 ], |
| 250 'action': [ | 227 'action': [ |
| 251 'python', | 228 'python', |
| 252 'scripts/massage_factories.py', | 229 'scripts/massage_factories.py', |
| 253 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp', | 230 '<(SHARED_INTERMEDIATE_DIR)/webkit/tmp', |
| 254 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 231 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 255 'SVG' | 232 'SVG' |
| 256 ], | 233 ], |
| 257 }, | 234 }, |
| 258 ], | 235 ], |
| 259 'rules': [ | |
| 260 { | |
| 261 'rule_name': 'dart_binding', | |
| 262 'extension': 'idl', | |
| 263 'msvs_external_rule': 1, | |
| 264 'inputs': [ | |
| 265 '<(scripts_dir)/generate-bindings.pl', | |
| 266 '<(scripts_dir)/CodeGenerator.pm', | |
| 267 'scripts/CodeGeneratorDart.pm', | |
| 268 '<(scripts_dir)/IDLParser.pm', | |
| 269 '<(scripts_dir)/IDLStructure.pm', | |
| 270 '<(scripts_dir)/preprocessor.pm', | |
| 271 ], | |
| 272 'outputs': [ | |
| 273 # FIXME: The .cpp file should be in webkit/bindings once | |
| 274 # we coax GYP into supporting it (see 'action' below). | |
| 275 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/Dart<(RULE_INPUT_ROOT).
cpp', | |
| 276 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/Dart<(RULE_INPUT_ROOT).h
', | |
| 277 ], | |
| 278 'variables': { | |
| 279 'generator_include_dirs': [ | |
| 280 '--include', '<(webcore_dir)/css', | |
| 281 '--include', '<(webcore_dir)/dom', | |
| 282 '--include', '<(webcore_dir)/fileapi', | |
| 283 '--include', '<(webcore_dir)/html', | |
| 284 '--include', '<(webcore_dir)/mediastream', | |
| 285 '--include', '<(webcore_dir)/notifications', | |
| 286 '--include', '<(webcore_dir)/page', | |
| 287 '--include', '<(webcore_dir)/plugins', | |
| 288 '--include', '<(webcore_dir)/storage', | |
| 289 '--include', '<(webcore_dir)/svg', | |
| 290 '--include', '<(webcore_dir)/testing', | |
| 291 '--include', '<(webcore_dir)/webaudio', | |
| 292 '--include', '<(webcore_dir)/websockets', | |
| 293 '--include', '<(webcore_dir)/workers', | |
| 294 '--include', '<(webcore_dir)/xml', | |
| 295 ], | |
| 296 }, | |
| 297 # FIXME: Note that we put the .cpp files in webcore/bindings | |
| 298 # but the .h files in webkit/bindings. This is to work around | |
| 299 # the unfortunate fact that GYP strips duplicate arguments | |
| 300 # from lists. When we have a better GYP way to suppress that | |
| 301 # behavior, change the output location. | |
| 302 'action': [ | |
| 303 'perl', | |
| 304 '-w', | |
| 305 '-I<(webcore_gyp_dir)/../bindings/scripts', | |
| 306 '-Iscripts', | |
| 307 '<(webcore_gyp_dir)/../bindings/scripts/generate-bindings.pl', | |
| 308 '--outputHeadersDir', | |
| 309 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', | |
| 310 '--outputDir', | |
| 311 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings', | |
| 312 '--defines', | |
| 313 '<(feature_defines) LANGUAGE_JAVASCRIPT LANGUAGE_DART', | |
| 314 '--generator', | |
| 315 'Dart', | |
| 316 '<@(generator_include_dirs)', | |
| 317 '<(RULE_INPUT_PATH)', | |
| 318 ], | |
| 319 'message': 'Generating Dart binding from <(RULE_INPUT_PATH)', | |
| 320 }, | |
| 321 ], | |
| 322 }, | 236 }, |
| 323 { | 237 { |
| 324 'target_name': 'dart_snapshot', | 238 'target_name': 'dart_snapshot', |
| 325 'type': 'none', | 239 'type': 'none', |
| 326 'hard_dependency': 1, | 240 'hard_dependency': 1, |
| 327 'dependencies': [ | 241 'dependencies': [ |
| 328 'dart_generated_sources', | 242 'dart_generated_sources', |
| 329 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot', | 243 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot', |
| 330 ], | 244 ], |
| 331 'variables': { | 245 'variables': { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 346 'inputs': [ | 260 'inputs': [ |
| 347 'scripts/build_dart_snapshot.py', | 261 'scripts/build_dart_snapshot.py', |
| 348 'scripts/CodeGeneratorDart.pm', | 262 'scripts/CodeGeneratorDart.pm', |
| 349 '<(idls_list_temp_file)', | 263 '<(idls_list_temp_file)', |
| 350 '<@(bindings_idl_files)', | 264 '<@(bindings_idl_files)', |
| 351 | 265 |
| 352 '<(dart_scripts_dir)/fremontcutbuilder.py', | 266 '<(dart_scripts_dir)/fremontcutbuilder.py', |
| 353 '<(dart_scripts_dir)/dartdomgenerator.py', | 267 '<(dart_scripts_dir)/dartdomgenerator.py', |
| 354 '<(dart_scripts_dir)/dartgenerator.py', | 268 '<(dart_scripts_dir)/dartgenerator.py', |
| 355 | 269 |
| 270 '<(dart_templates_dir)/cpp_all_in_one.template', |
| 271 '<(dart_templates_dir)/cpp_callback_header.template', |
| 272 '<(dart_templates_dir)/cpp_callback_implementation.template', |
| 273 '<(dart_templates_dir)/cpp_header.template', |
| 274 '<(dart_templates_dir)/cpp_implementation.template', |
| 275 '<(dart_templates_dir)/cpp_resolver.template', |
| 356 '<(dart_templates_dir)/dart_implementation.darttemplate', | 276 '<(dart_templates_dir)/dart_implementation.darttemplate', |
| 357 '<(dart_templates_dir)/dom_public.darttemplate', | 277 '<(dart_templates_dir)/dom_public.darttemplate', |
| 358 '<(dart_templates_dir)/dom_impl.darttemplate', | 278 '<(dart_templates_dir)/dom_impl.darttemplate', |
| 359 | 279 |
| 360 '<(dart_auxiliary_dir)/DOMType.dart', | 280 '<(dart_auxiliary_dir)/DOMType.dart', |
| 361 '<(dart_auxiliary_dir)/DOMWrapperBase.dart', | 281 '<(dart_auxiliary_dir)/DOMWrapperBase.dart', |
| 362 '<(dart_auxiliary_dir)/EventListener.dart', | 282 '<(dart_auxiliary_dir)/EventListener.dart', |
| 363 '<(dart_auxiliary_dir)/frog_FactoryProviders.dart', | 283 '<(dart_auxiliary_dir)/frog_FactoryProviders.dart', |
| 364 '<(dart_auxiliary_dir)/GlobalProperties.dart', | 284 '<(dart_auxiliary_dir)/GlobalProperties.dart', |
| 365 '<(dart_auxiliary_dir)/KeyLocation.dart', | 285 '<(dart_auxiliary_dir)/KeyLocation.dart', |
| 366 '<(dart_auxiliary_dir)/KeyName.dart', | 286 '<(dart_auxiliary_dir)/KeyName.dart', |
| 367 '<(dart_auxiliary_dir)/native_DOMImplementation.dart', | 287 '<(dart_auxiliary_dir)/native_DOMImplementation.dart', |
| 368 '<(dart_auxiliary_dir)/native_DOMPublic.dart', | 288 '<(dart_auxiliary_dir)/native_DOMPublic.dart', |
| 369 '<(dart_auxiliary_dir)/native_DOMWrapperBase.dart', | 289 '<(dart_auxiliary_dir)/native_DOMWrapperBase.dart', |
| 370 '<(dart_auxiliary_dir)/native_FactoryProviders.dart', | 290 '<(dart_auxiliary_dir)/native_FactoryProviders.dart', |
| 371 '<(dart_auxiliary_dir)/native_FactoryProvidersImplementation.dart', | 291 '<(dart_auxiliary_dir)/native_FactoryProvidersImplementation.dart', |
| 372 '<(dart_auxiliary_dir)/native_GlobalProperties.dart', | 292 '<(dart_auxiliary_dir)/native_GlobalProperties.dart', |
| 373 '<(dart_auxiliary_dir)/ReadyState.dart', | 293 '<(dart_auxiliary_dir)/ReadyState.dart', |
| 374 '<(dart_auxiliary_dir)/RequestAnimationFrameCallback.dart', | |
| 375 '<(dart_auxiliary_dir)/TimeoutHandler.dart', | 294 '<(dart_auxiliary_dir)/TimeoutHandler.dart', |
| 376 '<(dart_auxiliary_dir)/_Collections.dart', | 295 '<(dart_auxiliary_dir)/_Collections.dart', |
| 377 '<(dart_auxiliary_dir)/_FactoryProviders.dart', | 296 '<(dart_auxiliary_dir)/_FactoryProviders.dart', |
| 378 '<(dart_auxiliary_dir)/_ListIterators.dart', | 297 '<(dart_auxiliary_dir)/_ListIterators.dart', |
| 379 '<(dart_auxiliary_dir)/_Lists.dart', | 298 '<(dart_auxiliary_dir)/_Lists.dart', |
| 380 | 299 |
| 381 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 300 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 382 ], | 301 ], |
| 383 'outputs': [ | 302 'outputs': [ |
| 384 '<(output_path)/DartSnapshot.bytes', | 303 '<(output_path)/DartSnapshot.bytes', |
| 385 '<(output_path)/DartResolver.cpp', | 304 '<(output_path)/DartResolver.cpp', |
| 305 '<(output_path)/generated/DartDerivedSourcesAll.cpp', |
| 306 '<(output_path)/generated/DartResolver.cpp', |
| 307 '<(output_path)/generated/dom_impl.dart', |
| 308 '<(output_path)/generated/dom_public.dart', |
| 386 ], | 309 ], |
| 387 'action': [ | 310 'action': [ |
| 388 'python', | 311 'python', |
| 389 'scripts/build_dart_snapshot.py', | 312 'scripts/build_dart_snapshot.py', |
| 390 '<(idls_list_temp_file)', | 313 '<(idls_list_temp_file)', |
| 391 '<(dart_dir)', | 314 '<(dart_dir)', |
| 392 '<(resources_dir)/DartSnapshot.bytes.template', | 315 '<(resources_dir)/DartSnapshot.bytes.template', |
| 393 '<(output_path)', | 316 '<(output_path)', |
| 394 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 317 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 395 '<(feature_defines)', | 318 '<(feature_defines)', |
| 396 ], | 319 ], |
| 397 }, | 320 }, |
| 398 ], | 321 ], |
| 399 }, | 322 }, |
| 400 ], | 323 ], |
| 401 } | 324 } |
| OLD | NEW |