1e775d7619
Make now exports (partial) lists of what should be installed. Those lists are incomplete, but if something is removed from the list, we can remove it from the filesystem so that incremental builds work better. Test: built-in tests (m blueprint_tools) Test: remove a module from PRODUCT_PACKAGES, see the print and file removed Test: change the name of a cts test, see the old one removed from cts Change-Id: I6bc14c6a5af63383ea265e97ed8b875fa51af0ed
80 lines
1.9 KiB
Text
80 lines
1.9 KiB
Text
// Copyright 2017 Google Inc. All rights reserved.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-ui-build-paths",
|
|
pkgPath: "android/soong/ui/build/paths",
|
|
srcs: [
|
|
"paths/config.go",
|
|
"paths/logs.go",
|
|
],
|
|
testSrcs: [
|
|
"paths/logs_test.go",
|
|
],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-ui-build",
|
|
pkgPath: "android/soong/ui/build",
|
|
deps: [
|
|
"soong-ui-build-paths",
|
|
"soong-ui-logger",
|
|
"soong-ui-metrics",
|
|
"soong-ui-status",
|
|
"soong-ui-terminal",
|
|
"soong-ui-tracer",
|
|
"soong-shared",
|
|
"soong-finder",
|
|
"blueprint-microfactory",
|
|
],
|
|
srcs: [
|
|
"build.go",
|
|
"cleanbuild.go",
|
|
"config.go",
|
|
"context.go",
|
|
"dumpvars.go",
|
|
"environment.go",
|
|
"exec.go",
|
|
"finder.go",
|
|
"goma.go",
|
|
"kati.go",
|
|
"ninja.go",
|
|
"path.go",
|
|
"proc_sync.go",
|
|
"rbe.go",
|
|
"signal.go",
|
|
"soong.go",
|
|
"test_build.go",
|
|
"util.go",
|
|
],
|
|
testSrcs: [
|
|
"cleanbuild_test.go",
|
|
"config_test.go",
|
|
"environment_test.go",
|
|
"util_test.go",
|
|
"proc_sync_test.go",
|
|
],
|
|
darwin: {
|
|
srcs: [
|
|
"config_darwin.go",
|
|
"sandbox_darwin.go",
|
|
],
|
|
},
|
|
linux: {
|
|
srcs: [
|
|
"config_linux.go",
|
|
"sandbox_linux.go",
|
|
],
|
|
},
|
|
}
|