tizen_pkg_config("tizen-extension-client") {
packages = []
- if (use_wayland) {
+ if (is_tizen && use_wayland) {
packages = [ "tizen-extension-client" ]
}
}
export C_INCLUDE_PATH="${SCRIPTDIR}/desktop/tizen_include:$C_INCLUDE_PATH"
export CPLUS_INCLUDE_PATH="${SCRIPTDIR}/desktop/tizen_include:$CPLUS_INCLUDE_PATH"
-__HOST_GN_ARG=""
-if [[ $USE_LOCAL_JHBUILD_DEPS == 1 ]]; then
+__HOST_GN_ARG=()
+if [ $USE_LOCAL_JHBUILD_DEPS == 1 ]; then
buildLocalDepsWithJhbuild
export LD_LIBRARY_PATH="${JHBUILD_DEPS}/${_LIBDIR}:$LD_LIBRARY_PATH"
export PATH="${JHBUILD_DEPS}/bin:$PATH"
- __HOST_GN_ARG="deps_include_path=\"${JHBUILD_DEPS}/include\" deps_lib_path=\"${JHBUILD_DEPS}/${_LIBDIR}\""
+ __HOST_GN_ARG+=("deps_include_path=\"${JHBUILD_DEPS}/include\"")
+ __HOST_GN_ARG+=("deps_lib_path=\"${JHBUILD_DEPS}/${_LIBDIR}\"")
fi
-hostGnChromiumEfl $__HOST_GN_ARG
+if [[ -n "$USE_EFL_WAYLAND" ]]; then
+ __HOST_GN_ARG+=(use_wayland=${USE_EFL_WAYLAND})
+fi
+hostGnChromiumEfl "${__HOST_GN_ARG[@]}"
hostNinja desktop
-jN Set number of jobs, just like with make or ninja
--skip-ninja Skip ninja step
--local-deps Build using local dependency built by jhbuild
+ --use-wayland Build with use_wayland build flag
examples:
$0 --ccache
export BUILD_SUBDIRECTORY=Release
export COMPONENT_BUILD=0
export ENABLE_PEPPER_EXTENSIONS=0
+ export USE_EFL_WAYLAND=false
local platform="$1"
shift
--enable-pepper-extensions)
export ENABLE_PEPPER_EXTENSIONS=1
;;
+ --use-wayland)
+ export USE_EFL_WAYLAND=true
+ ;;
-j*)
export JOBS="$1"
;;
if (tizen_autofill) {
defines += [ "TIZEN_AUTOFILL" ]
}
+ if (use_wayland) {
+ defines += [ "USE_WAYLAND" ]
+ }
if (is_tizen) {
defines += [
"OS_TIZEN",
"TIZEN_VERSION_MINOR=${tizen_version_minor}",
"TIZEN_VERSION_PATCH=${tizen_version_patch}",
]
- if (use_wayland) {
- defines += [ "USE_WAYLAND" ]
- }
if (tizen_tbm_support) {
defines += [ "TIZEN_TBM_SUPPORT" ]
}
"$deps_include_path/ecore-input-1",
"$deps_include_path/ecore-input-evas-1",
"$deps_include_path/ecore-ipc-1",
+ "$deps_include_path/ecore-wayland-1",
+ "$deps_include_path/ecore-wl2-1",
"$deps_include_path/ecore-x-1",
"$deps_include_path/ector-1",
"$deps_include_path/ector-1/cairo",
target_cpu=\"${host_arch}\"
target_os="\"linux\""
use_sysroot=false
- use_wayland=false
- use_plugin_placeholder_hole=true
+ use_plugin_placeholder_hole=true
werror=false
dcheck_always_on=false
enable_nacl=false
<!-- The long and scary "enable-i-really" option is needed to build EFL with disable-pulseaudio and disable-physics options.
Apparently EFL configure script considers such configuration unsupported. Still we don't need audio or physics support
in EFL and building extra libraries just to satisfy dependencies we don't need is pointless. -->
- <meson id="efl" mesonargs="-Dpulseaudio=false -Dbuild-examples=false -Dglib=true">
+ <meson id="efl" mesonargs="-Dpulseaudio=false -Dbuild-examples=false -Dglib=true -Dwl=true -Dwl-deprecated=true">
<branch module="rel/libs/efl/efl-1.25.1.tar.xz" version="1.25.1"
repo="download.enlightenment.org"
hash="sha256:351ca0211ca000234527a503585f039f985607ec9439e34b49d8b8bbf35a7e6b">