Android.bp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // Copyright 2017 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-build-paths",
  19. pkgPath: "android/soong/ui/build/paths",
  20. srcs: [
  21. "paths/config.go",
  22. "paths/logs.go",
  23. ],
  24. testSrcs: [
  25. "paths/logs_test.go",
  26. ],
  27. }
  28. bootstrap_go_package {
  29. name: "soong-ui-build",
  30. pkgPath: "android/soong/ui/build",
  31. deps: [
  32. "blueprint",
  33. "blueprint-bootstrap",
  34. "blueprint-microfactory",
  35. "soong-finder",
  36. "soong-remoteexec",
  37. "soong-shared",
  38. "soong-ui-build-paths",
  39. "soong-ui-logger",
  40. "soong-ui-metrics",
  41. "soong-ui-status",
  42. "soong-ui-terminal",
  43. "soong-ui-tracer",
  44. ],
  45. srcs: [
  46. "bazel_metrics.go",
  47. "build.go",
  48. "cleanbuild.go",
  49. "config.go",
  50. "context.go",
  51. "staging_snapshot.go",
  52. "dumpvars.go",
  53. "environment.go",
  54. "exec.go",
  55. "finder.go",
  56. "goma.go",
  57. "kati.go",
  58. "ninja.go",
  59. "path.go",
  60. "proc_sync.go",
  61. "rbe.go",
  62. "sandbox_config.go",
  63. "soong.go",
  64. "test_build.go",
  65. "upload.go",
  66. "util.go",
  67. ],
  68. testSrcs: [
  69. "cleanbuild_test.go",
  70. "config_test.go",
  71. "environment_test.go",
  72. "proc_sync_test.go",
  73. "rbe_test.go",
  74. "staging_snapshot_test.go",
  75. "upload_test.go",
  76. "util_test.go",
  77. ],
  78. darwin: {
  79. srcs: [
  80. "config_darwin.go",
  81. "sandbox_darwin.go",
  82. ],
  83. },
  84. linux: {
  85. srcs: [
  86. "config_linux.go",
  87. "sandbox_linux.go",
  88. ],
  89. testSrcs: [
  90. "sandbox_linux_test.go",
  91. ],
  92. },
  93. }