diff options
author | Xavier Roche <xavrock.os@gmail.com> | 2015-02-13 17:11:45 +0100 |
---|---|---|
committer | Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org> | 2015-06-16 09:48:34 +0200 |
commit | a11eccfc4cd173a661ac60cddab6902858b9373f (patch) | |
tree | 19add18d9275cdfc5ea3e9fb767bb729d06a710d | |
parent | 40e29bb00ef6a9a62224da36b44fb36f24abca1f (diff) | |
download | meta-tizen-a11eccfc4cd173a661ac60cddab6902858b9373f.tar.gz meta-tizen-a11eccfc4cd173a661ac60cddab6902858b9373f.tar.bz2 meta-tizen-a11eccfc4cd173a661ac60cddab6902858b9373f.zip |
Fix Crosswalk build
Note: also fix crosswalk dependency build : libslp-location
Change-Id: Ia742b1fb84ee819ea6e5bdbd15e2c456e6787041
Signed-off-by: Xavier Roche <xavrock.os@gmail.com>
4 files changed, 15 insertions, 27 deletions
diff --git a/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location-extraconf.inc b/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location-extraconf.inc index 670811f4..7f22060e 100644 --- a/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location-extraconf.inc +++ b/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location-extraconf.inc @@ -1,2 +1 @@ -SRC_URI += "file://add-subdir-objects-option.patch" libslp-location-dev_files += "${prefix}/lib/lib*.so" diff --git a/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc b/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc index c2882be6..3f6581a1 100644 --- a/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc +++ b/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc @@ -51,12 +51,6 @@ do_patch_append() { bb.build.exec_func('do_prep', d) } -do_configure() { -} - -do_compile() { -} - do_install() { export RPM_BUILD_ROOT=${D} cd ${S} diff --git a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc index 4c2fd179..f82a6910 100644 --- a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc +++ b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc @@ -25,7 +25,7 @@ RDEPENDS_${PN} += "ss-server" DEPENDS = "" #DEPENDS of crosswalk-thirdparty -DEPENDS += "pkgconfig(protobuf)" +DEPENDS += "protobuf" DEPENDS += "cairo" DEPENDS += "expat" DEPENDS += "udev" @@ -92,18 +92,18 @@ do_compile() { # to be left out (since several pieces are built with -Werror). At least in # M39, this is preventing the "rtc_base" target from being built because it # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). - export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`" # Do not use -finline-functions: it breaks the build because it causes -Wall to # warn about some conditions that cannot really be reached (ie. variables that # may be used uninitialized while in fact thay cannot be uninitialized). See # TC-2299. - export CXXFLAGS=`echo $CXXFLAGS | sed s,-finline-functions,,g` + export CXXFLAGS="`echo $CXXFLAGS | sed s,-finline-functions,,g`" # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 - export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`" # Building the RPM in the GBS chroot fails with errors such as @@ -127,8 +127,8 @@ do_compile() { GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" - # Force gold binary from chroot ld.gold provided by binutils-gold - GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " + # disable nacl if necessary + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1" # Linking fails when fatal ld warnings are enabled. See XWALK-1379. GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" @@ -153,7 +153,6 @@ do_compile() { -Dclang=0 \ -Dlinux_use_bundled_binutils=0 \ -Dlinux_use_bundled_gold=0 \ - -Dlinux_use_gold_flags=1 \ -Dtizen=1 \ -Dpython_ver=2.7 \ -Duse_aura=1 \ @@ -164,11 +163,8 @@ do_compile() { -Duse_system_bzip2=1 \ -Duse_system_libexif=1 \ -Duse_system_libxml=1 \ - -Duse_system_protobuf=1 \ -Duse_system_yasm=1 \ - -Denable_hidpi=1 \ - -Dwerror= \ - -Dskia_warnings_as_errors=0 + -Denable_hidpi=1 ninja ${PARALLEL_MAKE} -C src/out/Release xwalk-thirdparty diff --git a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc index b14f6444..fdfafeb7 100644 --- a/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc +++ b/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc @@ -39,7 +39,7 @@ RDEPENDS_widget-manifest-parser-dev += "widget-manifest-parser" DEPENDS = "" #DEPENDS of crosswalk -DEPENDS += "pkgconfig(protobuf)" +DEPENDS += "protobuf" DEPENDS += "cairo" DEPENDS += "pkgmgr" DEPENDS += "expat" @@ -131,7 +131,9 @@ do_compile() { mkdir -p src/out + if [ -f ${prefix}/share/crosswalk-thirdparty/out.tgz ]; then tar -zxvf ${prefix}/share/crosswalk-thirdparty/out.tgz + fi python ./changedate.py # Stop unconditionally passing -Wall to the compiler. Chromium has its own @@ -139,12 +141,12 @@ do_compile() { # to be left out (since several pieces are built with -Werror). At least in # M39, this is preventing the "rtc_base" target from being built because it # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). - export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`" # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 - export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`" # Building the RPM in the GBS chroot fails with errors such as @@ -168,8 +170,8 @@ do_compile() { GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" - # Force gold binary from chroot ld.gold provided by binutils-gold - GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " + # disable nacl if necessary + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1" # Linking fails when fatal ld warnings are enabled. See XWALK-1379. GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" @@ -194,7 +196,6 @@ do_compile() { -Dclang=0 \ -Dlinux_use_bundled_binutils=0 \ -Dlinux_use_bundled_gold=0 \ - -Dlinux_use_gold_flags=1 \ -Dtizen=1 \ -Dpython_ver=2.7 \ -Duse_aura=1 \ @@ -208,9 +209,7 @@ do_compile() { -Duse_system_nspr=1 \ -Duse_system_yasm=1 \ -Dshared_process_mode=1 \ - -Denable_hidpi=1 \ - -Dwerror= \ - -Dskia_warnings_as_errors=0 + -Denable_hidpi=1 ninja ${PARALLEL_MAKE} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools widget-manifest-parser |