Commit fixes patch apparent in the x86_64 build. In
style_format.py we are trying to obtain the target from the
target.txt. For the x86_64 target.txt it is not created to
use statically linked nodejs.
Now in the style_format.py we will assume default target as
tizen. If we will found the target.txt file, then we will
read the target from it.
Change-Id: I48a99c3368e71b0c35f0846cb0f74ad2a11fee67
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
"gn{}".format(exe_suffix))
# //tizen_src/buildtools for tizen platform
- target = open(root_src_dir + "/target.txt", 'r')
- target_type = target.read().strip()
+ target_type = 'tizen'
+ if os.path.exists(root_src_dir + "/target.txt"):
+ target = open(root_src_dir + "/target.txt", 'r')
+ target_type = target.read().strip()
+
if (target_type == "tizen"):
host_arch = open(root_src_dir + "/host_arch.txt", 'r')
host_arch_type = host_arch.read().strip()