1// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19runtime_resource_overlay {
20    name: "CarFrameworkResVisualRRO",
21    resource_dirs: ["res"],
22    certificate: "platform",
23    manifest: "AndroidManifest.xml",
24    static_libs: [
25        "car-resource-common",
26    ],
27}
28
29///////////////////////////////////////////// Theme Orange ///////////////////////////////////////
30runtime_resource_overlay {
31    name: "CarFrameworkResVisualThemeOragneRROBase",
32    resource_dirs: ["res"],
33    certificate: "platform",
34    manifest: "AndroidManifest-dynamic.xml",
35    static_libs: [
36        "car-resource-theme-orange-common",
37    ],
38}
39
40override_runtime_resource_overlay {
41    name: "googlecarui.theme.orange-android",
42    base: "CarFrameworkResVisualThemeOragneRROBase",
43    package_name: "android.googlecarui.theme.orange.rro",
44    target_package_name: "android",
45}
46
47///////////////////////////////////////////// Theme Pink /////////////////////////////////////////
48runtime_resource_overlay {
49    name: "CarFrameworkResVisualThemePinkRROBase",
50    resource_dirs: ["res"],
51    certificate: "platform",
52    manifest: "AndroidManifest-dynamic.xml",
53    static_libs: [
54        "car-resource-theme-pink-common",
55    ],
56}
57
58override_runtime_resource_overlay {
59    name: "googlecarui.theme.pink-android",
60    base: "CarFrameworkResVisualThemePinkRROBase",
61    package_name: "android.googlecarui.theme.pink.rro",
62    target_package_name: "android",
63}
64