blob: 7640e84dcf10dfd4bf268cd0a4ba51c883723e28 [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 Willemsen1e704462016-08-21 15:17:17 -070023 ],
24 srcs: [
25 "build.go",
Dan Willemsenf052f782017-05-18 15:29:04 -070026 "cleanbuild.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070027 "config.go",
28 "context.go",
29 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070030 "exec.go",
Jeff Gastonb64fc1c2017-08-04 12:30:12 -070031 "finder.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070032 "kati.go",
33 "make.go",
34 "ninja.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070035 "proc_sync.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070036 "signal.go",
37 "soong.go",
38 "util.go",
39 ],
40 testSrcs: [
Dan Willemsen9b587492017-07-10 22:13:00 -070041 "config_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070042 "environment_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080043 "util_test.go",
Jeff Gaston3615fe82017-05-24 13:14:34 -070044 "proc_sync_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070045 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080046 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070047 srcs: [
48 "sandbox_darwin.go",
49 "util_darwin.go"
50 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080051 },
52 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070053 srcs: [
54 "sandbox_linux.go",
55 "util_linux.go"
56 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080057 },
Dan Willemsen1e704462016-08-21 15:17:17 -070058}