Merge pull request #4136 from timvandermeij/remove-extension-files

Removing extension-files file
This commit is contained in:
Yury Delendik 2014-01-17 09:03:30 -08:00
commit 9409f3794a

17
make.js
View File

@ -572,12 +572,7 @@ target.mozcentral = function() {
'../../LICENSE'],
DEFAULT_LOCALE_FILES =
[LOCALE_SRC_DIR + 'en-US/viewer.properties',
LOCALE_SRC_DIR + 'en-US/chrome.properties'],
FIREFOX_MC_EXTENSION_FILES =
['chrome.manifest',
'components',
'content',
'LICENSE'];
LOCALE_SRC_DIR + 'en-US/chrome.properties'];
target.bundle({ excludes: ['core/network.js'], defines: defines });
cd(ROOT_DIR);
@ -640,16 +635,6 @@ target.mozcentral = function() {
sed('-i', /PDFJSSCRIPT_MOZ_CENTRAL/, 'true',
MOZCENTRAL_EXTENSION_DIR + 'components/PdfStreamConverter.js');
// List all files for mozilla-central
cd(MOZCENTRAL_EXTENSION_DIR);
var extensionFiles = '';
find(FIREFOX_MC_EXTENSION_FILES).forEach(function(file) {
if (test('-f', file))
extensionFiles += file + '\n';
});
extensionFiles.to('extension-files');
cd(ROOT_DIR);
// Copy test files
mkdir('-p', MOZCENTRAL_TEST_DIR);
cp('-Rf', 'test/mozcentral/*', MOZCENTRAL_TEST_DIR);