Fix bug 1165428 - Restore support for binary components on a per-application basis. r=bsmedberg

This commit is contained in:
Philipp Kewisch
2015-05-20 20:01:27 +02:00
parent 3f5ffd0bbe
commit d31af87142
2 changed files with 7 additions and 0 deletions

View File

@@ -657,11 +657,13 @@ ParseManifest(NSLocationType aType, FileLocation& aFile, char* aBuf,
continue;
}
#ifndef MOZ_BINARY_EXTENSIONS
if (directive->apponly && NS_APP_LOCATION != aType) {
LogMessageWithContext(aFile, line,
"Only application manifests may use the '%s' directive.", token);
continue;
}
#endif
if (directive->componentonly && NS_SKIN_LOCATION == aType) {
LogMessageWithContext(aFile, line,