windows.star (718B)
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 7 load("@builtin//struct.star", "module") 8 load("./clang_windows.star", "clang") 9 load("./config.star", "config") 10 11 def __filegroups(ctx): 12 fg = {} 13 fg.update(clang.filegroups(ctx)) 14 return fg 15 16 __handlers = {} 17 __handlers.update(clang.handlers) 18 19 def __step_config(ctx, step_config): 20 config.check(ctx) 21 step_config = clang.step_config(ctx, step_config) 22 return step_config 23 24 chromium = module( 25 "chromium", 26 step_config = __step_config, 27 filegroups = __filegroups, 28 handlers = __handlers, 29 )