Android.bp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. "kati.go",
  30. "log.go",
  31. "ninja.go",
  32. "status.go",
  33. ],
  34. testSrcs: [
  35. "critical_path_test.go",
  36. "kati_test.go",
  37. "ninja_test.go",
  38. "status_test.go",
  39. ],
  40. }
  41. bootstrap_go_package {
  42. name: "soong-ui-status-ninja_frontend",
  43. pkgPath: "android/soong/ui/status/ninja_frontend",
  44. deps: ["golang-protobuf-proto"],
  45. srcs: [
  46. "ninja_frontend/frontend.pb.go",
  47. ],
  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. }
  57. bootstrap_go_package {
  58. name: "soong-ui-status-build_progress_proto",
  59. pkgPath: "android/soong/ui/status/build_progress_proto",
  60. deps: ["golang-protobuf-proto"],
  61. srcs: [
  62. "build_progress_proto/build_progress.pb.go",
  63. ],
  64. }