blob: d1b49438a305ca48b96732a783730c7f5412b24f [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 {
16 name: "soong-ui-build",
17 pkgPath: "android/soong/ui/build",
18 deps: [
19 "soong-ui-logger",
Dan Willemsend9f6fa22016-08-21 15:17:17 -070020 "soong-ui-tracer",
Jeff Gastonefc1b412017-03-29 17:29:06 -070021 "soong-shared",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070022 "soong-finder",
Dan Willemsen99a75cd2017-08-04 16:04:04 -070023 "blueprint-microfactory",
Dan Willemsen1e704462016-08-21 15:17:17 -070024 ],
25 srcs: [
26 "build.go",
Dan Willemsenf052f782017-05-18 15:29:04 -070027 "cleanbuild.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070028 "config.go",
29 "context.go",
Dan Willemsenb2e6c2e2017-07-13 17:24:44 -070030 "dumpvars.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070031 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070032 "exec.go",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070033 "finder.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070034 "kati.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070035 "ninja.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070036 "proc_sync.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070037 "signal.go",
38 "soong.go",
39 "util.go",
40 ],
41 testSrcs: [
Dan Willemsen9b587492017-07-10 22:13:00 -070042 "config_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070043 "environment_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080044 "util_test.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070045 "proc_sync_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070046 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080047 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070048 srcs: [
49 "sandbox_darwin.go",
50 "util_darwin.go"
51 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080052 },
53 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070054 srcs: [
55 "sandbox_linux.go",
56 "util_linux.go"
57 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080058 },
Dan Willemsen1e704462016-08-21 15:17:17 -070059}