From d17fdea8846607fb648a6b5cd00e01a0201afa8e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 11 Apr 2019 00:13:59 +0300 Subject: [PATCH] waflib: remove get_subproject_name function --- public/wscript | 1 - scripts/waflib/fwgslib.py | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/public/wscript b/public/wscript index 8acb732b..2f1a3aa6 100644 --- a/public/wscript +++ b/public/wscript @@ -4,7 +4,6 @@ from waflib import Logs import os -from fwgslib import get_subproject_name top = '.' diff --git a/scripts/waflib/fwgslib.py b/scripts/waflib/fwgslib.py index e3b560ea..e7cdee0d 100644 --- a/scripts/waflib/fwgslib.py +++ b/scripts/waflib/fwgslib.py @@ -13,9 +13,6 @@ import os -def get_subproject_name(ctx): - return os.path.basename(os.path.realpath(str(ctx.path))) - def get_flags_by_compiler(flags, compiler): out = [] if compiler in flags: @@ -30,4 +27,4 @@ def get_flags_by_type(flags, type, compiler): out += get_flags_by_compiler(flags['common'], compiler) if type in flags: out += get_flags_by_compiler(flags[type], compiler) - return out \ No newline at end of file + return out