Removing extension-files file
This commit is contained in:
parent
455265474a
commit
c6640809a4
17
make.js
17
make.js
@ -572,12 +572,7 @@ target.mozcentral = function() {
|
|||||||
'../../LICENSE'],
|
'../../LICENSE'],
|
||||||
DEFAULT_LOCALE_FILES =
|
DEFAULT_LOCALE_FILES =
|
||||||
[LOCALE_SRC_DIR + 'en-US/viewer.properties',
|
[LOCALE_SRC_DIR + 'en-US/viewer.properties',
|
||||||
LOCALE_SRC_DIR + 'en-US/chrome.properties'],
|
LOCALE_SRC_DIR + 'en-US/chrome.properties'];
|
||||||
FIREFOX_MC_EXTENSION_FILES =
|
|
||||||
['chrome.manifest',
|
|
||||||
'components',
|
|
||||||
'content',
|
|
||||||
'LICENSE'];
|
|
||||||
|
|
||||||
target.bundle({ excludes: ['core/network.js'], defines: defines });
|
target.bundle({ excludes: ['core/network.js'], defines: defines });
|
||||||
cd(ROOT_DIR);
|
cd(ROOT_DIR);
|
||||||
@ -640,16 +635,6 @@ target.mozcentral = function() {
|
|||||||
sed('-i', /PDFJSSCRIPT_MOZ_CENTRAL/, 'true',
|
sed('-i', /PDFJSSCRIPT_MOZ_CENTRAL/, 'true',
|
||||||
MOZCENTRAL_EXTENSION_DIR + 'components/PdfStreamConverter.js');
|
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
|
// Copy test files
|
||||||
mkdir('-p', MOZCENTRAL_TEST_DIR);
|
mkdir('-p', MOZCENTRAL_TEST_DIR);
|
||||||
cp('-Rf', 'test/mozcentral/*', MOZCENTRAL_TEST_DIR);
|
cp('-Rf', 'test/mozcentral/*', MOZCENTRAL_TEST_DIR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user