From 6c9aa6d7952f471bfbdf7ce79a217d42dd529005 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 18 Sep 2014 21:55:04 +0200 Subject: [PATCH] For |make firefox/mozcentral| builds, add cleanupJSSource to remove duplicate file headers in extensions/firefox/content/PdfjsChromeUtils.jsm --- make.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make.js b/make.js index f7789da8a..3eae1aff4 100644 --- a/make.js +++ b/make.js @@ -660,6 +660,7 @@ target.firefox = function() { cleanupJSSource(FIREFOX_BUILD_CONTENT_DIR + '/web/viewer.js'); cleanupJSSource(FIREFOX_BUILD_DIR + 'bootstrap.js'); + cleanupJSSource(FIREFOX_BUILD_CONTENT_DIR + 'PdfjsChromeUtils.jsm'); // Remove '.DS_Store' and other hidden files find(FIREFOX_BUILD_DIR).forEach(function(file) { @@ -780,6 +781,7 @@ target.mozcentral = function() { cleanupJSSource(MOZCENTRAL_CONTENT_DIR + '/web/viewer.js'); cleanupJSSource(MOZCENTRAL_CONTENT_DIR + '/PdfJs.jsm'); + cleanupJSSource(MOZCENTRAL_CONTENT_DIR + '/PdfjsChromeUtils.jsm'); // Remove '.DS_Store' and other hidden files find(MOZCENTRAL_DIR).forEach(function(file) {