blob: 1ddaf68a608b688522f79ec5531d12700af34d73 [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
15bootstrap_go_package {
Dan Willemsen18490112018-05-25 16:30:04 -070016 name: "soong-ui-build-paths",
17 pkgPath: "android/soong/ui/build/paths",
18 srcs: [
19 "paths/config.go",
20 "paths/logs.go",
21 ],
22 testSrcs: [
23 "paths/logs_test.go",
24 ],
25}
26
27bootstrap_go_package {
Dan Willemsen1e704462016-08-21 15:17:17 -070028 name: "soong-ui-build",
29 pkgPath: "android/soong/ui/build",
30 deps: [
Dan Willemsen18490112018-05-25 16:30:04 -070031 "soong-ui-build-paths",
Dan Willemsen1e704462016-08-21 15:17:17 -070032 "soong-ui-logger",
Nan Zhang17f27672018-12-12 16:01:49 -080033 "soong-ui-metrics",
Dan Willemsenb82471a2018-05-17 16:37:09 -070034 "soong-ui-status",
35 "soong-ui-terminal",
Dan Willemsend9f6fa22016-08-21 15:17:17 -070036 "soong-ui-tracer",
Jeff Gastonefc1b412017-03-29 17:29:06 -070037 "soong-shared",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070038 "soong-finder",
Dan Willemsen99a75cd2017-08-04 16:04:04 -070039 "blueprint-microfactory",
Dan Willemsen1e704462016-08-21 15:17:17 -070040 ],
41 srcs: [
42 "build.go",
Dan Willemsenf052f782017-05-18 15:29:04 -070043 "cleanbuild.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070044 "config.go",
45 "context.go",
Dan Willemsenb2e6c2e2017-07-13 17:24:44 -070046 "dumpvars.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070047 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070048 "exec.go",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070049 "finder.go",
Yoshisato Yanagisawa2cb0e5d2019-01-10 10:14:16 +090050 "goma.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070051 "kati.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070052 "ninja.go",
Dan Willemsen18490112018-05-25 16:30:04 -070053 "path.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070054 "proc_sync.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070055 "signal.go",
56 "soong.go",
Colin Cross37193492017-11-16 17:55:00 -080057 "test_build.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070058 "util.go",
59 ],
60 testSrcs: [
Dan Willemsen9b587492017-07-10 22:13:00 -070061 "config_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070062 "environment_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080063 "util_test.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070064 "proc_sync_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070065 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080066 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070067 srcs: [
68 "sandbox_darwin.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070069 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080070 },
71 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070072 srcs: [
73 "sandbox_linux.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070074 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080075 },
Dan Willemsen1e704462016-08-21 15:17:17 -070076}