changeset 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 f419db49a54e
files mxtool/mx.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Thu Apr 24 11:50:40 2014 +0200
+++ b/mxtool/mx.py	Thu Apr 24 11:49:08 2014 +0200
@@ -4392,6 +4392,12 @@
 
         for lib in libsToExport:
             add(lib.get_path(resolve=True), lib.path)
+            if lib.sha1:
+                add(lib.get_path(resolve=True) + ".sha1", lib.path + ".sha1")
+            if lib.sourcePath:
+                add(lib.get_source_path(resolve=True), lib.sourcePath)
+                if lib.sourceSha1:
+                    add(lib.get_source_path(resolve=True) + ".sha1", lib.sourcePath + ".sha1")
 
         if args.extras:
             for e in args.extras: