%ifarch armv7l
%define ARCHITECTURE armv7l
%endif
+%ifarch armv7hl
+%define ARCHITECTURE armv7hl
+%endif
%ifarch aarch64
%define ARCHITECTURE aarch64
%endif
export GN_GENERATOR_OUTPUT=$PWD/%{OUTPUT_BASE_FOLDER}
+export BUILD_ARCH=%{ARCHITECTURE}
+
#set build mode
%global OUTPUT_FOLDER %{OUTPUT_BASE_FOLDER}
"tizen_version_major=%{tizen_version_major}" \
"tizen_version_minor=%{tizen_version_minor}" \
"tizen_version_patch=%{tizen_version_patch}" \
+%ifarch armv7hl
+ "arm_float_abi=\"hard\"" \
+%endif
%if 0%{?_remove_webcore_debug_symbols:1}
"remove_webcore_debug_symbols=true" \
%endif
host_arch_type = host_arch.read().strip()
tizenbuildtools_dir = os.path.join(root_src_dir + "/tizen_src",
"buildtools")
- if (host_arch_type == "x64"):
+ if (host_arch_type == "x86_64"):
_clang_format_command_path = os.path.join(
buildtools_platform_dir, "clang-format{}".format(exe_suffix))
- elif (host_arch_type == "x86"):
+ elif (host_arch_type == "ix86"):
_clang_format_command_path = os.path.join(
tizenbuildtools_dir + "/i586/",
"clang-format{}".format(exe_suffix))
+ elif (host_arch_type == "armv7hl"):
+ _clang_format_command_path = os.path.join(
+ tizenbuildtools_dir + "/armv7hl/",
+ "clang-format{}".format(exe_suffix))
else:
_clang_format_command_path = os.path.join(
tizenbuildtools_dir + "/arm/",
libyuv_disable_jpeg = false
libyuv_use_neon =
current_cpu == "arm64" ||
- (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon))
+ ((current_cpu == "arm" && is_clang) && (arm_use_neon || arm_optionally_use_neon))
libyuv_use_msa =
(current_cpu == "mips64el" || current_cpu == "mipsel") && mips_use_msa
libyuv_use_mmi =
--- /dev/null
+#!/bin/bash
+
+. `dirname $0`/common.sh
+
+setupAndExecuteTargetBuild unified --standard "$@" -A armv7hl
}
add_arm_flags() {
- ADDITIONAL_GN_PARAMETERS+="arm_use_neon=false
+ ADDITIONAL_GN_PARAMETERS+="arm_use_neon=true
"
if [ "$host_arch" == "arm64" ]; then
ADDITIONAL_GN_PARAMETERS+="system_libdir=\"lib64\"
use_real_dbus_clients=false
use_nss_certs=true
use_system_libwayland=true
+ v8_use_external_startup_data=true
"
# FIXME : Note that the v8_snapshot_toolchain has been set to wrong
$EXTRA_GN_ARGS
"
-echo $host_arch > host_arch.txt
+if [ "$target" == "tizen" ]; then
+ echo $BUILD_ARCH > host_arch.txt
+fi
+
echo $target > target.txt
echo $target > third_party/node/target.txt