52ef2ee57f
A V8 snapshot is a serialized representation of the JavaScript heap. Using a snapshot can vastly speed up V8 initialization. This commit introduces a new tool, mkv8snapshot. mkv8snapshot is automatically invoked as part of building QtV8, and generates a .cpp file which is compiled into the QtV8 library. Because mkv8snapshot itself needs to initialize the V8 environment the non-snapshot way (i.e., by evaluating thousands of lines of JavaScript), it needs to build all of V8. This means that V8 is effectively built twice when snapshots are enabled. When cross-compiling, only host=i386 and target=arm is supported, since that's the only relevant case for which V8 currently supports a simulator. mkv8snapshot is built and run as a host tool (using the simulator), and generates a snapshot that will be used on the target. Task-number: QTBUG-21152 Change-Id: I9270652f129505508f78db8b0a39fbf57dc8b86d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
337 lines
6.9 KiB
Plaintext
337 lines
6.9 KiB
Plaintext
# This file is used to ignore files which are generated in the Qt build system
|
|
# ----------------------------------------------------------------------------
|
|
|
|
examples/*/*/*
|
|
!examples/*/*/*[.]*
|
|
!examples/*/*/README
|
|
examples/*/*/*[.]app
|
|
!examples/declarative/*
|
|
!examples/tutorials/*
|
|
!examples/tutorials/*/*
|
|
!examples/ja_JP/*/*
|
|
demos/*/*
|
|
!demos/spectrum/*
|
|
demos/spectrum/bin
|
|
!demos/*/*[.]*
|
|
demos/*/*[.]app
|
|
!demos/declarative/*
|
|
config.tests/*/*/*
|
|
!config.tests/*/*/*[.]*
|
|
config.tests/*/*/*[.]app
|
|
|
|
callgrind.out.*
|
|
pcviewer.cfg
|
|
*~
|
|
*.a
|
|
*.la
|
|
*.core
|
|
*.moc
|
|
*.o
|
|
*.obj
|
|
*.orig
|
|
*.swp
|
|
*.rej
|
|
*.so
|
|
*.so.*
|
|
*.pbxuser
|
|
*.mode1
|
|
*.mode1v3
|
|
*_pch.h.cpp
|
|
*_resource.rc
|
|
.#*
|
|
*.*#
|
|
core
|
|
.qmake.cache
|
|
.qmake.vars
|
|
*.prl
|
|
tags
|
|
.DS_Store
|
|
*.debug
|
|
Makefile*
|
|
!qmake/Makefile.win32*
|
|
!qmake/Makefile.unix
|
|
*.prl
|
|
*.app
|
|
*.pro.user*
|
|
*.qmlproject.user*
|
|
*.gcov
|
|
bin/Qt*.dll
|
|
bin/assistant*
|
|
bin/designer*
|
|
bin/dumpcpp*
|
|
bin/idc*
|
|
bin/linguist*
|
|
bin/lrelease*
|
|
bin/lupdate*
|
|
bin/lconvert*
|
|
bin/mkv8snapshot*
|
|
bin/moc*
|
|
bin/makeqpf*
|
|
bin/pixeltool*
|
|
bin/qmake*
|
|
bin/qdoc3*
|
|
bin/qt3to4*
|
|
bin/qtdemo*
|
|
bin/qttracereplay*
|
|
bin/rcc*
|
|
bin/uic*
|
|
bin/patternist*
|
|
bin/phonon*
|
|
bin/qcollectiongenerator*
|
|
bin/qdbus*
|
|
bin/qhelpconverter*
|
|
bin/qhelpgenerator*
|
|
bin/qtconfig*
|
|
bin/xmlpatterns*
|
|
bin/cetest*
|
|
bin/collectiongenerator
|
|
bin/helpconverter
|
|
bin/helpgenerator
|
|
bin/kmap2qmap*
|
|
bin/qlalr*
|
|
bin/qmlconv*
|
|
bin/qmldebugger*
|
|
bin/qml*
|
|
bin/qttracereplay*
|
|
configure.cache
|
|
config.status
|
|
mkspecs/default
|
|
mkspecs/qconfig.pri
|
|
moc_*.cpp
|
|
qmake/qmake.exe
|
|
qmake/Makefile.bak
|
|
src/corelib/global/qconfig.cpp
|
|
src/corelib/global/qconfig.h
|
|
src/corelib/global/qconfig.h.qmake
|
|
ui_*.h
|
|
tests/auto/qprocess/test*/*.exe
|
|
tests/auto/qtcpsocket/stressTest/*.exe
|
|
tests/auto/qprocess/fileWriterProcess/*.exe
|
|
tests/auto/qmake/testdata/quotedfilenames/*.exe
|
|
tests/auto/compilerwarnings/*.exe
|
|
tests/auto/qmake/testdata/quotedfilenames/test.cpp
|
|
tests/auto/qprocess/fileWriterProcess.txt
|
|
.com.apple.timemachine.supported
|
|
tests/auto/qlibrary/libmylib.so*
|
|
tests/auto/qresourceengine/runtime_resource.rcc
|
|
tools/activeqt/testcon/testcon.tlb
|
|
translations/*.qm
|
|
translations/*_untranslated.ts
|
|
qrc_*.cpp
|
|
|
|
src/corelib/qtcoreversion.h
|
|
src/dbus/qtdbusversion.h
|
|
src/gui/qtguiversion.h
|
|
src/network/qtnetworkversion.h
|
|
src/opengl/qtopenglversion.h
|
|
src/openvg/qtopenvgversion.h
|
|
src/sql/qtsqlversion.h
|
|
src/testlib/qttestversion.h
|
|
src/xml/qtxmlversion.h
|
|
src/v8/qtv8version.h
|
|
src/platformsupport/qtplatformsupportversion.h
|
|
src/printsupport/qtprintsupportversion.h
|
|
src/widgets/qtwidgetsversion.h
|
|
|
|
src/v8/generated-debug/
|
|
|
|
# Test generated files
|
|
QObject.log
|
|
tst_*
|
|
!tst_*.*
|
|
tst_*.log
|
|
tst_*.debug
|
|
tst_*~
|
|
|
|
# xemacs temporary files
|
|
*.flc
|
|
|
|
# Vim temporary files
|
|
.*.swp
|
|
|
|
# Visual Studio generated files
|
|
*.ib_pdb_index
|
|
*.idb
|
|
*.ilk
|
|
*.pdb
|
|
*.sln
|
|
*.suo
|
|
*.vcproj
|
|
*vcproj.*.*.user
|
|
*.ncb
|
|
*.vcxproj
|
|
*.vcxproj.filters
|
|
*.vcxproj.user
|
|
|
|
# MinGW generated files
|
|
*.Debug
|
|
*.Release
|
|
|
|
# WebKit temp files
|
|
src/3rdparty/webkit/WebCore/mocinclude.tmp
|
|
src/3rdparty/webkit/includes.txt
|
|
src/3rdparty/webkit/includes2.txt
|
|
|
|
# Symlinks generated by configure
|
|
tools/qvfb/qvfbhdr.h
|
|
tools/qvfb/qlock_p.h
|
|
tools/qvfb/qlock.cpp
|
|
tools/qvfb/qwssignalhandler.cpp
|
|
tools/qvfb/qwssignalhandler_p.h
|
|
.DS_Store
|
|
.pch
|
|
.rcc
|
|
*.app
|
|
config.status
|
|
config.tests/unix/cups/cups
|
|
config.tests/unix/getaddrinfo/getaddrinfo
|
|
config.tests/unix/getifaddrs/getifaddrs
|
|
config.tests/unix/iconv/iconv
|
|
config.tests/unix/ipv6/ipv6
|
|
config.tests/unix/ipv6ifname/ipv6ifname
|
|
config.tests/unix/largefile/largefile
|
|
config.tests/unix/nis/nis
|
|
config.tests/unix/odbc/odbc
|
|
config.tests/unix/openssl/openssl
|
|
config.tests/unix/stl/stl
|
|
config.tests/unix/zlib/zlib
|
|
config.tests/unix/3dnow/3dnow
|
|
config.tests/unix/mmx/mmx
|
|
config.tests/unix/sse/sse
|
|
config.tests/unix/sse2/sse2
|
|
|
|
|
|
|
|
# Directories to ignore
|
|
# ---------------------
|
|
|
|
debug
|
|
examples/tools/plugandpaint/plugins
|
|
include/*
|
|
include/*/*
|
|
lib/*
|
|
!lib/fonts
|
|
!lib/README
|
|
plugins/*/*
|
|
release
|
|
tmp
|
|
doc-build
|
|
doc/html/*
|
|
doc/qch
|
|
doc-build
|
|
.rcc
|
|
.pch
|
|
.metadata
|
|
tmp-debug
|
|
|
|
# Symbian build system generated files
|
|
# ---------------------
|
|
|
|
ABLD.BAT
|
|
bld.inf*
|
|
*.mmp
|
|
*.mk
|
|
*.rss
|
|
*.loc
|
|
!s60main.rss
|
|
*.pkg
|
|
plugin_commonu.def
|
|
*.qtplugin
|
|
*.sis
|
|
*.sisx
|
|
*.lst
|
|
*.exe
|
|
*.mif
|
|
*.rsc
|
|
*.sym
|
|
*.lib
|
|
|
|
# runonphone crash dumps
|
|
d_exc_*.txt
|
|
d_exc_*.stk
|
|
|
|
# Generated by abldfast.bat from devtools.
|
|
.abldsteps.*
|
|
|
|
# Carbide project files
|
|
# ---------------------
|
|
.project
|
|
.cproject
|
|
.make.cache
|
|
*.d
|
|
|
|
qtc-debugging-helper
|
|
qtc-qmldump
|
|
qtc-qmldbg
|
|
src/corelib/lib
|
|
src/network/lib
|
|
src/xml/lib/
|
|
|
|
.pc/
|
|
|
|
# INTEGRITY generated files
|
|
*.gpj
|
|
*.int
|
|
*.ael
|
|
*.dla
|
|
*.dnm
|
|
*.dep
|
|
*.map
|
|
work
|
|
|
|
|
|
#generated module def and version header files
|
|
mkspecs/modules/qt_*.pri
|
|
mkspecs/qmodule.pri
|
|
|
|
#unit tests libs/plugins
|
|
tests/auto/corelib/plugin/qlibrary/libmylib.so2
|
|
tests/auto/corelib/plugin/qlibrary/mylib.dl2
|
|
|
|
#unit tests executables (other than those named tst_*)
|
|
tests/auto/testlib/selftests/assert/assert
|
|
tests/auto/testlib/selftests/badxml/badxml
|
|
tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind
|
|
tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter
|
|
tests/auto/testlib/selftests/benchliboptions/benchliboptions
|
|
tests/auto/testlib/selftests/benchlibtickcounter/benchlibtickcounter
|
|
tests/auto/testlib/selftests/benchlibwalltime/benchlibwalltime
|
|
tests/auto/testlib/selftests/cmptest/cmptest
|
|
tests/auto/testlib/selftests/commandlinedata/commandlinedata
|
|
tests/auto/testlib/selftests/crashes/crashes
|
|
tests/auto/testlib/selftests/datatable/datatable
|
|
tests/auto/testlib/selftests/datetime/datetime
|
|
tests/auto/testlib/selftests/differentexec/differentexec
|
|
tests/auto/testlib/selftests/exceptionthrow/exceptionthrow
|
|
tests/auto/testlib/selftests/expectfail/expectfail
|
|
tests/auto/testlib/selftests/failinit/failinit
|
|
tests/auto/testlib/selftests/failinitdata/failinitdata
|
|
tests/auto/testlib/selftests/fetchbogus/fetchbogus
|
|
tests/auto/testlib/selftests/float/float
|
|
tests/auto/testlib/selftests/globaldata/globaldata
|
|
tests/auto/testlib/selftests/longstring/longstring
|
|
tests/auto/testlib/selftests/maxwarnings/maxwarnings
|
|
tests/auto/testlib/selftests/multiexec/multiexec
|
|
tests/auto/testlib/selftests/qexecstringlist/qexecstringlist
|
|
tests/auto/testlib/selftests/singleskip/singleskip
|
|
tests/auto/testlib/selftests/skip/skip
|
|
tests/auto/testlib/selftests/skipglobal/skipglobal
|
|
tests/auto/testlib/selftests/skipinit/skipinit
|
|
tests/auto/testlib/selftests/skipinitdata/skipinitdata
|
|
tests/auto/testlib/selftests/sleep/sleep
|
|
tests/auto/testlib/selftests/strcmp/strcmp
|
|
tests/auto/testlib/selftests/subtest/subtest
|
|
tests/auto/testlib/selftests/waitwithoutgui/waitwithoutgui
|
|
tests/auto/testlib/selftests/warnings/warnings
|
|
tests/auto/testlib/selftests/xunit/xunit
|
|
tests/auto/corelib/thread/qthreadstorage/crashOnExit
|
|
tests/auto/corelib/io/qresourceengine/qresourceengine
|
|
tests/auto/corelib/codecs/qtextcodec/echo/echo
|
|
tests/auto/corelib/plugin/quuid/testProcessUniqueness/testProcessUniqueness
|
|
tests/auto/dbus/qdbusabstractadaptor/qmyserver/qmyserver
|
|
tests/auto/dbus/qdbusabstractinterface/qpinger/qpinger
|
|
tests/auto/dbus/qdbusinterface/qmyserver/qmyserver
|
|
tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/qfileopeneventexternal
|
|
tests/auto/network/bearer/qnetworksession/lackey/lackey
|
|
tests/auto/widgets/kernel/qapplication/modal/modal
|