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

Unified Diff: packagerChrome.py

Issue 29696596: Issue 6383 - introduce switchable app_id (Closed) Base URL: https://hg.adblockplus.org/buildtools/rev/097b8d9c43a8
Patch Set: Created Feb. 14, 2018, 10:49 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 | « packager.py ('k') | packagerEdge.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerChrome.py
diff --git a/packagerChrome.py b/packagerChrome.py
index 865d71adc30e63e0f7df93f70b9f67f4a1ff8629..6f09e9ccf95e7a7903097cbd31c642d63018886e 100644
--- a/packagerChrome.py
+++ b/packagerChrome.py
@@ -15,7 +15,7 @@ import random
import posixpath
from packager import (readMetadata, getDefaultFileName, getBuildVersion,
- getTemplate, get_extension, Files)
+ getTemplate, get_extension, Files, get_app_id)
defaultLocale = 'en_US'
@@ -135,6 +135,8 @@ def createManifest(params, files):
'match_about_blank': True,
})
templateData['contentScripts'] = contentScripts
+ if params['type'] == 'gecko':
+ templateData['app_id'] = get_app_id(params['releaseBuild'], metadata)
manifest = template.render(templateData)
« no previous file with comments | « packager.py ('k') | packagerEdge.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld