Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: Source/WebCore/bindings/dart/gyp/dartium.gyp

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/bindings/dart/gyp/.gitignore ('k') | Source/WebCore/bindings/dart/gyp/overrides.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 19898ffdd5c173d383ab2d1d6d7fd598d95b8138..0000000000000000000000000000000000000000
--- a/Source/WebCore/bindings/dart/gyp/dartium.gyp
+++ /dev/null
@@ -1,337 +0,0 @@
-{
- 'includes': [
- '../../../../WebKit/chromium/features.gypi',
- '../../../WebCore.gypi',
- 'overrides.gypi',
- ],
- 'variables': {
- 'dart_dir': '../../../../../../../dart',
- 'dart_client_dir': '<(dart_dir)/client',
- 'dom_common_dir': '<(dart_client_dir)/dom/common',
- 'resources_dir': '../resources',
- 'scripts_dir': '../../scripts',
- 'webcore_dir': '../../..',
- 'webcore_gyp_dir': '<(webcore_dir)/WebCore.gyp',
-
- # FIXME: share with WebCore.gyp somehow. E.g. idls_list_temp_file is generated really early,
- # so we can massage it to adjust paths.
- 'bindings_idl_files': [
- '<@(webcore_bindings_idl_files)',
- ],
-
- 'bindings_idl_files!': [
- # Custom bindings in bindings/v8/custom exist for these.
- '<(webcore_dir)/dom/EventListener.idl',
- '<(webcore_dir)/dom/EventTarget.idl',
- '<(webcore_dir)/html/VoidCallback.idl',
-
- # Bindings with custom Objective-C implementations.
- '<(webcore_dir)/page/AbstractView.idl',
-
- # FIXME: eventually we should enable them, but not now. Those only inject
- # constructors anyway, so we need a special treatment for them.
- '<(webcore_dir)/webaudio/DOMWindowWebAudio.idl',
- '<(webcore_dir)/websockets/DOMWindowWebSocket.idl',
- '<(webcore_dir)/Modules/gamepad/NavigatorGamepad.idl',
-
- # These bindings are excluded, as they're only used through inheritance and don't define constants that would need a constructor.
- '<(webcore_dir)/svg/ElementTimeControl.idl',
- '<(webcore_dir)/svg/SVGExternalResourcesRequired.idl',
- '<(webcore_dir)/svg/SVGFilterPrimitiveStandardAttributes.idl',
- '<(webcore_dir)/svg/SVGFitToViewBox.idl',
-
- '<(webcore_dir)/svg/SVGLangSpace.idl',
- '<(webcore_dir)/svg/SVGLocatable.idl',
- '<(webcore_dir)/svg/SVGStylable.idl',
- '<(webcore_dir)/svg/SVGTests.idl',
- '<(webcore_dir)/svg/SVGTransformable.idl',
- '<(webcore_dir)/svg/SVGViewSpec.idl',
- '<(webcore_dir)/svg/SVGZoomAndPan.idl',
-
- # FIXME: I don't know why these are excluded, either.
- # Someone (me?) should figure it out and add appropriate comments.
- '<(webcore_dir)/css/CSSUnknownRule.idl',
- ],
-
- 'conditions': [
- # TODO(maruel): Move it in its own project or generate it anyway?
- ['enable_svg!=0', {
- 'bindings_idl_files': [
- '<@(webcore_svg_bindings_idl_files)',
- ],
- }],
- ],
- },
-
- 'targets': [
- {
- 'target_name': 'dart_builtin_library_source',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'generateDartBuiltinLibrarySource',
- 'inputs': [
- 'scripts/generate-dart-library-source.pl',
- '<(resources_dir)/builtin.dart',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/DartBuiltinLibrarySource.h',
- ],
- 'action': [
- 'perl',
- 'scripts/generate-dart-library-source.pl',
- 'dartBuiltinLibrarySource',
- '<@(_outputs)',
- '<@(_inputs)'
- ],
- 'message': 'Generating DartBuiltinLibrarySource.h',
- },
- ]
- },
- {
- 'target_name': 'dart_generated_lib_sources',
- 'type': 'none',
- 'dependencies': [
- 'dart_builtin_library_source',
- ],
- },
- {
- 'target_name': 'dart_generated_sources',
- 'type': 'none',
- 'hard_dependency': 1,
- 'sources': [
- '<@(bindings_idl_files)',
- ],
- 'actions': [
- {
- 'action_name': 'dart_derived_sources_all_in_one',
- 'variables': {
- # Write sources into a file, so that the action command line won't
- # exceed OS limites.
- 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_files))',
- },
- 'inputs': [
- 'scripts/dart_action_derivedsourcesallinone.py',
- '<(idls_list_temp_file)',
- '<@(bindings_idl_files)',
- ],
- 'outputs': [
- '<@(additional_derived_sources_aggregate_files)',
- ],
- 'action': [
- 'python',
- 'scripts/dart_action_derivedsourcesallinone.py',
- '<(idls_list_temp_file)',
- '--',
- '<@(additional_derived_sources_aggregate_files)',
- ],
- },
- {
- 'action_name': 'V8HTMLNames',
- 'inputs': [
- '<(webcore_dir)/dom/make_names.pl',
- '<(webcore_dir)/html/HTMLTagNames.in',
- '<(webcore_dir)/html/HTMLAttributeNames.in',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.h',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLElementFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.h',
- ],
- 'action': [
- 'python',
- '<(webcore_gyp_dir)/scripts/action_makenames.py',
- '<@(_outputs)',
- '--',
- '<@(_inputs)',
- '--',
- '--factory',
- '--wrapperFactoryV8',
- '--extraDefines', '<(feature_defines)'
- ],
- },
- {
- 'action_name': 'V8SVGNames',
- 'inputs': [
- '<(webcore_dir)/dom/make_names.pl',
- '<(webcore_dir)/svg/svgtags.in',
- '<(webcore_dir)/svg/svgattrs.in',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.h',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.h',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.h',
- ],
- 'action': [
- 'python',
- '<(webcore_gyp_dir)/scripts/action_makenames.py',
- '<@(_outputs)',
- '--',
- '<@(_inputs)',
- '--',
- '--factory',
- '--wrapperFactoryV8',
- '--extraDefines', '<(feature_defines)'
- ],
- },
- {
- 'action_name': 'HTMLNames',
- 'inputs': [
- '<(webcore_dir)/dom/make_names.pl',
- '<(webcore_dir)/html/HTMLTagNames.in',
- '<(webcore_dir)/html/HTMLAttributeNames.in',
- 'scripts/massage_factories.py',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.h',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit/DartHTMLElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/DartHTMLElementWrapperFactory.h',
- ],
- 'action': [
- 'python',
- 'scripts/massage_factories.py',
- '<(SHARED_INTERMEDIATE_DIR)/webkit',
- 'HTML'
- ],
- },
- {
- 'action_name': 'SVGNames',
- 'inputs': [
- '<(webcore_dir)/dom/make_names.pl',
- '<(webcore_dir)/svg/svgtags.in',
- '<(webcore_dir)/svg/svgattrs.in',
- 'scripts/massage_factories.py',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.h',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/webkit/DartSVGElementWrapperFactory.cpp',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/DartSVGElementWrapperFactory.h',
- ],
- 'action': [
- 'python',
- 'scripts/massage_factories.py',
- '<(SHARED_INTERMEDIATE_DIR)/webkit',
- 'SVG'
- ],
- },
- ],
- 'rules': [
- {
- 'rule_name': 'dart_binding',
- 'extension': 'idl',
- 'msvs_external_rule': 1,
- 'inputs': [
- '<(scripts_dir)/generate-bindings.pl',
- '<(scripts_dir)/CodeGenerator.pm',
- 'scripts/CodeGeneratorDart.pm',
- '<(scripts_dir)/IDLParser.pm',
- '<(scripts_dir)/IDLStructure.pm',
- '<(scripts_dir)/preprocessor.pm',
- ],
- 'outputs': [
- # FIXME: The .cpp file should be in webkit/bindings once
- # 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': [
- '--include', '<(webcore_dir)/css',
- '--include', '<(webcore_dir)/dom',
- '--include', '<(webcore_dir)/fileapi',
- '--include', '<(webcore_dir)/html',
- '--include', '<(webcore_dir)/mediastream',
- '--include', '<(webcore_dir)/notifications',
- '--include', '<(webcore_dir)/page',
- '--include', '<(webcore_dir)/plugins',
- '--include', '<(webcore_dir)/storage',
- '--include', '<(webcore_dir)/svg',
- '--include', '<(webcore_dir)/testing',
- '--include', '<(webcore_dir)/webaudio',
- '--include', '<(webcore_dir)/websockets',
- '--include', '<(webcore_dir)/workers',
- '--include', '<(webcore_dir)/xml',
- ],
- },
- # FIXME: Note that we put the .cpp files in webcore/bindings
- # but the .h files in webkit/bindings. This is to work around
- # the unfortunate fact that GYP strips duplicate arguments
- # from lists. When we have a better GYP way to suppress that
- # behavior, change the output location.
- 'action': [
- 'perl',
- '-w',
- '-I<(webcore_gyp_dir)/../bindings/scripts',
- '-Iscripts',
- '<(webcore_gyp_dir)/../bindings/scripts/generate-bindings.pl',
- '--outputHeadersDir',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
- '--outputDir',
- '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings',
- '--defines',
- '<(feature_defines) LANGUAGE_JAVASCRIPT LANGUAGE_DART',
- '--generator',
- 'Dart',
- '<@(generator_include_dirs)',
- '<(RULE_INPUT_PATH)',
- ],
- 'message': 'Generating Dart binding from <(RULE_INPUT_PATH)',
- },
- ],
- },
- {
- 'target_name': 'dart_snapshot',
- 'type': 'none',
- 'hard_dependency': 1,
- 'dependencies': [
- 'dart_generated_sources',
- '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot',
- ],
- 'variables': {
- 'idls_list_temp_file': '<|(idls_list_temp_file.tmp <@(bindings_idl_files))',
- },
- 'sources': [
- # '<!@(cat <(idls_list_temp_file))',
- ],
- 'actions': [
- {
- 'action_name': 'build_dart_snapshot',
- 'variables': {
- 'output_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
- },
- 'inputs': [
- 'scripts/build_dart_snapshot.py',
- '<(idls_list_temp_file)',
- '<@(bindings_idl_files)',
- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)',
- '<(resources_dir)/dom_public.dart',
- '<(resources_dir)/dom_implementation.dart',
- ],
- 'outputs': [
- '<(output_path)/DartSnapshot.bytes',
- '<(output_path)/DartResolver.cpp',
- ],
- 'action': [
- 'python',
- 'scripts/build_dart_snapshot.py',
- '<(idls_list_temp_file)',
- '<(dart_dir)',
- '<(resources_dir)',
- '<(output_path)',
- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)',
- '<(feature_defines)',
- ],
- },
- ],
- },
- ],
-}
« no previous file with comments | « Source/WebCore/bindings/dart/gyp/.gitignore ('k') | Source/WebCore/bindings/dart/gyp/overrides.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698