Android.bp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. package {
  15. default_applicable_licenses: ["Android-Apache-2.0"],
  16. }
  17. bootstrap_go_package {
  18. name: "soong-ui-status",
  19. pkgPath: "android/soong/ui/status",
  20. deps: [
  21. "golang-protobuf-proto",
  22. "soong-ui-logger",
  23. "soong-ui-status-ninja_frontend",
  24. "soong-ui-status-build_error_proto",
  25. "soong-ui-status-build_progress_proto",
  26. ],
  27. srcs: [
  28. "critical_path.go",
  29. "critical_path_logger.go",
  30. "kati.go",
  31. "log.go",
  32. "ninja.go",
  33. "status.go",
  34. ],
  35. testSrcs: [
  36. "critical_path_test.go",
  37. "kati_test.go",
  38. "ninja_test.go",
  39. "status_test.go",
  40. ],
  41. }
  42. bootstrap_go_package {
  43. name: "soong-ui-status-ninja_frontend",
  44. pkgPath: "android/soong/ui/status/ninja_frontend",
  45. deps: [
  46. "golang-protobuf-reflect-protoreflect",
  47. "golang-protobuf-runtime-protoimpl",
  48. ],
  49. srcs: [
  50. "ninja_frontend/frontend.pb.go",
  51. ],
  52. }
  53. bootstrap_go_package {
  54. name: "soong-ui-status-build_error_proto",
  55. pkgPath: "android/soong/ui/status/build_error_proto",
  56. deps: [
  57. "golang-protobuf-reflect-protoreflect",
  58. "golang-protobuf-runtime-protoimpl",
  59. ],
  60. srcs: [
  61. "build_error_proto/build_error.pb.go",
  62. ],
  63. }
  64. bootstrap_go_package {
  65. name: "soong-ui-status-build_progress_proto",
  66. pkgPath: "android/soong/ui/status/build_progress_proto",
  67. deps: [
  68. "golang-protobuf-reflect-protoreflect",
  69. "golang-protobuf-runtime-protoimpl",
  70. ],
  71. srcs: [
  72. "build_progress_proto/build_progress.pb.go",
  73. ],
  74. }