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

Unified Diff: packagerEdge.py

Issue 29367148: Issue 4720 - Edge packager does not support devenv (Closed)
Patch Set: Rebase Created Sept. 25, 2017, 8:23 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
« no previous file with comments | « build.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerEdge.py
===================================================================
--- a/packagerEdge.py
+++ b/packagerEdge.py
@@ -188,6 +188,13 @@
files['manifest.json'] = packagerChrome.createManifest(params, files)
+ if devenv:
Sebastian Noack 2017/09/25 15:58:52 This logic is duplicated in packagerChrome.py. Can
+ import buildtools
+ import random
+ files.read(os.path.join(buildtools.__path__[0],
+ 'chromeDevenvPoller__.js'), relpath='devenvPoller__.js')
+ files['devenvVersion__'] = str(random.random())
+
move_files_to_extension(files)
if metadata.has_section('appx_assets'):
« no previous file with comments | « build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld