summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Stenning <stenning@google.com>2024-06-11 00:48:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-06-11 00:48:40 +0000
commit86cecb736a6543ae8a19826ce2072b585b61f896 (patch)
tree1f17fa41bf55cfad6032b6e58f0ce1a7ab2bfb95
parent1270908bbdd99a769623552473cf0812e301ca82 (diff)
parent5b70c165742d0308f637663815b035c968206e21 (diff)
downloadrelease-main.tar.gz
Merge "Add Automotive specific Flag structure" into mainHEADmastermain
-rw-r--r--automotive/OWNERS8
-rw-r--r--automotive/aconfig/trunk_staging/Android.bp20
-rw-r--r--automotive/aconfig/trunk_staging/android.car.feature/Android.bp21
-rw-r--r--automotive/flag_declarations/Android.bp20
-rw-r--r--automotive/flag_values/trunk_staging/RELEASE_PLATFORM_VERSION.textproto4
-rw-r--r--automotive/release_config_map.textproto4
-rw-r--r--automotive/release_configs/trunk_staging.textproto3
7 files changed, 80 insertions, 0 deletions
diff --git a/automotive/OWNERS b/automotive/OWNERS
new file mode 100644
index 0000000..41cd585
--- /dev/null
+++ b/automotive/OWNERS
@@ -0,0 +1,8 @@
+include platform/build/release:/OWNERS
+
+#Automotive Leads
+stenning@google.com
+ralphthomas@google.com
+
+#Partner Eng Lead
+chriselliott@google.com
diff --git a/automotive/aconfig/trunk_staging/Android.bp b/automotive/aconfig/trunk_staging/Android.bp
new file mode 100644
index 0000000..7b700dd
--- /dev/null
+++ b/automotive/aconfig/trunk_staging/Android.bp
@@ -0,0 +1,20 @@
+// 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.
+
+aconfig_value_set {
+ name: "aconfig_value_set-platform_build_release_automotive-trunk_staging",
+ values: [
+ "aconfig-values-platform_build_release_automotive-trunk_staging-android.car.feature-all",
+ ],
+}
diff --git a/automotive/aconfig/trunk_staging/android.car.feature/Android.bp b/automotive/aconfig/trunk_staging/android.car.feature/Android.bp
new file mode 100644
index 0000000..cbdbfcb
--- /dev/null
+++ b/automotive/aconfig/trunk_staging/android.car.feature/Android.bp
@@ -0,0 +1,21 @@
+// Copyright 2023 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.
+
+aconfig_values {
+ name: "aconfig-values-platform_build_release_automotive-trunk_staging-android.car.feature-all",
+ package: "android.car.feature",
+ srcs: [
+ "*_flag_values.textproto",
+ ],
+}
diff --git a/automotive/flag_declarations/Android.bp b/automotive/flag_declarations/Android.bp
new file mode 100644
index 0000000..8f21493
--- /dev/null
+++ b/automotive/flag_declarations/Android.bp
@@ -0,0 +1,20 @@
+// 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.
+
+build_flag_declarations {
+ name: "build_flags-build-release-automotive",
+ srcs: [
+ "RELEASE_*.textproto",
+ ],
+}
diff --git a/automotive/flag_values/trunk_staging/RELEASE_PLATFORM_VERSION.textproto b/automotive/flag_values/trunk_staging/RELEASE_PLATFORM_VERSION.textproto
new file mode 100644
index 0000000..b694314
--- /dev/null
+++ b/automotive/flag_values/trunk_staging/RELEASE_PLATFORM_VERSION.textproto
@@ -0,0 +1,4 @@
+name: "RELEASE_PLATFORM_VERSION"
+value: {
+ string_value: "ZA1A"
+}
diff --git a/automotive/release_config_map.textproto b/automotive/release_config_map.textproto
new file mode 100644
index 0000000..c0637f1
--- /dev/null
+++ b/automotive/release_config_map.textproto
@@ -0,0 +1,4 @@
+default_containers: "product"
+default_containers: "system"
+default_containers: "system_ext"
+default_containers: "vendor"
diff --git a/automotive/release_configs/trunk_staging.textproto b/automotive/release_configs/trunk_staging.textproto
new file mode 100644
index 0000000..aa686a6
--- /dev/null
+++ b/automotive/release_configs/trunk_staging.textproto
@@ -0,0 +1,3 @@
+name: "trunk_staging"
+aconfig_value_sets: "aconfig_value_set-platform_build_release_automotive-trunk_staging"
+