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

Delta Between Two Patch Sets: manifest.json.tmpl

Issue 9257092: More build tools improvements (Closed)
Left Patch Set: Created Jan. 25, 2013, 10:22 a.m.
Right 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:
Right: Side by side diff | Download
« no previous file with change/comment | « localeTools.py ('k') | packager.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 },
46 {%- endif %}
47
48 {%- if metadata.has_option('general', 'browserAction') and metadata.get('gener al', 'browserAction') != '' %}
49 "browser_action": {},
44 {%- endif %} 50 {%- endif %}
45 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
(...skipping 10 matching lines...) Expand all
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 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld