summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
commit8995b83bcbfbb68245f779b64e5517627c6cc6ea (patch)
tree17985605dab9263cc2444bd4d45f189e142cca7c /Source/JavaScriptCore/LLIntOffsetsExtractor.pro
parentb9c9652036d5e9f1e29c574f40bc73a35c81ace6 (diff)
downloadqtwebkit-8995b83bcbfbb68245f779b64e5517627c6cc6ea.tar.gz
Imported WebKit commit cf4f8fc6f19b0629f51860cb2d4b25e139d07e00 (http://svn.webkit.org/repository/webkit/trunk@131592)
New snapshot that includes the build fixes for Mac OS X 10.6 and earlier as well as the previously cherry-picked changes
Diffstat (limited to 'Source/JavaScriptCore/LLIntOffsetsExtractor.pro')
-rw-r--r--Source/JavaScriptCore/LLIntOffsetsExtractor.pro55
1 files changed, 55 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/LLIntOffsetsExtractor.pro b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
new file mode 100644
index 000000000..4a6f69a89
--- /dev/null
+++ b/Source/JavaScriptCore/LLIntOffsetsExtractor.pro
@@ -0,0 +1,55 @@
+# -------------------------------------------------------------------
+# Project file for the LLIntOffsetsExtractor binary, used to generate
+# derived sources for JavaScriptCore.
+#
+# See 'Tools/qmake/README' for an overview of the build system
+# -------------------------------------------------------------------
+
+TEMPLATE = app
+TARGET = LLIntOffsetsExtractor
+DESTDIR = $$OUT_PWD
+
+QT = core # Needed for qglobal.h
+
+defineTest(addIncludePaths) {
+ # Just needed for include paths
+ include(../WTF/WTF.pri)
+ include(JavaScriptCore.pri)
+
+ export(INCLUDEPATH)
+}
+
+addIncludePaths()
+
+LLINT_DEPENDENCY = \
+ $$PWD/llint/LowLevelInterpreter.asm \
+ $$PWD/llint/LowLevelInterpreter32_64.asm \
+ $$PWD/llint/LowLevelInterpreter64.asm \
+ $$PWD/offlineasm/armv7.rb \
+ $$PWD/offlineasm/ast.rb \
+ $$PWD/offlineasm/backends.rb \
+ $$PWD/offlineasm/generate_offset_extractor.rb \
+ $$PWD/offlineasm/instructions.rb \
+ $$PWD/offlineasm/offsets.rb \
+ $$PWD/offlineasm/opt.rb \
+ $$PWD/offlineasm/parser.rb \
+ $$PWD/offlineasm/registers.rb \
+ $$PWD/offlineasm/self_hash.rb \
+ $$PWD/offlineasm/settings.rb \
+ $$PWD/offlineasm/transform.rb \
+ $$PWD/offlineasm/x86.rb
+
+INPUT_FILES = $$PWD/llint/LowLevelInterpreter.asm
+llint.output = LLIntDesiredOffsets.h
+llint.script = $$PWD/offlineasm/generate_offset_extractor.rb
+llint.input = INPUT_FILES
+llint.depends = $$LLINT_DEPENDENCY
+llint.commands = ruby $$llint.script ${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
+llint.CONFIG += no_link
+QMAKE_EXTRA_COMPILERS += llint
+
+# Compilation of this file will automatically depend on LLIntDesiredOffsets.h
+# due to qmake scanning the source file for header dependencies.
+SOURCES = llint/LLIntOffsetsExtractor.cpp
+
+mac: LIBS_PRIVATE += -framework AppKit