Skip to content

Commit

Permalink
Merge branch 'buildsystem'
Browse files Browse the repository at this point in the history
Change-Id: I1c898c399cab02bcaeeb2bdf6c86e06aa96c5fe9
  • Loading branch information
ossilator committed Jun 19, 2012
2 parents 96bf621 + daab0ec commit 5572a18
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 52 deletions.
3 changes: 3 additions & 0 deletions qtjsbackend.pro
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
load(configure)
qtCompileTest(hardfloat)

TEMPLATE = subdirs

module_qtjsbackend_src.subdir = src
Expand Down
16 changes: 0 additions & 16 deletions src/modules/qt_v8.pri

This file was deleted.

19 changes: 4 additions & 15 deletions src/tools/mkv8snapshot/mkv8snapshot.pro
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
TEMPLATE = app
TARGET = mkv8snapshot
QT =
CONFIG -= app_bundle
CONFIG -= qt
CONFIG += console
CONFIG += warn_off
option(host_build)
TARGET = mkv8snapshot$$qtPlatformTargetSuffix()
CONFIG -= qt app_bundle
CONFIG += console warn_off

DESTDIR = ../../../bin
INCLUDEPATH += .
DEPENDPATH += .
LIBS =
OBJECTS_DIR = .

contains(QT_CONFIG, build_all): CONFIG += build_all
win32|mac:!macx-xcode: CONFIG += debug_and_release

TARGET = $$TARGET$$qtPlatformTargetSuffix()

cross_compile {
equals(QT_ARCH, arm): V8_TARGET_ARCH = arm
}

include(../../v8/v8.pri)

cross_compile {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/tools.pro
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
SUBDIRS =
!cross_compile:contains(QT_CONFIG, v8snapshot): SUBDIRS += mkv8snapshot
contains(QT_CONFIG, v8snapshot): SUBDIRS += mkv8snapshot
2 changes: 1 addition & 1 deletion src/v8/v8.pri
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ SOURCES += \

equals(V8_TARGET_ARCH, arm) {
DEFINES += V8_TARGET_ARCH_ARM
contains(config_test_hardfloat, yes) {
config_hardfloat {
DEFINES += USE_EABI_HARDFLOAT=1
} else {
DEFINES += USE_EABI_HARDFLOAT=0
Expand Down
10 changes: 3 additions & 7 deletions src/v8/v8.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
load(qt_module)
load(qt_build_config)

TARGET = QtV8
QPRO_PWD = $$PWD
QT =

CONFIG += module
MODULE_PRI = ../modules/qt_v8.pri
!contains(QT_CONFIG, static): MODULE_DEFINES += V8_SHARED USING_V8_SHARED

win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000

Expand All @@ -20,13 +18,11 @@ INCLUDEPATH -= $$MODULE_PRIVATE_INCLUDES
INCLUDEPATH -= $$MODULE_PRIVATE_INCLUDES/$$TARGET
INCLUDEPATH -= $$MODULE_INCLUDES $$MODULE_INCLUDES/..

HEADERS += qtv8version.h

!contains(QT_CONFIG, static): DEFINES += V8_SHARED BUILDING_V8_SHARED

include(v8.pri)

!cross_compile:contains(QT_CONFIG, v8snapshot) {
contains(QT_CONFIG, v8snapshot) {
mkv8snapshot.commands = ../../bin/mkv8snapshot$$qtPlatformTargetSuffix() ${QMAKE_FILE_OUT}
DUMMY_FILE = v8.pro
mkv8snapshot.input = DUMMY_FILE
Expand Down
12 changes: 0 additions & 12 deletions sync.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
@allmoduleheadersprivate = (
"QtV8"
);
%classnames = (
"qtv8version.h" => "QtV8Version",
);
%mastercontent = ();
%modulepris = (
"QtV8" => "$basedir/src/modules/qt_v8.pri",
);

# Module dependencies.
# Every module that is required to build this module should have one entry.
Expand All @@ -24,8 +17,3 @@
%dependencies = (
"qtbase" => "refs/heads/master",
);

# compile tests
%configtests = (
"hardfloat" => {},
);

0 comments on commit 5572a18

Please sign in to comment.