omni: aconfig: Convert fully to textproto from scl
Change-Id: Ia905308599dd2f2d64805e908b4ce12aac70b1e8
diff --git a/release/build_config/ap3a.scl b/release/build_config/ap3a.scl
deleted file mode 100644
index ae6a6ae..0000000
--- a/release/build_config/ap3a.scl
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright (C) 2024 The LineageOS 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.
-
-
-load("//build/make/core/release_config.scl", "value")
-
-values = [
- # keep-sorted start numeric=yes
- value("RELEASE_ACONFIG_VALUE_SETS", "aconfig_value_set-omnirom-ap3a"),
- # keep-sorted end
-]
diff --git a/release/build_config/ap3a.textproto b/release/build_config/ap3a.textproto
new file mode 100644
index 0000000..907fe07
--- /dev/null
+++ b/release/build_config/ap3a.textproto
@@ -0,0 +1,3 @@
+name: "ap3a"
+prior_stages: "trunk"
+aconfig_value_sets: "aconfig_value_set-omnirom-ap3a"
diff --git a/release/release_config_map.mk b/release/release_config_map.mk
deleted file mode 100644
index 5c3bdae..0000000
--- a/release/release_config_map.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright (C) 2024 The LineageOS 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.
-
-# Get the directory for this file, and use that instead of a fixed path.
-local_dir := $(dir $(lastword $(MAKEFILE_LIST)))
-
-# Attach the flag value definitions to the various release configurations.
-$(call declare-release-config, ap3a, $(local_dir)build_config/ap3a.scl)
-
-local_dir :=
diff --git a/release/release_config_map.textproto b/release/release_config_map.textproto
new file mode 100644
index 0000000..81ec299
--- /dev/null
+++ b/release/release_config_map.textproto
@@ -0,0 +1,4 @@
+release_config {
+ name: "ap3a"
+ flag_value_files: "build_config/ap3a.textproto"
+}