Index: adblockplus/build.py |
=================================================================== |
new file mode 100644 |
--- /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) |