xref: /aosp_15_r20/build/soong/ui/status/Android.bp (revision 333d2b3687b3a337dbcca9d65000bca186795e39)
1// Copyright 2018 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19bootstrap_go_package {
20    name: "soong-ui-status",
21    pkgPath: "android/soong/ui/status",
22    deps: [
23        "golang-protobuf-proto",
24        "soong-ui-logger",
25        "soong-ui-status-ninja_frontend",
26        "soong-ui-status-build_error_proto",
27        "soong-ui-status-build_progress_proto",
28    ],
29    srcs: [
30        "critical_path.go",
31        "critical_path_logger.go",
32        "kati.go",
33        "log.go",
34        "ninja.go",
35        "status.go",
36    ],
37    testSrcs: [
38        "critical_path_test.go",
39        "kati_test.go",
40        "ninja_test.go",
41        "status_test.go",
42    ],
43}
44
45bootstrap_go_package {
46    name: "soong-ui-status-ninja_frontend",
47    pkgPath: "android/soong/ui/status/ninja_frontend",
48    deps: [
49        "golang-protobuf-reflect-protoreflect",
50        "golang-protobuf-runtime-protoimpl",
51    ],
52    srcs: [
53        "ninja_frontend/frontend.pb.go",
54    ],
55}
56
57bootstrap_go_package {
58    name: "soong-ui-status-build_error_proto",
59    pkgPath: "android/soong/ui/status/build_error_proto",
60    deps: [
61        "golang-protobuf-reflect-protoreflect",
62        "golang-protobuf-runtime-protoimpl",
63    ],
64    srcs: [
65        "build_error_proto/build_error.pb.go",
66    ],
67}
68
69bootstrap_go_package {
70    name: "soong-ui-status-build_progress_proto",
71    pkgPath: "android/soong/ui/status/build_progress_proto",
72    deps: [
73        "golang-protobuf-reflect-protoreflect",
74        "golang-protobuf-runtime-protoimpl",
75    ],
76    srcs: [
77        "build_progress_proto/build_progress.pb.go",
78    ],
79}
80