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

Unified Diff: packagerChrome.py

Issue 9158185: Implemented mapping of files from subrepositories (Closed)
Patch Set: Created Jan. 14, 2013, 2:43 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 | « packager.py ('k') | packagerGecko.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerChrome.py
===================================================================
--- a/packagerChrome.py
+++ b/packagerChrome.py
@@ -161,16 +161,18 @@ def createBuild(baseDir, outFile=None, b
'version': version,
'experimentalAPI': experimentalAPI,
'devenv': devenv,
'metadata': metadata,
}
files = Files(getPackageFiles(params), getIgnoredFiles(params))
files['manifest.json'] = createManifest(params)
+ if metadata.has_section('mapping'):
+ files.readMappedFiles(baseDir, metadata.items('mapping'))
files.read(baseDir)
if metadata.has_section('convert_js'):
convertJS(params, files)
if devenv:
files['devenvPoller__.js'] = createPoller(params)
« no previous file with comments | « packager.py ('k') | packagerGecko.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld