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 | |
| 15 | bootstrap_go_package { |
| 16 | name: "soong-ui-status", |
| 17 | pkgPath: "android/soong/ui/status", |
| 18 | deps: [ |
| 19 | "golang-protobuf-proto", |
| 20 | "soong-ui-logger", |
| 21 | "soong-ui-status-ninja_frontend", |
Patrice Arruda | 297ceba | 2019-06-06 16:44:37 -0700 | [diff] [blame] | 22 | "soong-ui-status-build_error_proto", |
Patrice Arruda | 74b4399 | 2020-03-11 08:21:05 -0700 | [diff] [blame^] | 23 | "soong-ui-status-build_progress_proto", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 24 | ], |
| 25 | srcs: [ |
Colin Cross | 7b62453 | 2019-06-21 15:08:30 -0700 | [diff] [blame] | 26 | "critical_path.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 27 | "kati.go", |
| 28 | "log.go", |
| 29 | "ninja.go", |
| 30 | "status.go", |
| 31 | ], |
| 32 | testSrcs: [ |
Colin Cross | 7b62453 | 2019-06-21 15:08:30 -0700 | [diff] [blame] | 33 | "critical_path_test.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 34 | "kati_test.go", |
Colin Cross | b98d3bc | 2019-03-21 16:02:58 -0700 | [diff] [blame] | 35 | "ninja_test.go", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 36 | "status_test.go", |
| 37 | ], |
| 38 | } |
| 39 | |
| 40 | bootstrap_go_package { |
| 41 | name: "soong-ui-status-ninja_frontend", |
| 42 | pkgPath: "android/soong/ui/status/ninja_frontend", |
| 43 | deps: ["golang-protobuf-proto"], |
| 44 | srcs: [ |
| 45 | "ninja_frontend/frontend.pb.go", |
| 46 | ], |
| 47 | } |
Patrice Arruda | 297ceba | 2019-06-06 16:44:37 -0700 | [diff] [blame] | 48 | |
| 49 | bootstrap_go_package { |
| 50 | name: "soong-ui-status-build_error_proto", |
| 51 | pkgPath: "android/soong/ui/status/build_error_proto", |
| 52 | deps: ["golang-protobuf-proto"], |
| 53 | srcs: [ |
| 54 | "build_error_proto/build_error.pb.go", |
| 55 | ], |
| 56 | } |
Patrice Arruda | 74b4399 | 2020-03-11 08:21:05 -0700 | [diff] [blame^] | 57 | |
| 58 | bootstrap_go_package { |
| 59 | name: "soong-ui-status-build_progress_proto", |
| 60 | pkgPath: "android/soong/ui/status/build_progress_proto", |
| 61 | deps: ["golang-protobuf-proto"], |
| 62 | srcs: [ |
| 63 | "build_progress_proto/build_progress.pb.go", |
| 64 | ], |
| 65 | } |