Chromium Code Reviews| Index: Source/WebCore/bindings/dart/gyp/dartium.gyp |
| diff --git a/Source/WebCore/bindings/dart/gyp/dartium.gyp b/Source/WebCore/bindings/dart/gyp/dartium.gyp |
| index d0232f3104d8d2fa40a641563828b38996ab9842..82da8920c5316c7b4973092b3f12d7da39789228 100644 |
| --- a/Source/WebCore/bindings/dart/gyp/dartium.gyp |
| +++ b/Source/WebCore/bindings/dart/gyp/dartium.gyp |
| @@ -268,8 +268,6 @@ |
| # we coax GYP into supporting it (see 'action' below). |
| '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/Dart<(RULE_INPUT_ROOT).cpp', |
| '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/Dart<(RULE_INPUT_ROOT).h', |
| - '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/<(RULE_INPUT_ROOT).dart', |
| - '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/<(RULE_INPUT_ROOT)Implementation.dart', |
| ], |
| 'variables': { |
| 'generator_include_dirs': [ |
| @@ -326,6 +324,9 @@ |
| ], |
| 'variables': { |
| 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_files))', |
| + 'dart_auxiliary_dir': '<(dart_dir)/client/dom/src', |
| + 'dart_scripts_dir': '<(dart_dir)/client/dom/scripts', |
| + 'dart_templates_dir': '<(dart_dir)/client/dom/templates/dom/native', |
| }, |
| 'sources': [ |
| # '<!@(cat <(idls_list_temp_file))', |
| @@ -334,15 +335,43 @@ |
| { |
| 'action_name': 'build_dart_snapshot', |
| 'variables': { |
| - 'output_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', |
| + 'output_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/dart', |
| }, |
| 'inputs': [ |
| 'scripts/build_dart_snapshot.py', |
| '<(idls_list_temp_file)', |
| '<@(bindings_idl_files)', |
| + |
| + '<(dart_scripts_dir)/fremontcutbuilder.py', |
| + '<(dart_scripts_dir)/dartdomgenerator.py', |
| + '<(dart_scripts_dir)/dartgenerator.py', |
| + |
| + '<(dart_templates_dir)/dart_implementation.darttemplate', |
| + '<(dart_templates_dir)/dom_public.darttemplate', |
| + '<(dart_templates_dir)/dom_impl.darttemplate', |
| + |
| + '<(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.
|
| + '<(dart_auxiliary_dir)/DOMWrapperBase.dart', |
| + '<(dart_auxiliary_dir)/EventListener.dart', |
| + '<(dart_auxiliary_dir)/frog_FactoryProviders.dart', |
| + '<(dart_auxiliary_dir)/GlobalProperties.dart', |
| + '<(dart_auxiliary_dir)/KeyLocation.dart', |
| + '<(dart_auxiliary_dir)/KeyName.dart', |
| + '<(dart_auxiliary_dir)/native_DOMImplementation.dart', |
| + '<(dart_auxiliary_dir)/native_DOMPublic.dart', |
| + '<(dart_auxiliary_dir)/native_DOMWrapperBase.dart', |
| + '<(dart_auxiliary_dir)/native_FactoryProviders.dart', |
| + '<(dart_auxiliary_dir)/native_FactoryProvidersImplementation.dart', |
| + '<(dart_auxiliary_dir)/native_GlobalProperties.dart', |
| + '<(dart_auxiliary_dir)/ReadyState.dart', |
| + '<(dart_auxiliary_dir)/RequestAnimationFrameCallback.dart', |
| + '<(dart_auxiliary_dir)/TimeoutHandler.dart', |
| + '<(dart_auxiliary_dir)/_Collections.dart', |
| + '<(dart_auxiliary_dir)/_FactoryProviders.dart', |
| + '<(dart_auxiliary_dir)/_ListIterators.dart', |
| + '<(dart_auxiliary_dir)/_Lists.dart', |
| + |
| '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)', |
| - '<(resources_dir)/dom_public.dart', |
| - '<(resources_dir)/dom_implementation.dart', |
| ], |
| 'outputs': [ |
| '<(output_path)/DartSnapshot.bytes', |
| @@ -353,7 +382,7 @@ |
| 'scripts/build_dart_snapshot.py', |
| '<(idls_list_temp_file)', |
| '<(dart_dir)', |
| - '<(resources_dir)', |
| + '<(resources_dir)/DartSnapshot.bytes.template', |
| '<(output_path)', |
| '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)', |
| '<(feature_defines)', |