chiark / gitweb /
Add 'nativecode' field to apks which use it
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:20:29 +0000 (18:20 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:21:02 +0000 (18:21 +0200)
fdroidserver/update.py

index 2d6c5845361309d4cc464602d98d3a0e91fdbc18..9f06e67228c9480c51943382dafda94da910cb77 100644 (file)
@@ -530,6 +530,8 @@ def make_index(apps, apks, repodir, archive, categories):
                     perms = ""
                     if len(apk['permissions']) > 0:
                         addElement('permissions', ','.join(apk['permissions']), doc, apkel)
+                    if len(apk['nativecode']) > 0:
+                        addElement('nativecode', ','.join(apk['nativecode']), doc, apkel)
                     if len(apk['features') > 0:
                         addElement('features', ','.join(apk['features']), doc, apkel)