blob: d44c112d0a736d9eae970eee83751e02339ed023 [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",
Dan Willemsen1e704462016-08-21 15:17:17 -070021 ],
22 srcs: [
23 "build.go",
24 "config.go",
25 "context.go",
26 "environment.go",
Dan Willemsen269a8c72017-05-03 17:15:47 -070027 "exec.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070028 "kati.go",
29 "make.go",
30 "ninja.go",
31 "signal.go",
32 "soong.go",
33 "util.go",
34 ],
35 testSrcs: [
36 "environment_test.go",
Dan Willemsen29f88272017-02-18 18:12:41 -080037 "util_test.go",
Dan Willemsen1e704462016-08-21 15:17:17 -070038 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080039 darwin: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070040 srcs: [
41 "sandbox_darwin.go",
42 "util_darwin.go"
43 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080044 },
45 linux: {
Dan Willemsen269a8c72017-05-03 17:15:47 -070046 srcs: [
47 "sandbox_linux.go",
48 "util_linux.go"
49 ],
Dan Willemsen29f88272017-02-18 18:12:41 -080050 },
Dan Willemsen1e704462016-08-21 15:17:17 -070051}