blob: ac31390eb45a17a55ca2ceeec7249abd5c9444a4 [file] [log] [blame]
Dan Willemsenb82471a2018-05-17 16:37:09 -07001// 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
Bob Badour02040de2021-02-03 18:08:28 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Dan Willemsenb82471a2018-05-17 16:37:09 -070019bootstrap_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",
Patrice Arruda297ceba2019-06-06 16:44:37 -070026 "soong-ui-status-build_error_proto",
Patrice Arruda74b43992020-03-11 08:21:05 -070027 "soong-ui-status-build_progress_proto",
Dan Willemsenb82471a2018-05-17 16:37:09 -070028 ],
29 srcs: [
Colin Cross7b624532019-06-21 15:08:30 -070030 "critical_path.go",
Dan Willemsenb82471a2018-05-17 16:37:09 -070031 "kati.go",
32 "log.go",
33 "ninja.go",
34 "status.go",
35 ],
36 testSrcs: [
Colin Cross7b624532019-06-21 15:08:30 -070037 "critical_path_test.go",
Dan Willemsenb82471a2018-05-17 16:37:09 -070038 "kati_test.go",
Colin Crossb98d3bc2019-03-21 16:02:58 -070039 "ninja_test.go",
Dan Willemsenb82471a2018-05-17 16:37:09 -070040 "status_test.go",
41 ],
42}
43
44bootstrap_go_package {
45 name: "soong-ui-status-ninja_frontend",
46 pkgPath: "android/soong/ui/status/ninja_frontend",
47 deps: ["golang-protobuf-proto"],
48 srcs: [
49 "ninja_frontend/frontend.pb.go",
50 ],
51}
Patrice Arruda297ceba2019-06-06 16:44:37 -070052
53bootstrap_go_package {
54 name: "soong-ui-status-build_error_proto",
55 pkgPath: "android/soong/ui/status/build_error_proto",
56 deps: ["golang-protobuf-proto"],
57 srcs: [
58 "build_error_proto/build_error.pb.go",
59 ],
60}
Patrice Arruda74b43992020-03-11 08:21:05 -070061
62bootstrap_go_package {
63 name: "soong-ui-status-build_progress_proto",
64 pkgPath: "android/soong/ui/status/build_progress_proto",
65 deps: ["golang-protobuf-proto"],
66 srcs: [
67 "build_progress_proto/build_progress.pb.go",
68 ],
69}