blob: e929448c60b18d602570f4fa34f33cf0b82bfb98 [file] [log] [blame]
# Copyright 2019 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("../../../../scripts/build/ninja/devtools_entrypoint.gni")
import("../../../../scripts/build/ninja/devtools_module.gni")
import("../../../../scripts/build/ninja/generate_css.gni")
import("../../../../scripts/build/typescript/typescript.gni")
import("../visibility.gni")
generate_css("css_files") {
sources = [
"issueCounter.css",
"issueLinkIcon.css",
]
}
devtools_module("issue_counter") {
sources = [
"IssueCounter.ts",
"IssueLinkIcon.ts",
]
deps = [
"../../../core/common:bundle",
"../../../core/i18n:bundle",
"../../../models/issues_manager:bundle",
"../../../ui/lit:bundle",
"../../../ui/visual_logging:bundle",
"../helpers:bundle",
"../icon_button:bundle",
]
}
devtools_entrypoint("bundle") {
entrypoint = "issue_counter.ts"
deps = [
":css_files",
":issue_counter",
]
visibility = default_components_visibility
}
ts_library("unittests") {
testonly = true
sources = [
"IssueCounter.test.ts",
"IssueLinkIcon.test.ts",
]
deps = [
":bundle",
"../../../core/common:bundle",
"../../../models/issues_manager:bundle",
"../../../testing",
"../../legacy:bundle",
]
}