chiark / gitweb /
FinfAgent (FlurryAgent replacement) srclib
authoruniqdom <slashytu@hotmail.com>
Sun, 20 Jan 2013 21:22:25 +0000 (18:22 -0300)
committeruniqdom <slashytu@hotmail.com>
Sun, 20 Jan 2013 21:22:25 +0000 (18:22 -0300)
fdroidserver/common.py

index 84d15fc0925c3a8c5d27e453a0962a16283bbe28..f62ddb430e3685f9c5d07f49a785715ce25c7588 100644 (file)
@@ -1170,6 +1170,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
         vcs.gotorevision(ref)
         return sdir
 
+    if name == 'FinfAgent':
+        sdir = os.path.join(extlib_dir, 'FinfAgent')
+        vcs = getvcs('git',
+           'https://github.com/uniqdom/FinfAgent.git', sdir, sdk_path)
+        vcs.gotorevision(ref)
+        if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
+            'update', 'project', '-p',
+            sdir]) != 0:
+            raise BuildException('Error updating FinfAgent project')
+        return sdir
+
     if name == 'MobAdMob':
         sdir = os.path.join(extlib_dir, 'MobAdMob')
         vcs = getvcs('git',