1# -*- bazel-starlark -*- 2# Copyright 2023 The Chromium Authors. All rights reserved. 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 12__filegroups = {} 13__filegroups.update(clang.filegroups) 14__handlers = {} 15__handlers.update(clang.handlers) 16__handlers.update(reproxy.handlers) 17 18def __step_config(ctx, step_config): 19 config.check(ctx) 20 step_config["platforms"] = {} 21 22 step_config = clang.step_config(ctx, step_config) 23 if reproxy.enabled(ctx): 24 step_config = reproxy.step_config(ctx, step_config) 25 return step_config 26 27chromium = module( 28 "chromium", 29 step_config = __step_config, 30 filegroups = __filegroups, 31 handlers = __handlers, 32) 33