crosswalk-thirdparty: fix uninitialized variable error
[scm/bb/meta-tizen.git] / meta-tizen-common-share / recipes-crosswalk / crosswalk / crosswalk-thirdparty-extraconf.inc
1 inherit gettext
2
3 FILESEXTRAPATHS_prepend := "${THISDIR}/crosswalk:"
4
5 SRC_URI += "\
6             file://include.gypi \
7             file://oe-defaults.gypi \
8             "
9 SRC_URI += "file://fix-crosbuild.patch"
10 SRC_URI += "file://fix-egl-version.patch"
11 SRC_URI += "file://fix-uninitialized-error-glyf.patch"
12 SRC_URI += "file://fix-uninitialized-error-woff2.patch"
13 SRC_URI += "file://fix-uninitialized-error-name.patch"
14 SRC_URI += "file://fix-uninitialized-error-VDMXParser.patch"
15
16 # This comes from the chromium recipe:
17 # http://layers.openembedded.org/layerindex/recipe/4969/
18 # It allows architecture specific configuration
19 COMPATIBLE_MACHINE = "(-)"
20 COMPATIBLE_MACHINE_i586 = "(.*)"
21 COMPATIBLE_MACHINE_x86-64 = "(.*)"
22 COMPATIBLE_MACHINE_armv6 = "(.*)"
23 COMPATIBLE_MACHINE_armv7a = "(.*)"
24 COMPATIBLE_MACHINE_romley-ivb = "(.*)"
25 COMPATIBLE_MACHINE_valleyisland-64 = "(.*)"
26 COMPATIBLE_MACHINE_rpi2 = "(.*)"
27
28 RDEPENDS_${PN} += "libpulsecommon"
29
30 DEPENDS += "yasm-native"
31
32 do_compile_prepend() {
33
34  CC_host="gcc"; export CC_host
35  CXX_host="g++"; export CXX_host
36
37  LD="${CXX}" export LD
38  CC="${CC}" export CC
39  CXX="${CXX}" export CXX
40  GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -I${WORKDIR}/oe-defaults.gypi -I${WORKDIR}/include.gypi"
41  GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Dhost_clang=0 "
42 }
43
44 do_configure() {
45 }