Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 5 | cc_defaults { |
| 6 | name: "libbatterymonitor_defaults", |
Chih-Hung Hsieh | 9635266 | 2017-11-29 14:24:50 -0800 | [diff] [blame] | 7 | cflags: ["-Wall", "-Werror"], |
Yifan Hong | ffff9aa | 2017-06-01 14:34:29 -0700 | [diff] [blame] | 8 | vendor_available: true, |
Yifan Hong | 90fdc72 | 2018-07-10 13:02:18 -0700 | [diff] [blame] | 9 | recovery_available: true, |
Yifan Hong | ffff9aa | 2017-06-01 14:34:29 -0700 | [diff] [blame] | 10 | export_include_dirs: ["include"], |
| 11 | shared_libs: [ |
| 12 | "libutils", |
| 13 | "libbase", |
Yifan Hong | 1d4368b | 2019-10-07 11:18:04 -0700 | [diff] [blame] | 14 | |
Yifan Hong | b99d15c | 2022-03-01 12:12:34 -0800 | [diff] [blame] | 15 | // Need HealthInfo definition from headers of these shared |
| 16 | // libraries. Clients don't need to link to these. |
Yifan Hong | 1d4368b | 2019-10-07 11:18:04 -0700 | [diff] [blame] | 17 | "android.hardware.health@2.1", |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 18 | ], |
| 19 | header_libs: ["libhealthd_headers"], |
| 20 | export_header_lib_headers: ["libhealthd_headers"], |
| 21 | } |
| 22 | |
| 23 | cc_defaults { |
| 24 | name: "libhealthd_charger_ui_defaults", |
| 25 | vendor_available: true, |
| 26 | export_include_dirs: [ |
| 27 | "include", |
| 28 | "include_charger", |
| 29 | ], |
| 30 | |
| 31 | static_libs: [ |
| 32 | "libcharger_sysprop", |
| 33 | "libhealthd_draw", |
| 34 | "libhealthloop", |
| 35 | "libminui", |
| 36 | ], |
| 37 | |
| 38 | shared_libs: [ |
| 39 | "libbase", |
| 40 | "libcutils", |
| 41 | "liblog", |
| 42 | "libpng", |
| 43 | "libsuspend", |
| 44 | "libutils", |
| 45 | ], |
| 46 | |
| 47 | header_libs: [ |
| 48 | "libhealthd_headers", |
| 49 | ], |
| 50 | |
| 51 | srcs: [ |
| 52 | "healthd_mode_charger.cpp", |
| 53 | "AnimationParser.cpp", |
| 54 | ], |
| 55 | |
| 56 | target: { |
| 57 | vendor: { |
| 58 | exclude_static_libs: [ |
| 59 | "libcharger_sysprop", |
| 60 | ], |
| 61 | }, |
| 62 | }, |
| 63 | } |
| 64 | |
| 65 | cc_library_headers { |
| 66 | name: "libhealthd_headers", |
| 67 | vendor_available: true, |
| 68 | recovery_available: true, |
| 69 | export_include_dirs: ["include"], |
| 70 | header_libs: ["libbatteryservice_headers"], |
| 71 | export_header_lib_headers: ["libbatteryservice_headers"], |
| 72 | } |
| 73 | |
| 74 | cc_library_static { |
| 75 | name: "libbatterymonitor", |
| 76 | defaults: ["libbatterymonitor_defaults"], |
Jack Wu | 2ed5c9c | 2023-01-21 14:33:55 +0800 | [diff] [blame] | 77 | srcs: ["BatteryMonitor.cpp"], |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 78 | static_libs: [ |
Jack Wu | e561d03 | 2022-11-24 12:19:41 +0800 | [diff] [blame] | 79 | "android.hardware.health-V2-ndk", |
Yifan Hong | b99d15c | 2022-03-01 12:12:34 -0800 | [diff] [blame] | 80 | ], |
| 81 | whole_static_libs: [ |
| 82 | // Need to translate HIDL to AIDL to support legacy APIs in |
| 83 | // BatteryMonitor. |
| 84 | "android.hardware.health-translate-ndk", |
Yifan Hong | ffff9aa | 2017-06-01 14:34:29 -0700 | [diff] [blame] | 85 | ], |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | // TODO(b/251425963): remove when android.hardware.health is upgraded to V2. |
| 89 | cc_library_static { |
| 90 | name: "libbatterymonitor-V1", |
| 91 | defaults: ["libbatterymonitor_defaults"], |
Jack Wu | 2ed5c9c | 2023-01-21 14:33:55 +0800 | [diff] [blame] | 92 | srcs: ["BatteryMonitor_v1.cpp"], |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 93 | static_libs: [ |
| 94 | "android.hardware.health-V1-ndk", |
| 95 | ], |
| 96 | whole_static_libs: [ |
| 97 | // Need to translate HIDL to AIDL to support legacy APIs in |
| 98 | // BatteryMonitor. |
| 99 | "android.hardware.health-translate-V1-ndk", |
| 100 | ], |
Yifan Hong | ffff9aa | 2017-06-01 14:34:29 -0700 | [diff] [blame] | 101 | } |
Yifan Hong | 2763df8 | 2017-09-19 17:57:50 -0700 | [diff] [blame] | 102 | |
Yifan Hong | 1cf853f | 2018-04-04 14:08:57 -0700 | [diff] [blame] | 103 | cc_defaults { |
| 104 | name: "android.hardware.health@2.0-service_defaults", |
Yifan Hong | 2763df8 | 2017-09-19 17:57:50 -0700 | [diff] [blame] | 105 | |
Chih-Hung Hsieh | 9635266 | 2017-11-29 14:24:50 -0800 | [diff] [blame] | 106 | cflags: [ |
Chih-Hung Hsieh | 9635266 | 2017-11-29 14:24:50 -0800 | [diff] [blame] | 107 | "-Wall", |
| 108 | "-Werror", |
| 109 | ], |
Yifan Hong | 2763df8 | 2017-09-19 17:57:50 -0700 | [diff] [blame] | 110 | |
| 111 | static_libs: [ |
| 112 | "android.hardware.health@2.0-impl", |
| 113 | "android.hardware.health@1.0-convert", |
Yifan Hong | affa24f | 2018-01-19 15:53:25 -0800 | [diff] [blame] | 114 | "libhealthservice", |
Hridya Valsaraju | 89178e7 | 2018-01-10 16:14:28 -0800 | [diff] [blame] | 115 | "libhealthstoragedefault", |
Yifan Hong | 2763df8 | 2017-09-19 17:57:50 -0700 | [diff] [blame] | 116 | "libbatterymonitor", |
| 117 | ], |
| 118 | |
| 119 | shared_libs: [ |
| 120 | "libbase", |
| 121 | "libcutils", |
| 122 | "libhidlbase", |
Yifan Hong | 2763df8 | 2017-09-19 17:57:50 -0700 | [diff] [blame] | 123 | "liblog", |
| 124 | "libutils", |
| 125 | "android.hardware.health@2.0", |
| 126 | ], |
| 127 | } |
Yifan Hong | 12df1b9 | 2017-09-25 17:25:00 -0700 | [diff] [blame] | 128 | |
| 129 | cc_binary { |
Yifan Hong | 1cf853f | 2018-04-04 14:08:57 -0700 | [diff] [blame] | 130 | name: "android.hardware.health@2.0-service", |
| 131 | defaults: ["android.hardware.health@2.0-service_defaults"], |
Yifan Hong | 31150c1 | 2018-05-01 14:59:43 -0700 | [diff] [blame] | 132 | |
Yifan Hong | ef26fe4 | 2018-07-10 13:07:08 -0700 | [diff] [blame] | 133 | vendor: true, |
| 134 | relative_install_path: "hw", |
| 135 | init_rc: ["android.hardware.health@2.0-service.rc"], |
| 136 | srcs: [ |
| 137 | "HealthServiceDefault.cpp", |
| 138 | ], |
Yifan Hong | 12df1b9 | 2017-09-25 17:25:00 -0700 | [diff] [blame] | 139 | } |
Tao Bao | 5747e22 | 2018-09-11 10:46:35 -0700 | [diff] [blame] | 140 | |
| 141 | cc_library_static { |
| 142 | name: "libhealthd_charger_nops", |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 143 | recovery_available: true, |
Tao Bao | 5747e22 | 2018-09-11 10:46:35 -0700 | [diff] [blame] | 144 | |
| 145 | srcs: [ |
| 146 | "healthd_mode_charger_nops.cpp", |
| 147 | ], |
| 148 | |
| 149 | cflags: [ |
| 150 | "-Wall", |
| 151 | "-Werror", |
| 152 | ], |
| 153 | |
| 154 | header_libs: [ |
| 155 | "libhealthd_headers", |
| 156 | ], |
| 157 | |
| 158 | static_libs: [ |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 159 | "libhealthloop", |
| 160 | "libhealth2impl", |
Tao Bao | 5747e22 | 2018-09-11 10:46:35 -0700 | [diff] [blame] | 161 | ], |
| 162 | |
| 163 | shared_libs: [ |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 164 | "android.hardware.health@2.1", |
Tao Bao | 5747e22 | 2018-09-11 10:46:35 -0700 | [diff] [blame] | 165 | "libutils", |
| 166 | ], |
| 167 | } |
Yifan Hong | 97eecdc | 2019-07-03 11:07:37 -0700 | [diff] [blame] | 168 | |
| 169 | sysprop_library { |
| 170 | name: "charger_sysprop", |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 171 | recovery_available: true, |
Yifan Hong | 97eecdc | 2019-07-03 11:07:37 -0700 | [diff] [blame] | 172 | srcs: ["charger.sysprop"], |
| 173 | property_owner: "Platform", |
| 174 | api_packages: ["android.sysprop"], |
| 175 | } |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 176 | |
| 177 | cc_library_static { |
| 178 | name: "libhealthd_draw", |
Yifan Hong | e3ffd1b | 2021-10-20 22:18:16 -0700 | [diff] [blame] | 179 | vendor_available: true, |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 180 | export_include_dirs: ["."], |
| 181 | static_libs: [ |
| 182 | "libcharger_sysprop", |
| 183 | "libminui", |
| 184 | ], |
| 185 | shared_libs: [ |
| 186 | "libbase", |
| 187 | ], |
| 188 | header_libs: ["libbatteryservice_headers"], |
| 189 | |
| 190 | srcs: ["healthd_draw.cpp"], |
Yifan Hong | e3ffd1b | 2021-10-20 22:18:16 -0700 | [diff] [blame] | 191 | |
| 192 | target: { |
| 193 | vendor: { |
| 194 | exclude_static_libs: [ |
| 195 | "libcharger_sysprop", |
| 196 | ], |
| 197 | }, |
| 198 | }, |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 199 | } |
| 200 | |
| 201 | cc_library_static { |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 202 | name: "libhealthd_charger_ui", |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 203 | defaults: ["libhealthd_charger_ui_defaults"], |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 204 | |
| 205 | static_libs: [ |
Jack Wu | e561d03 | 2022-11-24 12:19:41 +0800 | [diff] [blame] | 206 | "android.hardware.health-V2-ndk", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 207 | "android.hardware.health-translate-ndk", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 208 | ], |
| 209 | |
| 210 | export_static_lib_headers: [ |
Jack Wu | e561d03 | 2022-11-24 12:19:41 +0800 | [diff] [blame] | 211 | "android.hardware.health-V2-ndk", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 212 | ], |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 213 | } |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 214 | |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 215 | // TODO(b/251425963): remove when android.hardware.health is upgraded to V2. |
| 216 | cc_library_static { |
| 217 | name: "libhealthd_charger_ui-V1", |
| 218 | defaults: ["libhealthd_charger_ui_defaults"], |
| 219 | |
| 220 | static_libs: [ |
| 221 | "android.hardware.health-V1-ndk", |
| 222 | "android.hardware.health-translate-V1-ndk", |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 223 | ], |
Yifan Hong | e3ffd1b | 2021-10-20 22:18:16 -0700 | [diff] [blame] | 224 | |
Jack Wu | f83e5a6 | 2023-01-10 14:50:52 +0800 | [diff] [blame] | 225 | export_static_lib_headers: [ |
| 226 | "android.hardware.health-V1-ndk", |
| 227 | ], |
Yifan Hong | dbaa477 | 2019-07-03 11:40:08 -0700 | [diff] [blame] | 228 | } |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 229 | |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 230 | cc_library_static { |
| 231 | name: "libhealthd_charger", |
| 232 | export_include_dirs: [ |
| 233 | "include", |
| 234 | "include_charger", |
| 235 | ], |
| 236 | |
| 237 | static_libs: [ |
| 238 | "android.hardware.health@1.0-convert", |
Yifan Hong | 8e55134 | 2021-10-26 22:51:29 -0700 | [diff] [blame] | 239 | "libcharger_sysprop", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 240 | "libhealth2impl", |
| 241 | "libhealthd_charger_ui", |
| 242 | ], |
| 243 | |
| 244 | shared_libs: [ |
| 245 | "android.hardware.health@2.1", |
| 246 | "libbase", |
| 247 | "libcutils", |
| 248 | "liblog", |
| 249 | "libutils", |
| 250 | ], |
| 251 | |
| 252 | srcs: [ |
| 253 | "healthd_mode_charger_hidl.cpp", |
| 254 | ], |
| 255 | } |
| 256 | |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 257 | cc_defaults { |
| 258 | name: "charger_defaults", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 259 | local_include_dirs: [ |
| 260 | "include_charger", |
| 261 | ], |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 262 | |
| 263 | cflags: [ |
| 264 | "-Wall", |
| 265 | "-Werror", |
| 266 | ], |
| 267 | |
| 268 | shared_libs: [ |
| 269 | // common |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 270 | "libbase", |
| 271 | "libcutils", |
| 272 | "libhidlbase", |
| 273 | "liblog", |
| 274 | "libutils", |
| 275 | |
| 276 | // system charger only |
| 277 | "libpng", |
| 278 | ], |
| 279 | |
| 280 | static_libs: [ |
| 281 | // common |
| 282 | "android.hardware.health@1.0-convert", |
Jack Wu | e561d03 | 2022-11-24 12:19:41 +0800 | [diff] [blame] | 283 | "android.hardware.health-V2-ndk", |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 284 | "libbatterymonitor", |
| 285 | "libcharger_sysprop", |
| 286 | "libhealthd_charger_nops", |
| 287 | "libhealthloop", |
| 288 | "libhealth2impl", |
| 289 | |
| 290 | // system charger only |
| 291 | "libhealthd_draw", |
| 292 | "libhealthd_charger", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 293 | "libhealthd_charger_ui", |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 294 | "libminui", |
| 295 | "libsuspend", |
| 296 | ], |
| 297 | } |
| 298 | |
| 299 | cc_binary { |
| 300 | name: "charger", |
| 301 | defaults: ["charger_defaults"], |
| 302 | recovery_available: true, |
| 303 | srcs: [ |
| 304 | "charger.cpp", |
| 305 | "charger_utils.cpp", |
| 306 | ], |
Yifan Hong | 5771858 | 2021-12-13 14:01:14 -0800 | [diff] [blame] | 307 | shared_libs: [ |
| 308 | "android.hardware.health@2.0", |
| 309 | "android.hardware.health@2.1", |
| 310 | ], |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 311 | |
| 312 | target: { |
| 313 | recovery: { |
| 314 | // No UI and libsuspend for recovery charger. |
| 315 | cflags: [ |
| 316 | "-DCHARGER_FORCE_NO_UI=1", |
| 317 | ], |
| 318 | exclude_shared_libs: [ |
| 319 | "libpng", |
| 320 | ], |
| 321 | exclude_static_libs: [ |
| 322 | "libhealthd_draw", |
| 323 | "libhealthd_charger", |
Yifan Hong | b5d7033 | 2021-10-20 17:15:32 -0700 | [diff] [blame] | 324 | "libhealthd_charger_ui", |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 325 | "libminui", |
| 326 | "libsuspend", |
| 327 | ], |
| 328 | } |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | cc_test { |
| 333 | name: "charger_test", |
| 334 | defaults: ["charger_defaults"], |
| 335 | srcs: ["charger_test.cpp"], |
Yifan Hong | 5771858 | 2021-12-13 14:01:14 -0800 | [diff] [blame] | 336 | static_libs: [ |
| 337 | "android.hardware.health@1.0", |
| 338 | "android.hardware.health@2.0", |
| 339 | "android.hardware.health@2.1", |
| 340 | ], |
Yifan Hong | 7dcf7b0 | 2019-10-08 17:27:11 -0700 | [diff] [blame] | 341 | } |
Yifan Hong | 12d1575 | 2020-08-05 16:25:33 -0700 | [diff] [blame] | 342 | |
| 343 | cc_test { |
| 344 | name: "libhealthd_charger_test", |
Yifan Hong | c2bed97 | 2020-08-07 16:27:49 -0700 | [diff] [blame] | 345 | defaults: ["charger_defaults"], |
| 346 | srcs: [ |
| 347 | "AnimationParser_test.cpp", |
| 348 | "healthd_mode_charger_test.cpp" |
Yifan Hong | 12d1575 | 2020-08-05 16:25:33 -0700 | [diff] [blame] | 349 | ], |
| 350 | static_libs: [ |
Yifan Hong | 5771858 | 2021-12-13 14:01:14 -0800 | [diff] [blame] | 351 | "android.hardware.health@1.0", |
| 352 | "android.hardware.health@2.0", |
| 353 | "android.hardware.health@2.1", |
Yifan Hong | c2bed97 | 2020-08-07 16:27:49 -0700 | [diff] [blame] | 354 | "libgmock", |
Yifan Hong | 12d1575 | 2020-08-05 16:25:33 -0700 | [diff] [blame] | 355 | ], |
Yifan Hong | 186b4d9 | 2020-08-05 16:30:43 -0700 | [diff] [blame] | 356 | test_suites: [ |
| 357 | "general-tests", |
| 358 | "device-tests", |
| 359 | ], |
Yifan Hong | c2bed97 | 2020-08-07 16:27:49 -0700 | [diff] [blame] | 360 | data: [ |
| 361 | ":libhealthd_charger_test_data", |
| 362 | ], |
| 363 | require_root: true, |
Yifan Hong | 12d1575 | 2020-08-05 16:25:33 -0700 | [diff] [blame] | 364 | } |
Yifan Hong | 5109c8c | 2020-08-05 18:24:25 -0700 | [diff] [blame] | 365 | |
| 366 | // /system/etc/res/images/charger/battery_fail.png |
| 367 | prebuilt_etc { |
| 368 | name: "system_core_charger_res_images_battery_fail.png", |
| 369 | src: "images/battery_fail.png", |
| 370 | relative_install_path: "res/images/charger", |
| 371 | filename: "battery_fail.png", |
| 372 | } |
| 373 | |
| 374 | // /system/etc/res/images/charger/battery_scale.png |
| 375 | prebuilt_etc { |
| 376 | name: "system_core_charger_res_images_battery_scale.png", |
| 377 | src: "images/battery_scale.png", |
| 378 | relative_install_path: "res/images/charger", |
| 379 | filename: "battery_scale.png", |
| 380 | } |
| 381 | |
| 382 | phony { |
| 383 | name: "charger_res_images", |
| 384 | required: [ |
| 385 | "system_core_charger_res_images_battery_fail.png", |
| 386 | "system_core_charger_res_images_battery_scale.png", |
| 387 | ], |
| 388 | } |
Yifan Hong | ac74836 | 2021-10-26 17:20:25 -0700 | [diff] [blame] | 389 | |
Tim Zimmermann | c4c2a07 | 2022-08-26 15:54:13 +0200 | [diff] [blame] | 390 | // /vendor/etc/res/images/default/charger/battery_fail.png |
Yifan Hong | ac74836 | 2021-10-26 17:20:25 -0700 | [diff] [blame] | 391 | prebuilt_etc { |
| 392 | name: "system_core_charger_res_images_battery_fail.png_default_vendor", |
| 393 | src: "images/battery_fail.png", |
Tim Zimmermann | c4c2a07 | 2022-08-26 15:54:13 +0200 | [diff] [blame] | 394 | relative_install_path: "res/images/default/charger", |
Yifan Hong | ac74836 | 2021-10-26 17:20:25 -0700 | [diff] [blame] | 395 | vendor: true, |
| 396 | filename: "battery_fail.png", |
| 397 | } |
| 398 | |
Tim Zimmermann | c4c2a07 | 2022-08-26 15:54:13 +0200 | [diff] [blame] | 399 | // /vendor/etc/res/images/default/charger/battery_scale.png |
Yifan Hong | ac74836 | 2021-10-26 17:20:25 -0700 | [diff] [blame] | 400 | prebuilt_etc { |
| 401 | name: "system_core_charger_res_images_battery_scale.png_default_vendor", |
| 402 | src: "images/battery_scale.png", |
Tim Zimmermann | c4c2a07 | 2022-08-26 15:54:13 +0200 | [diff] [blame] | 403 | relative_install_path: "res/images/default/charger", |
Yifan Hong | ac74836 | 2021-10-26 17:20:25 -0700 | [diff] [blame] | 404 | vendor: true, |
| 405 | filename: "battery_scale.png", |
| 406 | } |
| 407 | |
| 408 | phony { |
| 409 | name: "charger_res_images_vendor", |
| 410 | required: [ |
| 411 | "system_core_charger_res_images_battery_fail.png_default_vendor", |
| 412 | "system_core_charger_res_images_battery_scale.png_default_vendor", |
| 413 | ], |
| 414 | } |