e348076296
Instead of deleting artifacts/logs from successful build (unless -keep is set), and keeping unsuccessful artifacts, keep all logs and remove all artifacts (unless -keep is set, then we'll compress the artifacts). If -dist is passed in, we'll put an archive of the logs into the DIST_DIR. Even compressed, the rest of the artifacts are still a bit too large to dist (~5.6GB on AOSP). Test: build/soong/build_test.bash Test: build/soong/build_test.bash -keep Test: build/soong/build_test.bash -dist Change-Id: I87f55978c18c8ff2e517b8271554ba383003742f
26 lines
823 B
Text
26 lines
823 B
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.
|
|
|
|
blueprint_go_binary {
|
|
name: "multiproduct_kati",
|
|
deps: [
|
|
"soong-ui-build",
|
|
"soong-ui-logger",
|
|
"soong-ui-tracer",
|
|
"soong-zip",
|
|
],
|
|
srcs: [
|
|
"main.go",
|
|
],
|
|
}
|