blob: 32ffcec69d9906a4ebebaa82ffcbdca2ce1940d8 [file] [log] [blame]
Dan Willemsen1e704462016-08-21 15:17:17 -07001// 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
Bob Badour02040de2021-02-03 18:08:28 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Dan Willemsen1e704462016-08-21 15:17:17 -070019bootstrap_go_package {
Dan Willemsen18490112018-05-25 16:30:04 -070020 name: "soong-ui-build-paths",
21 pkgPath: "android/soong/ui/build/paths",
22 srcs: [
23 "paths/config.go",
24 "paths/logs.go",
25 ],
26 testSrcs: [
27 "paths/logs_test.go",
28 ],
29}
30
31bootstrap_go_package {
Dan Willemsen1e704462016-08-21 15:17:17 -070032 name: "soong-ui-build",
33 pkgPath: "android/soong/ui/build",
34 deps: [
Lukacs T. Berkid1e3f1f2021-03-16 08:55:23 +010035 "blueprint",
36 "blueprint-bootstrap",
David Srbecky2285cff2022-07-12 16:26:37 +010037 "blueprint-microfactory",
Peter Collingbourneb805c612024-03-14 21:59:57 -070038 "soong-elf",
David Srbecky2285cff2022-07-12 16:26:37 +010039 "soong-finder",
LaMont Jones54b01cd2024-10-23 13:59:40 -070040 "soong-finder-fs",
David Srbecky2285cff2022-07-12 16:26:37 +010041 "soong-remoteexec",
42 "soong-shared",
Dan Willemsen18490112018-05-25 16:30:04 -070043 "soong-ui-build-paths",
LaMont Jones8490ffb2024-11-14 16:42:54 -080044 "soong-ui-execution-metrics",
Dan Willemsen1e704462016-08-21 15:17:17 -070045 "soong-ui-logger",
Nan Zhang17f27672018-12-12 16:01:49 -080046 "soong-ui-metrics",
Dan Willemsenb82471a2018-05-17 16:37:09 -070047 "soong-ui-status",
48 "soong-ui-terminal",
Dan Willemsend9f6fa22016-08-21 15:17:17 -070049 "soong-ui-tracer",
Dan Willemsen1e704462016-08-21 15:17:17 -070050 ],
51 srcs: [
Wei Li0d723112024-01-02 17:56:51 -080052 "androidmk_denylist.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070053 "build.go",
Dan Willemsenf052f782017-05-18 15:29:04 -070054 "cleanbuild.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070055 "config.go",
56 "context.go",
Joe Onorato7f29a662023-02-23 15:47:06 -080057 "staging_snapshot.go",
Dan Willemsenb2e6c2e2017-07-13 17:24:44 -070058 "dumpvars.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070059 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070060 "exec.go",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070061 "finder.go",
Yoshisato Yanagisawa2cb0e5d2019-01-10 10:14:16 +090062 "goma.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070063 "kati.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070064 "ninja.go",
Dan Willemsen18490112018-05-25 16:30:04 -070065 "path.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070066 "proc_sync.go",
Ramy Medhatbbf25672019-07-17 12:30:04 +000067 "rbe.go",
Spandan Dasa3639e62021-05-25 19:14:02 +000068 "sandbox_config.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070069 "soong.go",
Colin Cross37193492017-11-16 17:55:00 -080070 "test_build.go",
Patrice Arruda219eef32020-06-01 17:29:30 +000071 "upload.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070072 "util.go",
73 ],
74 testSrcs: [
Dan Willemsen1e775d72020-01-03 13:40:45 -080075 "cleanbuild_test.go",
Dan Willemsen9b587492017-07-10 22:13:00 -070076 "config_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070077 "environment_test.go",
Joe Onorato7f29a662023-02-23 15:47:06 -080078 "proc_sync_test.go",
Patrice Arruda62f1bf22020-07-07 12:48:26 +000079 "rbe_test.go",
Joe Onorato7f29a662023-02-23 15:47:06 -080080 "staging_snapshot_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080081 "util_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070082 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080083 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070084 srcs: [
Dan Willemsen2bb82d02019-12-27 09:35:42 -080085 "config_darwin.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070086 "sandbox_darwin.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070087 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080088 },
89 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070090 srcs: [
Dan Willemsen2bb82d02019-12-27 09:35:42 -080091 "config_linux.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070092 "sandbox_linux.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070093 ],
Spandan Dasa3639e62021-05-25 19:14:02 +000094 testSrcs: [
95 "sandbox_linux_test.go",
96 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080097 },
Dan Willemsen1e704462016-08-21 15:17:17 -070098}