From 2aaeb170374d39bae8726c6ced86cf406ca60874 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 13 Feb 2017 23:21:24 +0100 Subject: [PATCH] Include the `pdfjschildbootstrap.js` file in the output for `gulp mozcentral` builds (PR 8023 follow-up) *Yet another thing that I unfortunately missed during review of PR 8023.* Note that previously, in `make.js` this file was being preprocessed, however as far as I can tell that wasn't actually necessary. Hence this patch just copies the file to the proper output directory. Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1338395#c8. --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index a176456e9..28c990a08 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -770,6 +770,8 @@ gulp.task('mozcentral-pre', ['buildnumber', 'locale'], function () { gulp.src(FIREFOX_CONTENT_DIR + 'PdfJsTelemetry.jsm') .pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR)), + gulp.src(FIREFOX_CONTENT_DIR + 'pdfjschildbootstrap.js') + .pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR)), gulp.src(FIREFOX_EXTENSION_DIR + 'chrome-mozcentral.manifest') .pipe(rename('chrome.manifest')) .pipe(gulp.dest(MOZCENTRAL_EXTENSION_DIR)),