Subversion Repositories Kolibri OS

Rev

Rev 9380 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9380 Rev 9411
Line 3... Line 3...
3
 
3
 
4
path_to_tools_workspace = os.path.dirname(os.path.abspath(__file__))
4
path_to_tools_workspace = os.path.dirname(os.path.abspath(__file__))
5
path_to_tools = os.path.dirname(path_to_tools_workspace)
5
path_to_tools = os.path.dirname(path_to_tools_workspace)
Line 6... Line 6...
6
sys.path.append(path_to_tools)
6
sys.path.append(path_to_tools)
-
 
7
 
Line 7... Line 8...
7
 
8
from lib.tupfile_parser import parse_required_compilers, parse_tupfile_outputs
8
from lib.tupfile_parser import parse_tupfile_outputs
9
from lib.logging import require_tools
9
 
10
 
10
def get_executable_file(output_file_list):
11
def get_executable_file(output_file_list):
11
    for name in output_file_list:
12
    for name in output_file_list:
Line 12... Line 13...
12
        if name.endswith(".inc"):
13
        if name.endswith(".inc"):
-
 
14
            continue
-
 
15
        return name
13
            continue
16
 
14
        return name
17
def build():
15
 
18
    required_compilers = parse_required_compilers("Tupfile.lua")
Line 16... Line 19...
16
def build():
19
    require_tools(required_compilers)