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

Unified Diff: packagerEdge.py

Issue 29575633: Issue 4720 - enable devenv target for Edge packager (Closed)
Patch Set: Created Oct. 13, 2017, 2:58 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 | « 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
diff --git a/packagerEdge.py b/packagerEdge.py
index 406a0bba7b9e10628fac7e8fa412d22f40330213..41440dc93e542988077b0e4c804e55596686a190 100644
--- a/packagerEdge.py
+++ b/packagerEdge.py
@@ -188,6 +188,13 @@ def createBuild(baseDir, type='edge', outFile=None, # noqa: preserve API.
files['manifest.json'] = packagerChrome.createManifest(params, files)
+ if devenv:
+ 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