blob: 1fe5b6f202452898967de7bc07bb8e5b3b1caa4a [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",
Dan Willemsend9f6fa22016-08-21 15:17:17 -070033 "soong-ui-tracer",
Jeff Gastonefc1b412017-03-29 17:29:06 -070034 "soong-shared",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070035 "soong-finder",
Dan Willemsen99a75cd2017-08-04 16:04:04 -070036 "blueprint-microfactory",
Dan Willemsen1e704462016-08-21 15:17:17 -070037 ],
38 srcs: [
39 "build.go",
Dan Willemsenf052f782017-05-18 15:29:04 -070040 "cleanbuild.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070041 "config.go",
42 "context.go",
Dan Willemsenb2e6c2e2017-07-13 17:24:44 -070043 "dumpvars.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070044 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070045 "exec.go",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070046 "finder.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070047 "kati.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070048 "ninja.go",
Dan Willemsen18490112018-05-25 16:30:04 -070049 "path.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070050 "proc_sync.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070051 "signal.go",
52 "soong.go",
Colin Cross37193492017-11-16 17:55:00 -080053 "test_build.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070054 "util.go",
55 ],
56 testSrcs: [
Dan Willemsen9b587492017-07-10 22:13:00 -070057 "config_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070058 "environment_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080059 "util_test.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070060 "proc_sync_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070061 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080062 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070063 srcs: [
64 "sandbox_darwin.go",
65 "util_darwin.go"
66 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080067 },
68 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070069 srcs: [
70 "sandbox_linux.go",
71 "util_linux.go"
72 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080073 },
Dan Willemsen1e704462016-08-21 15:17:17 -070074}