From c6640809a4c098730af87f6a661e52a8cbdf8197 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Fri, 17 Jan 2014 00:10:39 +0100 Subject: [PATCH] Removing extension-files file --- make.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/make.js b/make.js index f20ec6601..e8a657004 100644 --- a/make.js +++ b/make.js @@ -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);