summaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/jsruntime.pri
blob: a24ee0a188892a50399f622ae653d08d7986d251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
INCLUDEPATH += $$PWD
INCLUDEPATH += $$OUT_PWD

!qmldevtools_build {
SOURCES += \
    $$PWD/qv4context.cpp \
    $$PWD/qv4persistent.cpp \
    $$PWD/qv4lookup.cpp \
    $$PWD/qv4identifier.cpp \
    $$PWD/qv4identifiertable.cpp \
    $$PWD/qv4managed.cpp \
    $$PWD/qv4internalclass.cpp \
    $$PWD/qv4sparsearray.cpp \
    $$PWD/qv4atomics.cpp \
    $$PWD/qv4arraydata.cpp \
    $$PWD/qv4arrayobject.cpp \
    $$PWD/qv4arrayiterator.cpp \
    $$PWD/qv4argumentsobject.cpp \
    $$PWD/qv4booleanobject.cpp \
    $$PWD/qv4dateobject.cpp \
    $$PWD/qv4errorobject.cpp \
    $$PWD/qv4function.cpp \
    $$PWD/qv4functionobject.cpp \
    $$PWD/qv4generatorobject.cpp \
    $$PWD/qv4globalobject.cpp \
    $$PWD/qv4iterator.cpp \
    $$PWD/qv4jsonobject.cpp \
    $$PWD/qv4mathobject.cpp \
    $$PWD/qv4memberdata.cpp \
    $$PWD/qv4numberobject.cpp \
    $$PWD/qv4object.cpp \
    $$PWD/qv4objectproto.cpp \
    $$PWD/qv4propertykey.cpp \
    $$PWD/qv4proxy.cpp \
    $$PWD/qv4qmlcontext.cpp \
    $$PWD/qv4reflect.cpp \
    $$PWD/qv4regexpobject.cpp \
    $$PWD/qv4stackframe.cpp \
    $$PWD/qv4stringiterator.cpp \
    $$PWD/qv4stringobject.cpp \
    $$PWD/qv4variantobject.cpp \
    $$PWD/qv4objectiterator.cpp \
    $$PWD/qv4regexp.cpp \
    $$PWD/qv4runtimecodegen.cpp \
    $$PWD/qv4serialize.cpp \
    $$PWD/qv4script.cpp \
    $$PWD/qv4symbol.cpp \
    $$PWD/qv4setobject.cpp \
    $$PWD/qv4setiterator.cpp \
    $$PWD/qv4include.cpp \
    $$PWD/qv4qobjectwrapper.cpp \
    $$PWD/qv4arraybuffer.cpp \
    $$PWD/qv4typedarray.cpp \
    $$PWD/qv4dataview.cpp \
    $$PWD/qv4vme_moth.cpp \
    $$PWD/qv4mapobject.cpp \
    $$PWD/qv4mapiterator.cpp \
    $$PWD/qv4estable.cpp \
    $$PWD/qv4module.cpp \
    $$PWD/qv4promiseobject.cpp

qtConfig(qml-debug): SOURCES += $$PWD/qv4profiling.cpp

HEADERS += \
    $$PWD/qv4global_p.h \
    $$PWD/qv4alloca_p.h \
    $$PWD/qv4engine_p.h \
    $$PWD/qv4enginebase_p.h \
    $$PWD/qv4context_p.h \
    $$PWD/qv4math_p.h \
    $$PWD/qv4persistent_p.h \
    $$PWD/qv4debugging_p.h \
    $$PWD/qv4lookup_p.h \
    $$PWD/qv4identifier_p.h \
    $$PWD/qv4identifiertable_p.h \
    $$PWD/qv4managed_p.h \
    $$PWD/qv4internalclass_p.h \
    $$PWD/qv4jscall_p.h \
    $$PWD/qv4sparsearray_p.h \
    $$PWD/qv4atomics_p.h \
    $$PWD/qv4arraydata_p.h \
    $$PWD/qv4arrayobject_p.h \
    $$PWD/qv4arrayiterator_p.h \
    $$PWD/qv4argumentsobject_p.h \
    $$PWD/qv4booleanobject_p.h \
    $$PWD/qv4dateobject_p.h \
    $$PWD/qv4errorobject_p.h \
    $$PWD/qv4function_p.h \
    $$PWD/qv4functionobject_p.h \
    $$PWD/qv4generatorobject_p.h \
    $$PWD/qv4globalobject_p.h \
    $$PWD/qv4iterator_p.h \
    $$PWD/qv4jsonobject_p.h \
    $$PWD/qv4mathobject_p.h \
    $$PWD/qv4memberdata_p.h \
    $$PWD/qv4numberobject_p.h \
    $$PWD/qv4object_p.h \
    $$PWD/qv4objectproto_p.h \
    $$PWD/qv4propertykey_p.h \
    $$PWD/qv4proxy_p.h \
    $$PWD/qv4qmlcontext_p.h \
    $$PWD/qv4reflect_p.h \
    $$PWD/qv4regexpobject_p.h \
    $$PWD/qv4runtimecodegen_p.h \
    $$PWD/qv4stackframe_p.h \
    $$PWD/qv4stringiterator_p.h \
    $$PWD/qv4stringobject_p.h \
    $$PWD/qv4variantobject_p.h \
    $$PWD/qv4property_p.h \
    $$PWD/qv4objectiterator_p.h \
    $$PWD/qv4regexp_p.h \
    $$PWD/qv4serialize_p.h \
    $$PWD/qv4script_p.h \
    $$PWD/qv4symbol_p.h \
    $$PWD/qv4setobject_p.h \
    $$PWD/qv4setiterator_p.h \
    $$PWD/qv4scopedvalue_p.h \
    $$PWD/qv4executableallocator_p.h \
    $$PWD/qv4include_p.h \
    $$PWD/qv4qobjectwrapper_p.h \
    $$PWD/qv4profiling_p.h \
    $$PWD/qv4arraybuffer_p.h \
    $$PWD/qv4typedarray_p.h \
    $$PWD/qv4dataview_p.h \
    $$PWD/qv4vme_moth_p.h \
    $$PWD/qv4mapobject_p.h \
    $$PWD/qv4mapiterator_p.h \
    $$PWD/qv4estable_p.h \
    $$PWD/qv4vtable_p.h \
    $$PWD/qv4module_p.h \
    $$PWD/qv4promiseobject_p.h

qtConfig(qml-sequence-object) {
    HEADERS += \
        $$PWD/qv4sequenceobject_p.h

    SOURCES += \
        $$PWD/qv4sequenceobject.cpp
}

}


HEADERS += \
    $$PWD/qv4runtime_p.h \
    $$PWD/qv4runtimeapi_p.h \
    $$PWD/qv4value_p.h \
    $$PWD/qv4string_p.h \
    $$PWD/qv4util_p.h \
    $$PWD/qv4value_p.h \
    $$PWD/qv4functiontable_p.h

SOURCES += \
    $$PWD/qv4engine.cpp \
    $$PWD/qv4runtime.cpp \
    $$PWD/qv4string.cpp \
    $$PWD/qv4value.cpp \
    $$PWD/qv4executableallocator.cpp

qmldevtools_build {
    SOURCES += \
        $$PWD/qv4functiontable_noop.cpp
} else:win32 {
    !winrt:equals(QT_ARCH, x86_64) {
        SOURCES += \
            $$PWD/qv4functiontable_win64.cpp
    } else {
        SOURCES += \
            $$PWD/qv4functiontable_noop.cpp
    }
} else {
    SOURCES += \
        $$PWD/qv4functiontable_unix.cpp
}


valgrind {
    DEFINES += V4_USE_VALGRIND
}

heaptrack {
    DEFINES += V4_USE_HEAPTRACK
}