Skip to content

Commit

Permalink
Copy res_template dir files for Android build; addresses brave-browse…
Browse files Browse the repository at this point in the history
…r#4837
  • Loading branch information
AlexeyBarabash authored and brave-browser-releases committed Jan 15, 2020
1 parent 4f6a0aa commit 59b4015
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,16 @@ const util = {
const androidResNightDest = path.join(config.srcDir, 'chrome', 'android', 'java', 'res_night')
const androidNtpTilesResSource = path.join(config.projects['brave-core'].dir, 'components', 'ntp_tiles', 'resources')
const androidNtpTilesResDest = path.join(config.srcDir, 'components', 'ntp_tiles', 'resources')
const androidResTemplateSource = path.join(config.projects['brave-core'].dir, 'android', 'java', 'res_template')
const androidResTemplateDest = path.join(config.srcDir, 'chrome', 'android', 'java', 'res_template')

// Mapping for copying Brave's Android resource into chromium folder.
const copyAndroidResourceMapping = {
[androidIconSource]: androidIconDest,
[androidResSource]: androidResDest,
[androidResNightSource]: androidResNightDest,
[androidNtpTilesResSource]: androidNtpTilesResDest
[androidNtpTilesResSource]: androidNtpTilesResDest,
[androidResTemplateSource]: androidResTemplateDest
}

console.log('copy Android app icons and app resources')
Expand Down

0 comments on commit 59b4015

Please sign in to comment.