Skip to content

Commit

Permalink
Add GN flag to disable pdfium on non-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Jan 11, 2019
1 parent 65b3f17 commit 4b3d8f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ Config.prototype.buildArgs = function () {
chrome_version_major: chrome_version_parts[0],
safebrowsing_api_endpoint: this.safeBrowsingApiEndpoint,
brave_referrals_api_key: this.braveReferralsApiKey,
enable_hangout_services_extension: this.enable_hangout_services_extension
enable_hangout_services_extension: this.enable_hangout_services_extension,
enable_pdf: process.platform === 'win32', // disable pdfium on non-windows
}

if (process.platform === 'darwin') {
Expand Down

0 comments on commit 4b3d8f6

Please sign in to comment.