1# -*- bazel-starlark -*- 2# Copyright 2023 The Chromium Authors 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5"""Siso configuration for Windows.""" 6 7load("@builtin//struct.star", "module") 8load("./clang_windows.star", "clang") 9load("./config.star", "config") 10load("./reproxy.star", "reproxy") 11 12def __filegroups(ctx): 13 fg = {} 14 fg.update(clang.filegroups(ctx)) 15 return fg 16 17__handlers = {} 18__handlers.update(clang.handlers) 19 20def __step_config(ctx, step_config): 21 config.check(ctx) 22 step_config = clang.step_config(ctx, step_config) 23 return step_config 24 25chromium = module( 26 "chromium", 27 step_config = __step_config, 28 filegroups = __filegroups, 29 handlers = __handlers, 30) 31