Currently, when you do `m` repeatedly, it does a little bit of rebuilding to copy release config files around. If we change release-config to only rewrite the files if they've changed, we get a proper "ninja: no work to do." message. Bug: 346757289 Test: m repeatedly Change-Id: I9c1f6d34ec20d14b684a0183c5ec457ea92440f9
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
// Copyright 2024 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.
|
|
|
|
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-cmd-release_config-lib",
|
|
pkgPath: "android/soong/cmd/release_config/release_config_lib",
|
|
deps: [
|
|
"golang-protobuf-encoding-prototext",
|
|
"golang-protobuf-reflect-protoreflect",
|
|
"golang-protobuf-runtime-protoimpl",
|
|
"soong-cmd-release_config-proto",
|
|
"blueprint-pathtools",
|
|
],
|
|
srcs: [
|
|
"flag_artifact.go",
|
|
"flag_declaration.go",
|
|
"flag_value.go",
|
|
"release_config.go",
|
|
"release_configs.go",
|
|
"util.go",
|
|
],
|
|
}
|