tizen beta release
[profile/ivi/webkit-efl.git] / Tools / WebKitTestRunner / InjectedBundle / DerivedSources.pri
1 # -------------------------------------------------------------------
2 # Derived sources for WebKitTestRunner's InjectedBundle
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 # This file is both a top level target, and included from Target.pri,
8 # so that the resulting generated sources can be added to SOURCES.
9 # We only set the template if we're a top level target, so that we
10 # don't override what Target.pri has already set.
11 sanitizedFile = $$toSanitizedPath($$_FILE_)
12 equals(sanitizedFile, $$toSanitizedPath($$_PRO_FILE_)):TEMPLATE = derived
13
14 load(features)
15
16 IDL_BINDINGS += \
17     Bindings/AccessibilityController.idl \
18     Bindings/AccessibilityTextMarker.idl \
19     Bindings/AccessibilityTextMarkerRange.idl \
20     Bindings/AccessibilityUIElement.idl \
21     Bindings/EventSendingController.idl \
22     Bindings/GCController.idl \
23     Bindings/LayoutTestController.idl \
24     Bindings/TextInputController.idl \
25
26 # GENERATOR 1: IDL compiler
27 idl.output = JS${QMAKE_FILE_BASE}.cpp
28 idl.input = IDL_BINDINGS
29 idl.script = $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/generate-bindings.pl
30 idl.commands = perl -I$${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts -I$$PWD/Bindings $$idl.script --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator TestRunner --include $$PWD/Bindings --outputDir ${QMAKE_FUNC_FILE_OUT_PATH} --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
31 idl.depends = $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/CodeGenerator.pm \
32               $$PWD/Bindings/CodeGeneratorTestRunner.pm \
33               $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/IDLParser.pm \
34               $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/IDLStructure.pm \
35               $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/InFilesParser.pm \
36               $${ROOT_WEBKIT_DIR}/Source/WebCore/bindings/scripts/generate-bindings.pl
37 GENERATORS += idl
38
39 INCLUDEPATH += $${ROOT_BUILD_DIR}/Tools/WebKitTestRunner/InjectedBundle/$${GENERATED_SOURCES_DESTDIR}
40