Skip to content

Commit

Permalink
Create DEPS
Browse files Browse the repository at this point in the history
  • Loading branch information
CS2Us authored May 24, 2024
1 parent b96ed3f commit e04781d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
vars = {
'gn_version': 'git_revision:df98b86690c83b81aedc909ded18857296406159',

# condition to allowlist deps for non-git-source processing.
'non_git_source': 'True',
}

deps = {
'src/buildtools': 'https://chromium.googlesource.com/chromium/src/buildtools',
'src/buildtools/linux64': {
'packages': [
{
'package': 'gn/gn/linux-${{arch}}',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "linux" and non_git_source',
},
'src/buildtools/mac': {
'packages': [
{
'package': 'gn/gn/mac-${{arch}}',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "mac"',
},
'src/buildtools/win': {
'packages': [
{
'package': 'gn/gn/windows-amd64',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "win"',
},
}

0 comments on commit e04781d

Please sign in to comment.