mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
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 <gavinmak@google.com> Auto-Submit: Victor Vianna <victorvianna@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
This commit is contained in:
committed by
LUCI CQ
parent
a40c63a40b
commit
b5427d5ad8
43
fetch_configs/ipcz.py
Normal file
43
fetch_configs/ipcz.py
Normal file
@@ -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))
|
||||
Reference in New Issue
Block a user