Chromium Code Reviews| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 'scripts/CodeGeneratorDart.pm', | 261 'scripts/CodeGeneratorDart.pm', |
| 262 '<(scripts_dir)/IDLParser.pm', | 262 '<(scripts_dir)/IDLParser.pm', |
| 263 '<(scripts_dir)/IDLStructure.pm', | 263 '<(scripts_dir)/IDLStructure.pm', |
| 264 '<(scripts_dir)/preprocessor.pm', | 264 '<(scripts_dir)/preprocessor.pm', |
| 265 ], | 265 ], |
| 266 'outputs': [ | 266 'outputs': [ |
| 267 # FIXME: The .cpp file should be in webkit/bindings once | 267 # FIXME: The .cpp file should be in webkit/bindings once |
| 268 # we coax GYP into supporting it (see 'action' below). | 268 # we coax GYP into supporting it (see 'action' below). |
| 269 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/Dart<(RULE_INPUT_ROOT). cpp', | 269 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/Dart<(RULE_INPUT_ROOT). cpp', |
| 270 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/Dart<(RULE_INPUT_ROOT).h ', | 270 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/Dart<(RULE_INPUT_ROOT).h ', |
| 271 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/<(RULE_INPUT_ROOT).dart' , | |
| 272 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/<(RULE_INPUT_ROOT)Implem entation.dart', | |
| 273 ], | 271 ], |
| 274 'variables': { | 272 'variables': { |
| 275 'generator_include_dirs': [ | 273 'generator_include_dirs': [ |
| 276 '--include', '<(webcore_dir)/css', | 274 '--include', '<(webcore_dir)/css', |
| 277 '--include', '<(webcore_dir)/dom', | 275 '--include', '<(webcore_dir)/dom', |
| 278 '--include', '<(webcore_dir)/fileapi', | 276 '--include', '<(webcore_dir)/fileapi', |
| 279 '--include', '<(webcore_dir)/html', | 277 '--include', '<(webcore_dir)/html', |
| 280 '--include', '<(webcore_dir)/mediastream', | 278 '--include', '<(webcore_dir)/mediastream', |
| 281 '--include', '<(webcore_dir)/notifications', | 279 '--include', '<(webcore_dir)/notifications', |
| 282 '--include', '<(webcore_dir)/page', | 280 '--include', '<(webcore_dir)/page', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 319 { | 317 { |
| 320 'target_name': 'dart_snapshot', | 318 'target_name': 'dart_snapshot', |
| 321 'type': 'none', | 319 'type': 'none', |
| 322 'hard_dependency': 1, | 320 'hard_dependency': 1, |
| 323 'dependencies': [ | 321 'dependencies': [ |
| 324 'dart_generated_sources', | 322 'dart_generated_sources', |
| 325 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot', | 323 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot', |
| 326 ], | 324 ], |
| 327 'variables': { | 325 'variables': { |
| 328 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_files ))', | 326 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_files ))', |
| 327 'dart_auxiliary_dir': '<(dart_dir)/client/dom/src', | |
| 328 'dart_scripts_dir': '<(dart_dir)/client/dom/scripts', | |
| 329 'dart_templates_dir': '<(dart_dir)/client/dom/templates/dom/native', | |
| 329 }, | 330 }, |
| 330 'sources': [ | 331 'sources': [ |
| 331 # '<!@(cat <(idls_list_temp_file))', | 332 # '<!@(cat <(idls_list_temp_file))', |
| 332 ], | 333 ], |
| 333 'actions': [ | 334 'actions': [ |
| 334 { | 335 { |
| 335 'action_name': 'build_dart_snapshot', | 336 'action_name': 'build_dart_snapshot', |
| 336 'variables': { | 337 'variables': { |
| 337 'output_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', | 338 'output_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/dart', |
| 338 }, | 339 }, |
| 339 'inputs': [ | 340 'inputs': [ |
| 340 'scripts/build_dart_snapshot.py', | 341 'scripts/build_dart_snapshot.py', |
| 341 '<(idls_list_temp_file)', | 342 '<(idls_list_temp_file)', |
| 342 '<@(bindings_idl_files)', | 343 '<@(bindings_idl_files)', |
| 344 | |
| 345 '<(dart_scripts_dir)/fremontcutbuilder.py', | |
| 346 '<(dart_scripts_dir)/dartdomgenerator.py', | |
| 347 '<(dart_scripts_dir)/dartgenerator.py', | |
| 348 | |
| 349 '<(dart_templates_dir)/dart_implementation.darttemplate', | |
| 350 '<(dart_templates_dir)/dom_public.darttemplate', | |
| 351 '<(dart_templates_dir)/dom_impl.darttemplate', | |
| 352 | |
| 353 '<(dart_auxiliary_dir)/DOMType.dart', | |
|
Anton Muhin
2012/01/26 12:13:35
maybe depend on content of the whole dir?
podivilov
2012/01/30 18:27:54
afaik gyp doesn't support globs.
| |
| 354 '<(dart_auxiliary_dir)/DOMWrapperBase.dart', | |
| 355 '<(dart_auxiliary_dir)/EventListener.dart', | |
| 356 '<(dart_auxiliary_dir)/frog_FactoryProviders.dart', | |
| 357 '<(dart_auxiliary_dir)/GlobalProperties.dart', | |
| 358 '<(dart_auxiliary_dir)/KeyLocation.dart', | |
| 359 '<(dart_auxiliary_dir)/KeyName.dart', | |
| 360 '<(dart_auxiliary_dir)/native_DOMImplementation.dart', | |
| 361 '<(dart_auxiliary_dir)/native_DOMPublic.dart', | |
| 362 '<(dart_auxiliary_dir)/native_DOMWrapperBase.dart', | |
| 363 '<(dart_auxiliary_dir)/native_FactoryProviders.dart', | |
| 364 '<(dart_auxiliary_dir)/native_FactoryProvidersImplementation.dart', | |
| 365 '<(dart_auxiliary_dir)/native_GlobalProperties.dart', | |
| 366 '<(dart_auxiliary_dir)/ReadyState.dart', | |
| 367 '<(dart_auxiliary_dir)/RequestAnimationFrameCallback.dart', | |
| 368 '<(dart_auxiliary_dir)/TimeoutHandler.dart', | |
| 369 '<(dart_auxiliary_dir)/_Collections.dart', | |
| 370 '<(dart_auxiliary_dir)/_FactoryProviders.dart', | |
| 371 '<(dart_auxiliary_dir)/_ListIterators.dart', | |
| 372 '<(dart_auxiliary_dir)/_Lists.dart', | |
| 373 | |
| 343 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', | 374 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', |
| 344 '<(resources_dir)/dom_public.dart', | |
| 345 '<(resources_dir)/dom_implementation.dart', | |
| 346 ], | 375 ], |
| 347 'outputs': [ | 376 'outputs': [ |
| 348 '<(output_path)/DartSnapshot.bytes', | 377 '<(output_path)/DartSnapshot.bytes', |
| 349 '<(output_path)/DartResolver.cpp', | 378 '<(output_path)/DartResolver.cpp', |
| 350 ], | 379 ], |
| 351 'action': [ | 380 'action': [ |
| 352 'python', | 381 'python', |
| 353 'scripts/build_dart_snapshot.py', | 382 'scripts/build_dart_snapshot.py', |
| 354 '<(idls_list_temp_file)', | 383 '<(idls_list_temp_file)', |
| 355 '<(dart_dir)', | 384 '<(dart_dir)', |
| 356 '<(resources_dir)', | 385 '<(resources_dir)/DartSnapshot.bytes.template', |
| 357 '<(output_path)', | 386 '<(output_path)', |
| 358 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', | 387 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', |
| 359 '<(feature_defines)', | 388 '<(feature_defines)', |
| 360 ], | 389 ], |
| 361 }, | 390 }, |
| 362 ], | 391 ], |
| 363 }, | 392 }, |
| 364 ], | 393 ], |
| 365 } | 394 } |
| OLD | NEW |