From ec1553ee5a663cb75bc209b4414cbe45d97d988d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Wed, 1 May 2024 09:24:47 -0700 Subject: Add RELEASE_BUILD_FLAGS_IN_PROTOBUF This will guard the conversion to using protobufs for build flags. To ease testing for those working on the migration, add a temporary release config "protobuf_flags" which is === "trunk_staging", with RELEASE_BUILD_FLAGS_IN_PROTOBUF=true. Bug: 328495189 Test: manual Ignore-AOSP-First: cherry-pick due to merge conflict Change-Id: I7d40e5bb923cf84609e2f3a3cbd47c5a5d03a983 --- build_config/protobuf_flags.scl | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 build_config/protobuf_flags.scl (limited to 'build_config/protobuf_flags.scl') diff --git a/build_config/protobuf_flags.scl b/build_config/protobuf_flags.scl new file mode 100644 index 00000000..9c0c7967 --- /dev/null +++ b/build_config/protobuf_flags.scl @@ -0,0 +1,39 @@ +""" +Build flag values for release config protobuf_flags. +""" +# Copyright (C) 2023 The Android Open Source Project +# +# 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. + +# +# Build system flag configuration for `lunch -protobuf_flags-` builds +# ^^^^^^^^^^^^^^ +# See go/build-system-flags +# + +load("//build/make/core/release_config.scl", "value") + +################################################################################ +# +# DO NOT EDIT THIS FILE +# +# Flag values should be changed in `trunk_staging.scl`, not here. This file should +# only be used where protobuf_flags differs from trunk_staging: +# RELEASE_BUILD_FLAGS_IN_PROTOBUF is the only difference at this time. +################################################################################ +values = [ + # keep-sorted start numeric=yes + value("RELEASE_BUILD_FLAGS_IN_PROTOBUF", True), + # keep-sorted end +] +# Flags should be alphabetical by flag name to reduce merge conflifcts -- cgit v1.2.3-59-g8ed1b