Index: adblockplus/build.py |
diff --git a/adblockplus/build.py b/adblockplus/build.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..64aac68c3504e6dd001ec881ae59d17280f283d7 |
--- /dev/null |
+++ b/adblockplus/build.py |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/env python |
+# coding: utf-8 |
+ |
+import os |
+import sys |
+ |
+import buildtools.build |
+import buildtools.packager |
+ |
+BUILD_DIR = os.path.dirname(os.path.abspath(__file__)) |
+BASE_DIR = os.path.join(BUILD_DIR, "adblockplus") |
+ |
+def getMetadataPath(baseDir, type): |
+ return os.path.join(BUILD_DIR, "metadata.gecko") |
+ |
+buildtools.packager.getMetadataPath = getMetadataPath |
+buildtools.build.processArgs(BASE_DIR, sys.argv) |