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

Unified Diff: build.py

Issue 29575633: Issue 4720 - enable devenv target for Edge packager (Closed)
Patch Set: Addressing nit Created Oct. 18, 2017, 2:28 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 | « no previous file | packagerChrome.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
diff --git a/build.py b/build.py
index 7c6ac6448dfa5ad8f1667234de83251eb6767a70..aa3c2035eea5688fcbbd9468ccafa250757f161c 100644
--- a/build.py
+++ b/build.py
@@ -197,7 +197,10 @@ def runBuild(baseDir, scriptName, opts, args, type):
def createDevEnv(baseDir, scriptName, opts, args, type):
- import buildtools.packagerChrome as packager
+ if type == 'edge':
+ import buildtools.packagerEdge as packager
+ else:
+ import buildtools.packagerChrome as packager
file = StringIO()
packager.createBuild(baseDir, type=type, outFile=file, devenv=True, releaseBuild=True)
@@ -394,7 +397,7 @@ with addCommand(runBuild, 'build') as command:
with addCommand(createDevEnv, 'devenv') as command:
command.shortDescription = 'Set up a development environment'
command.description = 'Will set up or update the devenv folder as an unpacked extension folder for development.'
- command.supportedTypes = {'gecko', 'chrome'}
+ command.supportedTypes = {'gecko', 'chrome', 'edge'}
with addCommand(setupTranslations, 'setuptrans') as command:
command.shortDescription = 'Sets up translation languages'
« no previous file with comments | « no previous file | packagerChrome.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld