Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplus/build.py

Issue 6302236728623104: Add Adblock Plus API (Closed)
Patch Set: Nit: Use == instead of === as the Mozilla coding style says Created March 14, 2015, 10:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « adblockplus/Api.jsm ('k') | adblockplus/metadata.gecko » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: adblockplus/build.py
===================================================================
new file mode 100755
--- /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)
« no previous file with comments | « adblockplus/Api.jsm ('k') | adblockplus/metadata.gecko » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld