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: Rebase after change in http://codereview.adblockplus.org/5924365505921024 Created March 17, 2015, 3:30 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 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)
« 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