changeset 24:a57ec6a76fe3

Describe steps to track dependencies
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 02 Jun 2011 21:50:49 +0800
parents fff40aabefab
children 670167ed06bb
files paraspace/dex_deptracker.py paraspace/dexfile.py
diffstat 2 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/paraspace/dex_deptracker.py	Thu Jun 02 16:53:12 2011 +0800
+++ b/paraspace/dex_deptracker.py	Thu Jun 02 21:50:49 2011 +0800
@@ -80,11 +80,25 @@
     return all_deps
 
 
+def _install_uid_marker(all_deps):
+    for from_path, dep in all_deps.items():
+        dep_type = dep[0]
+        if issubclass(dep_type, dexfile.depend_off):
+            # install offset marker
+            pass
+        # install uid marker
+        pass
+    pass
 
-def _install_offset_keepers():
-    
+
+def _link_dependencies():
     pass
 
+
+def _sync_dependencies():
+    pass
+
+
 if __name__ == '__main__':
     dex = dexfile.DEXFile.open('../data/testdata1.dex')
     
--- a/paraspace/dexfile.py	Thu Jun 02 16:53:12 2011 +0800
+++ b/paraspace/dexfile.py	Thu Jun 02 21:50:49 2011 +0800
@@ -1419,9 +1419,4 @@
                                                       map.size,
                                                       map.offset)
         pass
-
-    import pprint
-    print
-    print 'Dependencies'
-    pprint.pprint(collect_dependencies())
     pass