Skip to content

Commit

Permalink
build: add conditions to check out Chromium and Node.js (electron#15319)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykuzmin authored and John Kleinschmidt committed Oct 24, 2018
1 parent 8ba271e commit 4185efa
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ vars = {
# Python interface to Amazon Web Services. Is used for releases only.
'checkout_boto': False,

# To allow in-house builds to checkout those manually.
'checkout_chromium': True,
'checkout_node': True,

# Python "requests" module is used for releases only.
'checkout_requests': False,

Expand All @@ -52,10 +56,14 @@ vars = {
}

deps = {
'src':
(Var("chromium_git")) + '/chromium/src.git@' + (Var("chromium_version")),
'src/third_party/electron_node':
(Var("electron_git")) + '/node.git@' + (Var("node_version")),
'src': {
'url': (Var("chromium_git")) + '/chromium/src.git@' + (Var("chromium_version")),
'condition': 'checkout_chromium',
},
'src/third_party/electron_node': {
'url': (Var("electron_git")) + '/node.git@' + (Var("node_version")),
'condition': 'checkout_node',
},
'src/electron/vendor/pyyaml':
(Var("yaml_git")) + '/pyyaml.git@' + (Var("pyyaml_version")),
'src/electron/vendor/boto': {
Expand All @@ -71,7 +79,7 @@ deps = {
hooks = [
{
'name': 'patch_chromium',
'condition': 'apply_patches',
'condition': 'checkout_chromium and apply_patches',
'pattern': 'src/electron',
'action': [
'python',
Expand Down

0 comments on commit 4185efa

Please sign in to comment.