| LEFT | RIGHT |
| 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) |
| LEFT | RIGHT |