Index: packagerGecko.py |
=================================================================== |
--- a/packagerGecko.py |
+++ b/packagerGecko.py |
@@ -309,16 +309,18 @@ def createBuild(baseDir, outFile=None, l |
'metadata': metadata, |
'contributors': contributors, |
'multicompartment': multicompartment, |
} |
files = Files(getPackageFiles(params), getIgnoredFiles(params), |
process=lambda path, data: processFile(path, data, params)) |
files['install.rdf'] = createManifest(params) |
+ if metadata.has_section('mapping'): |
+ files.readMappedFiles(baseDir, metadata.items('mapping')) |
files.read(baseDir, skip=('chrome')) |
for name, path in getChromeSubdirs(baseDir, params['locales']).iteritems(): |
if os.path.isdir(path): |
files.read(path, 'chrome/%s' % name) |
fixupLocales(params, files) |
if not 'bootstrap.js' in files: |
addMissingFiles(params, files) |
if keyFile: |