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

Unified Diff: packagerEdge.py

Issue 29399569: Issue 5060 - Move require into modules template, make info a module (Closed)
Patch Set: Improve check for require Created April 1, 2017, 1:27 a.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
Index: packagerEdge.py
diff --git a/packagerEdge.py b/packagerEdge.py
index 8645ce12283c599e8fc61561adbd7126dfb7253f..8899cced11e2b66e7d4a1d15fba6c9316366e80e 100644
--- a/packagerEdge.py
+++ b/packagerEdge.py
@@ -181,11 +181,6 @@ def createBuild(baseDir, type='edge', outFile=None, # noqa: preserve API.
files['manifest.json'] = packagerChrome.createManifest(params, files)
- if metadata.has_option('general', 'backgroundScripts'):
- bg_scripts = metadata.get('general', 'backgroundScripts').split()
- if 'lib/info.js' in bg_scripts and 'lib/info.js' not in files:
- files['lib/info.js'] = packagerChrome.createInfoModule(params)
-
move_files_to_extension(files)
if metadata.has_section('appx_assets'):
« no previous file with comments | « packagerChrome.py ('k') | templates/chromeInfo.js.tmpl » ('j') | templates/modules.js.tmpl » ('J')

Powered by Google App Engine
This is Rietveld