# As guided, the last is the main app from multi project listup.
def_file_list = []
- # Single project
- def_file_list.append(os.path.join(src_root, 'tizen-manifest.xml'))
# Multi project
multiproject_list_f = os.path.join(src_root, 'WORKSPACE')
if os.path.isfile(multiproject_list_f):
def_file_list.append(os.path.join(src_root, x.rstrip(), 'tizen-manifest.xml'))
elif os.path.isfile(os.path.join(src_root, x.rstrip(), 'config.xml')):
def_file_list.append(os.path.join(src_root, x.rstrip(), 'config.xml'))
+ else:
+ # Single project
+ if os.path.isfile(os.path.join(src_root, 'tizen-manifest.xml')):
+ def_file_list.append(os.path.join(src_root, 'tizen-manifest.xml'))
+ if os.path.isfile(os.path.join(src_root, 'config.xml')):
+ def_file_list.append(os.path.join(src_root, 'config.xml'))
#for def_file in def_file_list:
#TODO: Should be the last item