Skip to content

Commit

Permalink
Merge pull request #2005 from brave/adjust_update_patches
Browse files Browse the repository at this point in the history
Modify updatePatches to make patches in chrome/app/theme
  • Loading branch information
simonhong authored Nov 7, 2018
2 parents 92c6141 + fa45581 commit 33330dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/lib/updatePatches.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ const updatePatches = (options) => {
const modifiedDiff = util.run('git', modifiedDiffArgs, runOptionsChrome)
const modifiedFileList = modifiedDiff.stdout.toString()
.split('\n')
.filter(s => s.length > 0 && !s.startsWith('chrome/app/theme') &&
.filter(s => s.length > 0 &&
!s.startsWith('chrome/app/theme/default') &&
!s.startsWith('chrome/app/theme/brave') &&
!s.startsWith('chrome/app/theme/chromium') &&
!s.endsWith('.png') && !s.endsWith('.xtb') &&
!s.endsWith('.grd') && !s.endsWith('.grdp') &&
!s.includes('google_update_idl'))
Expand Down

0 comments on commit 33330dc

Please sign in to comment.