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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « localeTools.py ('k') | packager.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the Adblock Plus extension, 2 * This file is part of the Adblock Plus extension,
3 * Copyright (C) 2006-2012 Eyeo GmbH 3 * Copyright (C) 2006-2012 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 15 matching lines...) Expand all
26 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, 26 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
27 {%- endif %} 27 {%- endif %}
28 28
29 {%- if not releaseBuild %} 29 {%- if not releaseBuild %}
30 "update_url": "https://adblockplus.org/devbuilds/ 30 "update_url": "https://adblockplus.org/devbuilds/
31 {{- metadata.get('general', 'basename') -}} 31 {{- metadata.get('general', 'basename') -}}
32 {%- if experimentalAPI -%} 32 {%- if experimentalAPI -%}
33 -experimental 33 -experimental
34 {%- endif -%} 34 {%- endif -%}
35 /updates.xml", 35 /updates.xml",
36 {%- elif metadata.has_option('general', 'updateURL') %}
37 "update_url": {{metadata.get('general', 'updateURL')|json}},
36 {%- endif %} 38 {%- endif %}
37 39
38 {%- if pageAction %} 40 {%- if pageAction %}
39 "page_action": { 41 "page_action": {
40 "default_icon": {{pageAction.icon|json}}, 42 "default_icon": {{pageAction.icon|json}},
41 "default_title": "__MSG_name__", 43 "default_title": "__MSG_name__",
42 "default_popup": {{pageAction.popup|json}} 44 "default_popup": {{pageAction.popup|json}}
43 }, 45 },
44 {%- endif %} 46 {%- endif %}
45 47
48 {%- if metadata.has_option('general', 'browserAction') and metadata.get('gener al', 'browserAction') != '' %}
49 "browser_action": {},
50 {%- endif %}
51
46 {%- if icons %} 52 {%- if icons %}
47 "icons": {{icons|json}}, 53 "icons": {{icons|json}},
48 {%- endif %} 54 {%- endif %}
49 55
50 {%- if permissions %} 56 {%- if permissions %}
51 "permissions": {{permissions|json}}, 57 "permissions": {{permissions|json}},
52 {%- endif %} 58 {%- endif %}
53 59
54 {%- if backgroundScripts %} 60 {%- if backgroundScripts %}
55 "background": { 61 "background": {
56 "scripts": {{backgroundScripts|json}} 62 "scripts": {{backgroundScripts|json}}
57 }, 63 },
58 {%- endif %} 64 {%- endif %}
59 65
60 {%- if metadata.has_option('general', 'options') %} 66 {%- if metadata.has_option('general', 'options') %}
61 "options_page": {{metadata.get('general', 'options')|json}}, 67 "options_page": {{metadata.get('general', 'options')|json}},
62 {%- endif %} 68 {%- endif %}
63 69
64 {%- if contentScripts %} 70 {%- if contentScripts %}
65 "content_scripts": {{contentScripts|json}}, 71 "content_scripts": {{contentScripts|json}},
66 {%- endif %} 72 {%- endif %}
67 73
68 {%- if webAccessible %} 74 {%- if webAccessible %}
69 "web_accessible_resources": {{webAccessible|json}}, 75 "web_accessible_resources": {{webAccessible|json}},
70 {%- endif %} 76 {%- endif %}
71 77
72 "_dummy": false 78 "_dummy": false
73 } 79 }
OLDNEW
« no previous file with comments | « localeTools.py ('k') | packager.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld