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

Delta Between Two Patch Sets: adblockplus/build.py

Issue 6302236728623104: Add Adblock Plus API (Closed)
Left Patch Set: Remove redundant check Created March 14, 2015, 10:52 p.m.
Right Patch Set: Rebase after change in http://codereview.adblockplus.org/5924365505921024 Created March 17, 2015, 3:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « adblockplus/Api.jsm ('k') | adblockplus/metadata.gecko » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # coding: utf-8 2 # coding: utf-8
3 3
4 import os 4 import os
5 import sys 5 import sys
6 6
7 import buildtools.build 7 import buildtools.build
8 import buildtools.packager 8 import buildtools.packager
9 9
10 BUILD_DIR = os.path.dirname(os.path.abspath(__file__)) 10 BUILD_DIR = os.path.dirname(os.path.abspath(__file__))
11 BASE_DIR = os.path.join(BUILD_DIR, "adblockplus") 11 BASE_DIR = os.path.join(BUILD_DIR, "adblockplus")
12 12
13 def getMetadataPath(baseDir, type): 13 def getMetadataPath(baseDir, type):
14 return os.path.join(BUILD_DIR, "metadata.gecko") 14 return os.path.join(BUILD_DIR, "metadata.gecko")
15 15
16 buildtools.packager.getMetadataPath = getMetadataPath 16 buildtools.packager.getMetadataPath = getMetadataPath
17 buildtools.build.processArgs(BASE_DIR, sys.argv) 17 buildtools.build.processArgs(BASE_DIR, sys.argv)
LEFTRIGHT

Powered by Google App Engine
This is Rietveld