# Copyright 2025 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Package declaration for the chromium project.""" pkg.declare( name = "@chromium-project", lucicfg = "1.44.1", ) pkg.options.lint_checks([ "default", "-confusing-name", "-function-docstring", "-function-docstring-args", "-function-docstring-return", "-function-docstring-header", "-module-docstring", ]) pkg.entrypoint("main.star") pkg.entrypoint("dev.star") pkg.depend( name = "@chromium-luci", source = pkg.source.googlesource( host = "chromium", repo = "infra/chromium", ref = "refs/heads/main", path = "starlark-libs/chromium-luci", # Take revision from https://chromium.googlesource.com/infra/chromium/. revision = "2d8e824a5ef7c1df354264bf260586809b155c73", ), ) pkg.depend( name = "@chromium-targets", source = pkg.source.local( path = "targets", ), ) pkg.resources([ "autoshard_exceptions.json", "dev/chromium-header.textpb", "lib/linux-default.json", "luci-analysis-dev.cfg", "luci-analysis.cfg", "luci-bisection-dev.cfg", "luci-bisection.cfg", "milestones.json", "settings.json", "templates/build_with_step_summary.template", "templates/tree_closure_email.template", "testhaus-staging.cfg", "testhaus.cfg", ])