forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Projects will have to add entries for gn to their toplevel DEPS instead. Add this to your `vars` section: 'gn_version': 'git_revision:dfcbc6fed0a8352696f92d67ccad54048ad182b3', And this to your `deps` section: 'src/buildtools/linux64': { 'packages': [ { 'package': 'gn/gn/linux-amd64', 'version': Var('gn_version'), } ], 'dep_type': 'cipd', 'condition': 'host_os == "linux"', }, '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"', }, Adopt to your project's style as you like. (Maybe your toplevel directory is not called "src".) angle and v8 for example do this already for example. It looks like there's no way to have autoroller update this via transitive_dep, and it looks like there's no way to have an autoroller for this at the chromium level yet, see https://bugs.chromium.org/p/skia/issues/detail?id=11712 But it's the last thing keeping buildtools/DEPS around, and several projects already don't use this hook, so let's remove it. Bug: 1177288 Change-Id: I3d89361fcc95eebe91fd38ce854ce629f4117e7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2743918 Commit-Queue: Nico Weber <thakis@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Cr-Commit-Position: refs/heads/master@{#861001}
- Loading branch information
Showing
3 changed files
with
2 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,9 @@ | ||
# TODO(crbug.com/1177288): Remove this file. Please don't add to it. | ||
|
||
use_relative_paths = True | ||
|
||
vars = { | ||
'chromium_url': 'https://chromium.googlesource.com', | ||
|
||
# TODO(crbug.com/1177288): Remove this file. Please don't add to it. | ||
|
||
# TODO(crbug.com/941824): The values below need to be kept in sync | ||
# between //DEPS and //buildtools/DEPS, so if you're updating one, | ||
# update the other. There is a presubmit check that checks that | ||
# you've done so; if you are adding new tools to //buildtools and | ||
# hence new revisions to this list, make sure you update the | ||
# _CheckBuildtoolsRevsAreInSync in PRESUBMIT.py to include the additional | ||
# revisions. | ||
|
||
# GN CIPD package version. | ||
'gn_version': 'git_revision:dfcbc6fed0a8352696f92d67ccad54048ad182b3', | ||
} | ||
|
||
deps = { | ||
'linux64': { | ||
'packages': [ | ||
{ | ||
'package': 'gn/gn/linux-amd64', | ||
'version': Var('gn_version'), | ||
} | ||
], | ||
'dep_type': 'cipd', | ||
'condition': 'host_os == "linux"', | ||
}, | ||
'mac': { | ||
'packages': [ | ||
{ | ||
'package': 'gn/gn/mac-amd64', | ||
'version': Var('gn_version'), | ||
} | ||
], | ||
'dep_type': 'cipd', | ||
'condition': 'host_os == "mac"', | ||
}, | ||
'win': { | ||
'packages': [ | ||
{ | ||
'package': 'gn/gn/windows-amd64', | ||
'version': Var('gn_version'), | ||
} | ||
], | ||
'dep_type': 'cipd', | ||
'condition': 'host_os == "win"', | ||
}, | ||
} |