Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 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 | |
Bob Badour | 02040de | 2021-02-03 18:08:28 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 19 | bootstrap_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 Arruda | 297ceba | 2019-06-06 16:44:37 -0700 | [diff] [blame] | 26 | "soong-ui-status-build_error_proto", |
Patrice Arruda | 74b4399 | 2020-03-11 08:21:05 -0700 | [diff] [blame] | 27 | "soong-ui-status-build_progress_proto", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 28 | ], |
| 29 | srcs: [ |
Colin Cross | 7b62453 | 2019-06-21 15:08:30 -0700 | [diff] [blame] | 30 | "critical_path.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 31 | "kati.go", |
| 32 | "log.go", |
| 33 | "ninja.go", |
| 34 | "status.go", |
| 35 | ], |
| 36 | testSrcs: [ |
Colin Cross | 7b62453 | 2019-06-21 15:08:30 -0700 | [diff] [blame] | 37 | "critical_path_test.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 38 | "kati_test.go", |
Colin Cross | b98d3bc | 2019-03-21 16:02:58 -0700 | [diff] [blame] | 39 | "ninja_test.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 40 | "status_test.go", |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | bootstrap_go_package { |
| 45 | name: "soong-ui-status-ninja_frontend", |
| 46 | pkgPath: "android/soong/ui/status/ninja_frontend", |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame^] | 47 | deps: [ |
| 48 | "golang-protobuf-reflect-protoreflect", |
| 49 | "golang-protobuf-runtime-protoimpl", |
| 50 | ], |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 51 | srcs: [ |
| 52 | "ninja_frontend/frontend.pb.go", |
| 53 | ], |
| 54 | } |
Patrice Arruda | 297ceba | 2019-06-06 16:44:37 -0700 | [diff] [blame] | 55 | |
| 56 | bootstrap_go_package { |
| 57 | name: "soong-ui-status-build_error_proto", |
| 58 | pkgPath: "android/soong/ui/status/build_error_proto", |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame^] | 59 | deps: [ |
| 60 | "golang-protobuf-reflect-protoreflect", |
| 61 | "golang-protobuf-runtime-protoimpl", |
| 62 | ], |
Patrice Arruda | 297ceba | 2019-06-06 16:44:37 -0700 | [diff] [blame] | 63 | srcs: [ |
| 64 | "build_error_proto/build_error.pb.go", |
| 65 | ], |
| 66 | } |
Patrice Arruda | 74b4399 | 2020-03-11 08:21:05 -0700 | [diff] [blame] | 67 | |
| 68 | bootstrap_go_package { |
| 69 | name: "soong-ui-status-build_progress_proto", |
| 70 | pkgPath: "android/soong/ui/status/build_progress_proto", |
Dan Willemsen | 4591b64 | 2021-05-24 14:24:12 -0700 | [diff] [blame^] | 71 | deps: [ |
| 72 | "golang-protobuf-reflect-protoreflect", |
| 73 | "golang-protobuf-runtime-protoimpl", |
| 74 | ], |
Patrice Arruda | 74b4399 | 2020-03-11 08:21:05 -0700 | [diff] [blame] | 75 | srcs: [ |
| 76 | "build_progress_proto/build_progress.pb.go", |
| 77 | ], |
| 78 | } |