Skip to content

Commit

Permalink
Merge pull request #15279 from Snuffleupagus/firefox-rm-README
Browse files Browse the repository at this point in the history
Remove the `extensions/firefox/README.mozilla` file (bug 1778567 follow-up)
  • Loading branch information
Snuffleupagus committed Aug 10, 2022
2 parents cef2ac9 + 63708a1 commit e1e97c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions extensions/firefox/README.mozilla

This file was deleted.

10 changes: 0 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,6 @@ gulp.task(
const MOZCENTRAL_DIR = BUILD_DIR + "mozcentral/",
MOZCENTRAL_EXTENSION_DIR = MOZCENTRAL_DIR + "browser/extensions/pdfjs/",
MOZCENTRAL_CONTENT_DIR = MOZCENTRAL_EXTENSION_DIR + "content/",
FIREFOX_EXTENSION_DIR = "extensions/firefox/",
MOZCENTRAL_L10N_DIR =
MOZCENTRAL_DIR + "browser/locales/en-US/pdfviewer/",
FIREFOX_CONTENT_DIR = EXTENSION_SRC_DIR + "/firefox/content/";
Expand All @@ -1279,10 +1278,6 @@ gulp.task(
// Clear out everything in the firefox extension build directory
rimraf.sync(MOZCENTRAL_DIR);

const versionJSON = getVersionJSON();
const version = versionJSON.version,
commit = versionJSON.commit;

return merge([
createMainBundle(defines).pipe(
gulp.dest(MOZCENTRAL_CONTENT_DIR + "build")
Expand Down Expand Up @@ -1325,11 +1320,6 @@ gulp.task(
gulp
.src("l10n/en-US/*.properties")
.pipe(gulp.dest(MOZCENTRAL_L10N_DIR)),
gulp
.src(FIREFOX_EXTENSION_DIR + "README.mozilla")
.pipe(replace(/\bPDFJSSCRIPT_VERSION\b/g, version))
.pipe(replace(/\bPDFJSSCRIPT_COMMIT\b/g, commit))
.pipe(gulp.dest(MOZCENTRAL_EXTENSION_DIR)),
gulp.src("LICENSE").pipe(gulp.dest(MOZCENTRAL_EXTENSION_DIR)),
gulp
.src(FIREFOX_CONTENT_DIR + "PdfJsDefaultPreferences.jsm")
Expand Down

0 comments on commit e1e97c6

Please sign in to comment.