build: add "apply_patches" flag to gclient (#15079)
This commit is contained in:
parent
6c3d29712f
commit
99f5f17a8d
1 changed files with 4 additions and 0 deletions
4
DEPS
4
DEPS
|
@ -24,6 +24,9 @@ vars = {
|
||||||
'requests_git': 'https://github.com/kennethreitz',
|
'requests_git': 'https://github.com/kennethreitz',
|
||||||
'yaml_git': 'https://github.com/yaml',
|
'yaml_git': 'https://github.com/yaml',
|
||||||
|
|
||||||
|
# To be able to build clean Chromium from sources.
|
||||||
|
'apply_patches': True,
|
||||||
|
|
||||||
# Python interface to Amazon Web Services. Is used for releases only.
|
# Python interface to Amazon Web Services. Is used for releases only.
|
||||||
'checkout_boto': False,
|
'checkout_boto': False,
|
||||||
|
|
||||||
|
@ -68,6 +71,7 @@ deps = {
|
||||||
hooks = [
|
hooks = [
|
||||||
{
|
{
|
||||||
'name': 'patch_chromium',
|
'name': 'patch_chromium',
|
||||||
|
'condition': 'apply_patches',
|
||||||
'pattern': 'src/electron',
|
'pattern': 'src/electron',
|
||||||
'action': [
|
'action': [
|
||||||
'python',
|
'python',
|
||||||
|
|
Loading…
Reference in a new issue