-DCMAKE_SKIP_RPATH:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} . \
- -DX11_SUPPORT=Off
+ ${EXTRA_OECMAKE} .
- oe_runmake -j16
+ oe_runmake ${PARALLEL_MAKE}
unset DISPLAY
LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "
+ export CFLAGS+=" -Wall -Wcast-align -Wcast-qual -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable"
autotools_do_configure
- make -j16
-
+ oe_runmake ${PARALLEL_MAKE}
# 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`
+
# 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
-Duse_system_bzip2=1 \
-Duse_system_libexif=1 \
-Duse_system_libxml=1 \
+ -Duse_system_protobuf=1 \
-Duse_system_yasm=1 \
- -Dshared_process_mode=1 \
- -Denable_hidpi=1
+ -Denable_hidpi=1 \
+ -Dwerror= \
+ -Dskia_warnings_as_errors=0
- ninja -j16 -C src/out/Release xwalk-thirdparty
+ ninja ${PARALLEL_MAKE} -C src/out/Release xwalk-thirdparty
-Duse_system_nspr=1 \
-Duse_system_yasm=1 \
-Dshared_process_mode=1 \
- -Denable_hidpi=1
+ -Denable_hidpi=1 \
+ -Dwerror= \
+ -Dskia_warnings_as_errors=0
- ninja ${PARALLEL_MAKE} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools
- ninja -j16 -C src/out/Release xwalk xwalk_launcher xwalk_application_tools widget-manifest-parser
++ ninja ${PARALLEL_MAKE} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools widget-manifest-parser
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE} \
- -Dxwalk_vehicle_extension=ON \
- -DXWALK_EXTENSION_PATH=/tizen-extensions-crosswalk \
- -Ddatabase_plugin=ON \
- -Dmurphy_plugin=ON \
- -Dobd2_plugin=ON \
- -Dtest_plugin=ON \
- -Dgpsnmea_plugin=ON \
- -Dcangen_plugin=ON \
- -Dcansim_plugin=ON \
- -Dusebluez5=ON \
- -Denable_docs=ON
+ -Dxwalk_vehicle_extension=ON \
+ -DXWALK_EXTENSION_PATH=/tizen-extensions-crosswalk \
+ -Dqtmainloop=ON \
+ -Dopencvlux_plugin=ON \
+ -Dwebsocket_plugin=ON \
+ -Dbluetooth_plugin=ON \
+ -Dbluemonkey_plugin=ON \
+ -Ddatabase_plugin=ON \
+ -Dmurphy_plugin=ON \
+ -Dobd2_plugin=ON \
+ -Dtest_plugin=ON \
+ -Dgpsnmea_plugin=ON \
+ -Dcangen_plugin=ON \
+ -Dcansim_plugin=ON \
+ -Dusebluez5=ON \
+ -Denable_docs=ON
- oe_runmake -j16
+ oe_runmake ${PARALLEL_MAKE}
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE} .
- oe_runmake ${PARALLEL_MAKE} V=1
+
+ }
+ do_patch_append() {
+ bb.build.exec_func('do_prep', d)
+ }
+
+ do_configure() {
+ }
+
+ do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ;
+
+
- make -j16 V=1
++ make ${PARALLEL_MAKE} V=1
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE}
-
- make ${PARALLEL_MAKE}
- oe_runmake -j16
--
++ oe_runmake ${PARALLEL_MAKE}
}