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 15bootstrap_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", 22 "soong-ui-status-build_error_proto", 23 "soong-ui-status-build_progress_proto", 24 ], 25 srcs: [ 26 "critical_path.go", 27 "kati.go", 28 "log.go", 29 "ninja.go", 30 "status.go", 31 ], 32 testSrcs: [ 33 "critical_path_test.go", 34 "kati_test.go", 35 "ninja_test.go", 36 "status_test.go", 37 ], 38} 39 40bootstrap_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} 48 49bootstrap_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} 57 58bootstrap_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} 66