1// Copyright (C) 2021 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: "GoogleCarUiBase",
21    manifest: "AndroidManifest.xml",
22    resource_dirs: ["res"],
23
24    static_libs: [
25        "car-resource-common",
26    ],
27}
28
29override_runtime_resource_overlay {
30    name: "googlecarui-com-android-car-ui-paintbooth",
31    base: "GoogleCarUiBase",
32    package_name: "com.android.car.ui.paintbooth.googlecarui.rro",
33    target_package_name: "com.android.car.ui.paintbooth",
34}
35
36override_runtime_resource_overlay {
37    name: "googlecarui-com-android-car-rotaryplayground",
38    base: "GoogleCarUiBase",
39    package_name: "com.android.car.rotaryplayground.googlecarui.rro",
40    target_package_name: "com.android.car.rotaryplayground",
41}
42
43override_runtime_resource_overlay {
44    name: "googlecarui-com-android-car-themeplayground",
45    base: "GoogleCarUiBase",
46    package_name: "com.android.car.themeplayground.googlecarui.rro",
47    target_package_name: "com.android.car.themeplayground",
48}
49
50override_runtime_resource_overlay {
51    name: "googlecarui-com-android-car-carlauncher",
52    base: "GoogleCarUiBase",
53    package_name: "com.android.car.carlauncher.googlecarui.rro",
54    target_package_name: "com.android.car.carlauncher",
55}
56
57override_runtime_resource_overlay {
58    name: "googlecarui-com-android-car-home",
59    base: "GoogleCarUiBase",
60    package_name: "com.android.car.home.googlecarui.rro",
61    target_package_name: "com.android.car.home",
62}
63
64override_runtime_resource_overlay {
65    name: "googlecarui-com-android-car-media",
66    base: "GoogleCarUiBase",
67    package_name: "com.android.car.media.googlecarui.rro",
68    target_package_name: "com.android.car.media",
69}
70
71override_runtime_resource_overlay {
72    name: "googlecarui-com-android-car-messenger",
73    base: "GoogleCarUiBase",
74    package_name: "com.android.car.messenger.googlecarui.rro",
75    target_package_name: "com.android.car.messenger",
76}
77
78override_runtime_resource_overlay {
79    name: "googlecarui-com-android-car-radio",
80    base: "GoogleCarUiBase",
81    package_name: "com.android.car.radio.googlecarui.rro",
82    target_package_name: "com.android.car.radio",
83}
84
85override_runtime_resource_overlay {
86    name: "googlecarui-com-android-car-calendar",
87    base: "GoogleCarUiBase",
88    package_name: "com.android.car.calendar.googlecarui.rro",
89    target_package_name: "com.android.car.calendar",
90}
91
92override_runtime_resource_overlay {
93    name: "googlecarui-com-android-car-systemupdater",
94    base: "GoogleCarUiBase",
95    package_name: "com.android.car.systemupdater.googlecarui.rro",
96    target_package_name: "com.android.car.systemupdater",
97}
98
99override_runtime_resource_overlay {
100    name: "googlecarui-com-android-car-dialer",
101    base: "GoogleCarUiBase",
102    package_name: "com.android.car.dialer.googlecarui.rro",
103    target_package_name: "com.android.car.dialer",
104}
105
106override_runtime_resource_overlay {
107    name: "googlecarui-com-android-car-linkviewer",
108    base: "GoogleCarUiBase",
109    package_name: "com.android.car.linkviewer.googlecarui.rro",
110    target_package_name: "com.android.car.linkviewer",
111}
112
113override_runtime_resource_overlay {
114    name: "googlecarui-com-android-car-settings",
115    base: "GoogleCarUiBase",
116    package_name: "com.android.car.settings.googlecarui.rro",
117    target_package_name: "com.android.car.settings",
118}
119
120override_runtime_resource_overlay {
121    name: "googlecarui-com-android-car-developeroptions",
122    base: "GoogleCarUiBase",
123    package_name: "com.android.car.developeroptions.googlecarui.rro",
124    target_package_name: "com.android.car.developeroptions",
125}
126
127override_runtime_resource_overlay {
128    name: "googlecarui-com-android-managedprovisioning",
129    base: "GoogleCarUiBase",
130    package_name: "com.android.managedprovisioning.googlecarui.rro",
131    target_package_name: "com.android.managedprovisioning",
132}
133
134override_runtime_resource_overlay {
135    name: "googlecarui-com-android-settings-intelligence",
136    base: "GoogleCarUiBase",
137    package_name: "com.android.settings.intelligence.googlecarui.rro",
138    target_package_name: "com.android.settings.intelligence",
139}
140
141override_runtime_resource_overlay {
142    name: "googlecarui-com-android-htmlviewer",
143    base: "GoogleCarUiBase",
144    package_name: "com.android.htmlviewer.googlecarui.rro",
145    target_package_name: "com.android.htmlviewer",
146}
147
148///////////////////////////////////////////// Theme Orange ///////////////////////////////////////
149runtime_resource_overlay {
150    name: "GoogleCarUiThemeOrangeBase",
151    manifest: "AndroidManifest-dynamic.xml",
152    resource_dirs: ["res"],
153
154    static_libs: [
155        "car-resource-theme-orange-common",
156    ],
157}
158
159override_runtime_resource_overlay {
160    name: "googlecarui.theme.orange.theme.orange-com-android-car-ui-paintbooth",
161    base: "GoogleCarUiThemeOrangeBase",
162    package_name: "com.android.car.ui.paintbooth.googlecarui.theme.orange.rro",
163    target_package_name: "com.android.car.ui.paintbooth",
164}
165
166override_runtime_resource_overlay {
167    name: "googlecarui.theme.orange-com-android-car-rotaryplayground",
168    base: "GoogleCarUiThemeOrangeBase",
169    package_name: "com.android.car.rotaryplayground.googlecarui.theme.orange.rro",
170    target_package_name: "com.android.car.rotaryplayground",
171}
172
173override_runtime_resource_overlay {
174    name: "googlecarui.theme.orange-com-android-car-themeplayground",
175    base: "GoogleCarUiThemeOrangeBase",
176    package_name: "com.android.car.themeplayground.googlecarui.theme.orange.rro",
177    target_package_name: "com.android.car.themeplayground",
178}
179
180override_runtime_resource_overlay {
181    name: "googlecarui.theme.orange-com-android-car-carlauncher",
182    base: "GoogleCarUiThemeOrangeBase",
183    package_name: "com.android.car.carlauncher.googlecarui.theme.orange.rro",
184    target_package_name: "com.android.car.carlauncher",
185}
186
187override_runtime_resource_overlay {
188    name: "googlecarui.theme.orange-com-android-car-home",
189    base: "GoogleCarUiThemeOrangeBase",
190    package_name: "com.android.car.home.googlecarui.theme.orange.rro",
191    target_package_name: "com.android.car.home",
192}
193
194override_runtime_resource_overlay {
195    name: "googlecarui.theme.orange-com-android-car-media",
196    base: "GoogleCarUiThemeOrangeBase",
197    package_name: "com.android.car.media.googlecarui.theme.orange.rro",
198    target_package_name: "com.android.car.media",
199}
200
201override_runtime_resource_overlay {
202    name: "googlecarui.theme.orange-com-android-car-messenger",
203    base: "GoogleCarUiThemeOrangeBase",
204    package_name: "com.android.car.messenger.googlecarui.theme.orange.rro",
205    target_package_name: "com.android.car.messenger",
206}
207
208override_runtime_resource_overlay {
209    name: "googlecarui.theme.orange-com-android-car-radio",
210    base: "GoogleCarUiThemeOrangeBase",
211    package_name: "com.android.car.radio.googlecarui.theme.orange.rro",
212    target_package_name: "com.android.car.radio",
213}
214
215override_runtime_resource_overlay {
216    name: "googlecarui.theme.orange-com-android-car-calendar",
217    base: "GoogleCarUiThemeOrangeBase",
218    package_name: "com.android.car.calendar.googlecarui.theme.orange.rro",
219    target_package_name: "com.android.car.calendar",
220}
221
222override_runtime_resource_overlay {
223    name: "googlecarui.theme.orange-com-android-car-systemupdater",
224    base: "GoogleCarUiThemeOrangeBase",
225    package_name: "com.android.car.systemupdater.googlecarui.theme.orange.rro",
226    target_package_name: "com.android.car.systemupdater",
227}
228
229override_runtime_resource_overlay {
230    name: "googlecarui.theme.orange-com-android-car-dialer",
231    base: "GoogleCarUiThemeOrangeBase",
232    package_name: "com.android.car.dialer.googlecarui.theme.orange.rro",
233    target_package_name: "com.android.car.dialer",
234}
235
236override_runtime_resource_overlay {
237    name: "googlecarui.theme.orange-com-android-car-linkviewer",
238    base: "GoogleCarUiThemeOrangeBase",
239    package_name: "com.android.car.linkviewer.googlecarui.theme.orange.rro",
240    target_package_name: "com.android.car.linkviewer",
241}
242
243override_runtime_resource_overlay {
244    name: "googlecarui.theme.orange-com-android-car-settings",
245    base: "GoogleCarUiThemeOrangeBase",
246    package_name: "com.android.car.settings.googlecarui.theme.orange.rro",
247    target_package_name: "com.android.car.settings",
248}
249
250override_runtime_resource_overlay {
251    name: "googlecarui.theme.orange-com-android-car-developeroptions",
252    base: "GoogleCarUiThemeOrangeBase",
253    package_name: "com.android.car.developeroptions.googlecarui.theme.orange.rro",
254    target_package_name: "com.android.car.developeroptions",
255}
256
257override_runtime_resource_overlay {
258    name: "googlecarui.theme.orange-com-android-managedprovisioning",
259    base: "GoogleCarUiThemeOrangeBase",
260    package_name: "com.android.managedprovisioning.googlecarui.theme.orange.rro",
261    target_package_name: "com.android.managedprovisioning",
262}
263
264override_runtime_resource_overlay {
265    name: "googlecarui.theme.orange-com-android-settings-intelligence",
266    base: "GoogleCarUiThemeOrangeBase",
267    package_name: "com.android.settings.intelligence.googlecarui.theme.orange.rro",
268    target_package_name: "com.android.settings.intelligence",
269}
270
271override_runtime_resource_overlay {
272    name: "googlecarui.theme.orange-com-android-htmlviewer",
273    base: "GoogleCarUiThemeOrangeBase",
274    package_name: "com.android.htmlviewer.googlecarui.theme.orange.rro",
275    target_package_name: "com.android.htmlviewer",
276}
277
278///////////////////////////////////////////// Theme Pink /////////////////////////////////////////
279runtime_resource_overlay {
280    name: "GoogleCarUiThemePinkBase",
281    manifest: "AndroidManifest-dynamic.xml",
282    resource_dirs: ["res"],
283
284    static_libs: [
285        "car-resource-theme-pink-common",
286    ],
287}
288
289override_runtime_resource_overlay {
290    name: "googlecarui.theme.pink.theme.orange-com-android-car-ui-paintbooth",
291    base: "GoogleCarUiThemePinkBase",
292    package_name: "com.android.car.ui.paintbooth.googlecarui.theme.pink.rro",
293    target_package_name: "com.android.car.ui.paintbooth",
294}
295
296override_runtime_resource_overlay {
297    name: "googlecarui.theme.pink-com-android-car-rotaryplayground",
298    base: "GoogleCarUiThemePinkBase",
299    package_name: "com.android.car.rotaryplayground.googlecarui.theme.pink.rro",
300    target_package_name: "com.android.car.rotaryplayground",
301}
302
303override_runtime_resource_overlay {
304    name: "googlecarui.theme.pink-com-android-car-themeplayground",
305    base: "GoogleCarUiThemePinkBase",
306    package_name: "com.android.car.themeplayground.googlecarui.theme.pink.rro",
307    target_package_name: "com.android.car.themeplayground",
308}
309
310override_runtime_resource_overlay {
311    name: "googlecarui.theme.pink-com-android-car-carlauncher",
312    base: "GoogleCarUiThemePinkBase",
313    package_name: "com.android.car.carlauncher.googlecarui.theme.pink.rro",
314    target_package_name: "com.android.car.carlauncher",
315}
316
317override_runtime_resource_overlay {
318    name: "googlecarui.theme.pink-com-android-car-home",
319    base: "GoogleCarUiThemePinkBase",
320    package_name: "com.android.car.home.googlecarui.theme.pink.rro",
321    target_package_name: "com.android.car.home",
322}
323
324override_runtime_resource_overlay {
325    name: "googlecarui.theme.pink-com-android-car-media",
326    base: "GoogleCarUiThemePinkBase",
327    package_name: "com.android.car.media.googlecarui.theme.pink.rro",
328    target_package_name: "com.android.car.media",
329}
330
331override_runtime_resource_overlay {
332    name: "googlecarui.theme.pink-com-android-car-messenger",
333    base: "GoogleCarUiThemePinkBase",
334    package_name: "com.android.car.messenger.googlecarui.theme.pink.rro",
335    target_package_name: "com.android.car.messenger",
336}
337
338override_runtime_resource_overlay {
339    name: "googlecarui.theme.pink-com-android-car-radio",
340    base: "GoogleCarUiThemePinkBase",
341    package_name: "com.android.car.radio.googlecarui.theme.pink.rro",
342    target_package_name: "com.android.car.radio",
343}
344
345override_runtime_resource_overlay {
346    name: "googlecarui.theme.pink-com-android-car-calendar",
347    base: "GoogleCarUiThemePinkBase",
348    package_name: "com.android.car.calendar.googlecarui.theme.pink.rro",
349    target_package_name: "com.android.car.calendar",
350}
351
352override_runtime_resource_overlay {
353    name: "googlecarui.theme.pink-com-android-car-systemupdater",
354    base: "GoogleCarUiThemePinkBase",
355    package_name: "com.android.car.systemupdater.googlecarui.theme.pink.rro",
356    target_package_name: "com.android.car.systemupdater",
357}
358
359override_runtime_resource_overlay {
360    name: "googlecarui.theme.pink-com-android-car-dialer",
361    base: "GoogleCarUiThemePinkBase",
362    package_name: "com.android.car.dialer.googlecarui.theme.pink.rro",
363    target_package_name: "com.android.car.dialer",
364}
365
366override_runtime_resource_overlay {
367    name: "googlecarui.theme.pink-com-android-car-linkviewer",
368    base: "GoogleCarUiThemePinkBase",
369    package_name: "com.android.car.linkviewer.googlecarui.theme.pink.rro",
370    target_package_name: "com.android.car.linkviewer",
371}
372
373override_runtime_resource_overlay {
374    name: "googlecarui.theme.pink-com-android-car-settings",
375    base: "GoogleCarUiThemePinkBase",
376    package_name: "com.android.car.settings.googlecarui.theme.pink.rro",
377    target_package_name: "com.android.car.settings",
378}
379
380override_runtime_resource_overlay {
381    name: "googlecarui.theme.pink-com-android-car-developeroptions",
382    base: "GoogleCarUiThemePinkBase",
383    package_name: "com.android.car.developeroptions.googlecarui.theme.pink.rro",
384    target_package_name: "com.android.car.developeroptions",
385}
386
387override_runtime_resource_overlay {
388    name: "googlecarui.theme.pink-com-android-managedprovisioning",
389    base: "GoogleCarUiThemePinkBase",
390    package_name: "com.android.managedprovisioning.googlecarui.theme.pink.rro",
391    target_package_name: "com.android.managedprovisioning",
392}
393
394override_runtime_resource_overlay {
395    name: "googlecarui.theme.pink-com-android-settings-intelligence",
396    base: "GoogleCarUiThemePinkBase",
397    package_name: "com.android.settings.intelligence.googlecarui.theme.pink.rro",
398    target_package_name: "com.android.settings.intelligence",
399}
400
401override_runtime_resource_overlay {
402    name: "googlecarui.theme.pink-com-android-htmlviewer",
403    base: "GoogleCarUiThemePinkBase",
404    package_name: "com.android.htmlviewer.googlecarui.theme.pink.rro",
405    target_package_name: "com.android.htmlviewer",
406}
407