From b5427d5ad8b51ef4991892213575271140195876 Mon Sep 17 00:00:00 2001 From: Victor Hugo Vianna Silva Date: Wed, 19 Nov 2025 09:43:15 -0800 Subject: [PATCH] Add fetch config for ipcz Bug: None Change-Id: I47be4d5d4ca7a5850c6fec0aa6e1ce10f5d307c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7171198 Reviewed-by: Gavin Mak Auto-Submit: Victor Vianna Commit-Queue: Gavin Mak --- fetch_configs/ipcz.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 fetch_configs/ipcz.py diff --git a/fetch_configs/ipcz.py b/fetch_configs/ipcz.py new file mode 100644 index 0000000000..2a2f09635d --- /dev/null +++ b/fetch_configs/ipcz.py @@ -0,0 +1,43 @@ +# Copyright 2025 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import sys + +import config_util # pylint: disable=import-error + + +# This class doesn't need an __init__ method, so we disable the warning +# pylint: disable=no-init +class Ipcz(config_util.Config): + """Basic Config class for ipcz.""" + + @staticmethod + def fetch_spec(props): + url = 'https://chromium.googlesource.com/chromium/src/third_party/ipcz' + solution = { + 'name': 'ipcz', + 'url': url, + 'deps_file': 'DEPS', + 'managed': False, + 'custom_deps': {}, + } + spec = { + 'solutions': [solution], + } + return { + 'type': 'gclient_git', + 'gclient_git_spec': spec, + } + + @staticmethod + def expected_root(_props): + return 'ipcz' + + +def main(argv=None): + return Ipcz().handle_args(argv) + + +if __name__ == '__main__': + sys.exit(main(sys.argv))