comparison mxtool/mx.py @ 15356:9e7f87dc6395

mx exportlibs: include source dependencies and digest files
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 24 Apr 2014 11:49:08 +0200
parents 43aa6a7e60bd
children f14192b72692
comparison
equal deleted inserted replaced
15355:43aa6a7e60bd 15356:9e7f87dc6395
4390 libsToExport.add(r) 4390 libsToExport.add(r)
4391 size = len(libsToExport) 4391 size = len(libsToExport)
4392 4392
4393 for lib in libsToExport: 4393 for lib in libsToExport:
4394 add(lib.get_path(resolve=True), lib.path) 4394 add(lib.get_path(resolve=True), lib.path)
4395 if lib.sha1:
4396 add(lib.get_path(resolve=True) + ".sha1", lib.path + ".sha1")
4397 if lib.sourcePath:
4398 add(lib.get_source_path(resolve=True), lib.sourcePath)
4399 if lib.sourceSha1:
4400 add(lib.get_source_path(resolve=True) + ".sha1", lib.sourcePath + ".sha1")
4395 4401
4396 if args.extras: 4402 if args.extras:
4397 for e in args.extras: 4403 for e in args.extras:
4398 if os.path.isdir(e): 4404 if os.path.isdir(e):
4399 for root, _, filenames in os.walk(e): 4405 for root, _, filenames in os.walk(e):