Index: packagerChrome.py |
=================================================================== |
--- a/packagerChrome.py |
+++ b/packagerChrome.py |
@@ -13,20 +13,27 @@ |
# GNU General Public License for more details. |
# |
# You should have received a copy of the GNU General Public License |
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
import sys, os, re, json, struct |
from StringIO import StringIO |
-from packager import getDefaultFileName, readMetadata, getBuildVersion, getTemplate, Files |
+import packager |
+from packager import getDefaultFileName, getBuildVersion, getTemplate, Files |
defaultLocale = 'en_US' |
+def getMetadataPath(baseDir): |
+ return packager.getMetadataPath(baseDir, 'chrome') |
+ |
+def readMetadata(baseDir): |
+ return packager.readMetadata(baseDir, 'chrome') |
+ |
def getIgnoredFiles(params): |
return set(('store.description',)) |
def getPackageFiles(params): |
result = set(('_locales', 'icons', 'jquery-ui', 'lib', 'skin', 'ui',)) |
if params['devenv']: |
result.add('qunit') |