diff --git a/lib/config.js b/lib/config.js index f56868045f5ce..86cddb1f2c981 100644 --- a/lib/config.js +++ b/lib/config.js @@ -48,6 +48,7 @@ const Config = function () { this.sccache = getNPMConfig(['sccache']) this.braveReferralsApiKey = getNPMConfig(['brave_referrals_api_key']) || '' this.ignore_compile_failure = false + this.braveEnableCdmHostVerification = JSON.parse(getNPMConfig(['brave_enable_cdm_host_verification']) || false) } Config.prototype.buildArgs = function () { @@ -83,6 +84,7 @@ Config.prototype.buildArgs = function () { chrome_version_string: this.chromeVersion, safebrowsing_api_endpoint: this.safeBrowsingApiEndpoint, brave_referrals_api_key: this.braveReferralsApiKey, + brave_enable_cdm_host_verification: this.braveEnableCdmHostVerification } if (process.platform === 'darwin') {