2b61259c05de0033f96bc7fd2b60581a0faecb88
[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 # This comes from the chromium recipe:
6 # http://layers.openembedded.org/layerindex/recipe/4969/
7 # It allows architecture specific configuration
8 SRC_URI += "${INCLUDE_GYPI}"
9 SRC_URI += "${OE_DEFAULTS_GYPI}"
10
11 SRC_URI += "file://fix-crosbuild.patch"
12
13 INCLUDE_GYPI_i586 = "file://include.gypi"
14 INCLUDE_GYPI_x86-64 = "file://include.gypi"
15 INCLUDE_GYPI_arm = "file://include.gypi"
16 OE_DEFAULTS_GYPI_i586 = "file://oe-defaults.gypi"
17 OE_DEFAULTS_GYPI_x86-64 = "file://oe-defaults.gypi"
18 OE_DEFAULTS_GYPI_arm = "file://oe-defaults.gypi"
19
20 RDEPENDS_${PN} += "libpulsecommon"
21
22 DEPENDS += "yasm-native"
23
24 do_compile_prepend() {
25
26     CC_host="gcc"; export CC_host
27     CXX_host="g++"; export CXX_host
28
29     LD="${CXX}" export LD
30     CC="${CC}" export CC
31     CXX="${CXX}" export CXX
32     GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -I${WORKDIR}/oe-defaults.gypi -I${WORKDIR}/include.gypi"
33     GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Dhost_clang=0 "
34 }
35
36 do_configure() {
37 }