diff --git a/lib/build.js b/lib/build.js index 5efa3be61b02..afcd087664c5 100644 --- a/lib/build.js +++ b/lib/build.js @@ -1,5 +1,4 @@ const config = require('../lib/config') -const licensing = require('../lib/licensing') const util = require('../lib/util') const path = require('path') const fs = require('fs-extra') @@ -94,10 +93,6 @@ const build = (buildConfig = config.defaultBuildConfig, options) => { touchOverriddenFiles() touchOverriddenVectorIconFiles() util.updateBranding() - if (buildConfig === 'Release') { - // TODO(bsclifton): uncomment when we can address problem - // licensing.updateLicenses() - } if (config.xcode_gen_target) { util.generateXcodeWorkspace() diff --git a/lib/createDist.js b/lib/createDist.js index 2510d3c99a0f..8ede4bdededb 100644 --- a/lib/createDist.js +++ b/lib/createDist.js @@ -1,4 +1,5 @@ const config = require('../lib/config') +const licensing = require('../lib/licensing') const util = require('../lib/util') const path = require('path') const fs = require('fs-extra') @@ -14,6 +15,7 @@ const createDist = (buildConfig = config.defaultBuildConfig, options) => { } util.updateBranding() + licensing.updateLicenses() fs.removeSync(path.join(config.outputDir, 'dist')) config.buildTarget = 'create_dist' util.buildTarget()