Android.bp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. "soong-ui-build-paths",
  33. "soong-ui-logger",
  34. "soong-ui-metrics",
  35. "soong-ui-status",
  36. "soong-ui-terminal",
  37. "soong-ui-tracer",
  38. "soong-shared",
  39. "soong-finder",
  40. "blueprint-microfactory",
  41. ],
  42. srcs: [
  43. "bazel.go",
  44. "build.go",
  45. "cleanbuild.go",
  46. "config.go",
  47. "context.go",
  48. "dumpvars.go",
  49. "environment.go",
  50. "exec.go",
  51. "finder.go",
  52. "goma.go",
  53. "kati.go",
  54. "ninja.go",
  55. "path.go",
  56. "proc_sync.go",
  57. "rbe.go",
  58. "signal.go",
  59. "soong.go",
  60. "test_build.go",
  61. "upload.go",
  62. "util.go",
  63. ],
  64. testSrcs: [
  65. "cleanbuild_test.go",
  66. "config_test.go",
  67. "environment_test.go",
  68. "rbe_test.go",
  69. "upload_test.go",
  70. "util_test.go",
  71. "proc_sync_test.go",
  72. ],
  73. darwin: {
  74. srcs: [
  75. "config_darwin.go",
  76. "sandbox_darwin.go",
  77. ],
  78. },
  79. linux: {
  80. srcs: [
  81. "config_linux.go",
  82. "sandbox_linux.go",
  83. ],
  84. },
  85. }