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

Unified Diff: manifest.json.tmpl

Issue 9257092: More build tools improvements (Closed)
Patch Set: Added some more changes required to build Firefox and Chrome extensions from the same repository (s… Created Jan. 25, 2013, 1:47 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 | « localeTools.py ('k') | packager.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: manifest.json.tmpl
===================================================================
--- a/manifest.json.tmpl
+++ b/manifest.json.tmpl
@@ -28,26 +28,32 @@
{%- if not releaseBuild %}
"update_url": "https://adblockplus.org/devbuilds/
{{- metadata.get('general', 'basename') -}}
{%- if experimentalAPI -%}
-experimental
{%- endif -%}
/updates.xml",
+ {%- elif metadata.has_option('general', 'updateURL') %}
+ "update_url": {{metadata.get('general', 'updateURL')|json}},
{%- endif %}
{%- if pageAction %}
"page_action": {
"default_icon": {{pageAction.icon|json}},
"default_title": "__MSG_name__",
"default_popup": {{pageAction.popup|json}}
},
{%- endif %}
+ {%- if metadata.has_option('general', 'browserAction') and metadata.get('general', 'browserAction') != '' %}
+ "browser_action": {},
+ {%- endif %}
+
{%- if icons %}
"icons": {{icons|json}},
{%- endif %}
{%- if permissions %}
"permissions": {{permissions|json}},
{%- endif %}
« no previous file with comments | « localeTools.py ('k') | packager.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld