Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 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 | |
Bob Badour | 4bdf380 | 2021-02-12 17:08:17 -0800 | [diff] [blame] | 15 | package { |
Bob Badour | a7548b5 | 2022-01-27 22:04:48 -0800 | [diff] [blame] | 16 | // See: http://go/android-license-faq |
| 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
Bob Badour | 4bdf380 | 2021-02-12 17:08:17 -0800 | [diff] [blame] | 18 | } |
| 19 | |
Sunny Goyal | 621918f | 2024-09-18 11:31:58 -0700 | [diff] [blame] | 20 | min_launcher3_sdk_version = "31" |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 21 | |
Jared Duke | 1222dd7 | 2024-07-12 00:01:11 +0000 | [diff] [blame] | 22 | // Targets that don't inherit framework aconfig libs (i.e., those that don't set |
| 23 | // `platform_apis: true`) must manually link them. |
| 24 | java_defaults { |
| 25 | name: "launcher-non-platform-apis-defaults", |
| 26 | static_libs: [ |
| 27 | "android.os.flags-aconfig-java", |
| 28 | "android.appwidget.flags-aconfig-java", |
| 29 | "com.android.window.flags.window-aconfig-java", |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 30 | ], |
Jared Duke | 1222dd7 | 2024-07-12 00:01:11 +0000 | [diff] [blame] | 31 | } |
| 32 | |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 33 | // Common source files used to build launcher (java and kotlin) |
| 34 | // All sources are split so they can be reused in many other libraries/apps in other folders |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 35 | |
| 36 | // Main Launcher source, excluding the build config |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 37 | filegroup { |
| 38 | name: "launcher-src", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 39 | srcs: [ |
| 40 | "src/**/*.java", |
| 41 | "src/**/*.kt", |
| 42 | ], |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 43 | } |
| 44 | |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 45 | // Main Launcher source for compose, excluding the build config |
| 46 | filegroup { |
| 47 | name: "launcher-compose-enabled-src", |
| 48 | srcs: [ |
| 49 | "compose/facade/enabled/*.kt", |
| 50 | "compose/facade/core/*.kt", |
| 51 | "compose/features/**/*.kt", |
| 52 | ], |
| 53 | } |
| 54 | |
| 55 | filegroup { |
| 56 | name: "launcher-compose-disabled-src", |
| 57 | srcs: [ |
| 58 | "compose/facade/core/*.kt", |
| 59 | "compose/facade/disabled/*.kt", |
| 60 | ], |
| 61 | } |
| 62 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 63 | // Source code for quickstep build, on top of launcher-src |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 64 | filegroup { |
| 65 | name: "launcher-quickstep-src", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 66 | srcs: [ |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 67 | "quickstep/src/**/*.kt", |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 68 | "quickstep/src/**/*.java", |
Cole Faust | cfa4fe7 | 2024-10-28 12:20:53 -0700 | [diff] [blame] | 69 | ], |
| 70 | device_common_srcs: [ |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 71 | ":launcher-quickstep-processed-protolog-src", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 72 | ], |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 73 | } |
| 74 | |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 75 | // Launcher ProtoLog support |
| 76 | filegroup { |
| 77 | name: "launcher-quickstep-unprocessed-protolog-src", |
| 78 | srcs: [ |
| 79 | "quickstep/src_protolog/**/*.java", |
| 80 | ], |
| 81 | } |
| 82 | |
| 83 | java_library { |
| 84 | name: "launcher-quickstep_protolog-groups", |
| 85 | srcs: [ |
| 86 | "quickstep/src_protolog/**/*.java", |
| 87 | ], |
| 88 | static_libs: [ |
| 89 | "protolog-group", |
| 90 | "androidx.annotation_annotation", |
| 91 | "com_android_launcher3_flags_lib", |
| 92 | ], |
| 93 | } |
| 94 | |
Cole Faust | cfa4fe7 | 2024-10-28 12:20:53 -0700 | [diff] [blame] | 95 | java_genrule { |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 96 | name: "launcher-quickstep-processed-protolog-src", |
| 97 | srcs: [ |
| 98 | ":protolog-impl", |
| 99 | ":launcher-quickstep-unprocessed-protolog-src", |
| 100 | ":launcher-quickstep_protolog-groups", |
| 101 | ], |
| 102 | tools: ["protologtool"], |
| 103 | cmd: "$(location protologtool) transform-protolog-calls " + |
| 104 | "--protolog-class com.android.internal.protolog.common.ProtoLog " + |
| 105 | "--loggroups-class com.android.quickstep.util.QuickstepProtoLogGroup " + |
| 106 | "--loggroups-jar $(location :launcher-quickstep_protolog-groups) " + |
| 107 | "--viewer-config-file-path /system_ext/etc/launcher.quickstep.protolog.pb " + |
| 108 | "--output-srcjar $(out) " + |
| 109 | "$(locations :launcher-quickstep-unprocessed-protolog-src)", |
| 110 | out: ["launcher.quickstep.protolog.srcjar"], |
| 111 | } |
| 112 | |
Cole Faust | cfa4fe7 | 2024-10-28 12:20:53 -0700 | [diff] [blame] | 113 | java_genrule { |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 114 | name: "gen-launcher.quickstep.protolog.pb", |
| 115 | srcs: [ |
| 116 | ":launcher-quickstep-unprocessed-protolog-src", |
| 117 | ":launcher-quickstep_protolog-groups", |
| 118 | ], |
| 119 | tools: ["protologtool"], |
| 120 | cmd: "$(location protologtool) generate-viewer-config " + |
| 121 | "--protolog-class com.android.internal.protolog.common.ProtoLog " + |
| 122 | "--loggroups-class com.android.quickstep.util.QuickstepProtoLogGroup " + |
| 123 | "--loggroups-jar $(location :launcher-quickstep_protolog-groups) " + |
| 124 | "--viewer-config-type proto " + |
| 125 | "--viewer-config $(out) " + |
| 126 | "$(locations :launcher-quickstep-unprocessed-protolog-src)", |
| 127 | out: ["launcher.quickstep.protolog.pb"], |
| 128 | } |
| 129 | |
| 130 | prebuilt_etc { |
| 131 | name: "launcher.quickstep.protolog.pb", |
| 132 | system_ext_specific: true, |
| 133 | src: ":gen-launcher.quickstep.protolog.pb", |
| 134 | filename_from_src: true, |
| 135 | } |
| 136 | |
Anushree Ganjam | 14721d1 | 2024-08-29 10:05:12 -0700 | [diff] [blame] | 137 | // Source code for quickstep dagger |
| 138 | filegroup { |
| 139 | name: "launcher-quickstep-dagger", |
| 140 | srcs: [ |
| 141 | "quickstep/dagger/**/*.java", |
| 142 | "quickstep/dagger/**/*.kt", |
| 143 | ], |
| 144 | } |
| 145 | |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 146 | // Source code for quickstep build with compose enabled, on top of launcher-src |
| 147 | filegroup { |
| 148 | name: "launcher-quickstep-compose-enabled-src", |
| 149 | srcs: [ |
| 150 | "quickstep/compose/facade/core/*.kt", |
| 151 | "quickstep/compose/facade/enabled/*.kt", |
| 152 | "quickstep/compose/features/**/*.kt", |
| 153 | ], |
| 154 | } |
| 155 | |
| 156 | filegroup { |
| 157 | name: "launcher-quickstep-compose-disabled-src", |
| 158 | srcs: [ |
| 159 | "quickstep/compose/facade/core/*.kt", |
| 160 | "quickstep/compose/facade/disabled/*.kt", |
| 161 | ], |
| 162 | } |
| 163 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 164 | // Alternate source when quickstep is not included |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 165 | filegroup { |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 166 | name: "launcher-src_no_quickstep", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 167 | srcs: [ |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 168 | "src_no_quickstep/**/*.java", |
| 169 | "src_no_quickstep/**/*.kt", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 170 | ], |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 171 | } |
| 172 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 173 | // Default build config for Launcher3 |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 174 | filegroup { |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 175 | name: "launcher-build-config", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 176 | srcs: [ |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 177 | "src_build_config/**/*.java", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 178 | ], |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 179 | } |
| 180 | |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 181 | // Proguard files for Launcher3 |
| 182 | filegroup { |
| 183 | name: "launcher-proguard-rules", |
| 184 | srcs: ["proguard.flags"], |
| 185 | } |
| 186 | |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 187 | // Opt-in configuration for Launcher3 code depending on Jetpack Compose. |
| 188 | soong_config_module_type { |
| 189 | name: "launcher_compose_java_defaults", |
| 190 | module_type: "java_defaults", |
| 191 | config_namespace: "ANDROID", |
| 192 | bool_variables: ["release_enable_compose_in_launcher"], |
| 193 | properties: [ |
| 194 | "srcs", |
| 195 | "static_libs", |
| 196 | ], |
| 197 | } |
| 198 | |
| 199 | // Opt-in configuration for Launcher Quickstep code depending on Jetpack Compose. |
| 200 | soong_config_bool_variable { |
| 201 | name: "release_enable_compose_in_launcher", |
| 202 | } |
| 203 | |
| 204 | soong_config_module_type { |
| 205 | name: "quickstep_compose_java_defaults", |
| 206 | module_type: "java_defaults", |
| 207 | config_namespace: "ANDROID", |
| 208 | bool_variables: ["release_enable_compose_in_launcher"], |
| 209 | properties: [ |
| 210 | "srcs", |
| 211 | "static_libs", |
| 212 | ], |
| 213 | } |
| 214 | |
| 215 | soong_config_module_type { |
| 216 | name: "launcher_compose_tests_java_defaults", |
| 217 | module_type: "java_defaults", |
| 218 | config_namespace: "ANDROID", |
| 219 | bool_variables: ["release_enable_compose_in_launcher"], |
| 220 | properties: [ |
| 221 | "static_libs", |
| 222 | ], |
| 223 | } |
| 224 | |
| 225 | launcher_compose_java_defaults { |
| 226 | name: "launcher_compose_defaults", |
| 227 | soong_config_variables: { |
| 228 | release_enable_compose_in_launcher: { |
| 229 | srcs: [ |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 230 | ":launcher-compose-enabled-src", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 231 | ], |
| 232 | |
| 233 | // Compose dependencies |
| 234 | static_libs: [ |
| 235 | "androidx.compose.runtime_runtime", |
| 236 | "androidx.compose.material3_material3", |
| 237 | ], |
| 238 | |
| 239 | // By default, Compose is disabled and we compile the ComposeFacade |
| 240 | // in compose/launcher3/facade/disabled/. |
| 241 | conditions_default: { |
| 242 | srcs: [ |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 243 | ":launcher-compose-disabled-src", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 244 | ], |
| 245 | static_libs: [], |
| 246 | }, |
| 247 | }, |
| 248 | }, |
| 249 | } |
| 250 | |
| 251 | quickstep_compose_java_defaults { |
| 252 | name: "quickstep_compose_defaults", |
| 253 | soong_config_variables: { |
| 254 | release_enable_compose_in_launcher: { |
| 255 | srcs: [ |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 256 | ":launcher-quickstep-compose-enabled-src", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 257 | ], |
| 258 | |
| 259 | // Compose dependencies |
| 260 | static_libs: [ |
| 261 | "androidx.compose.runtime_runtime", |
| 262 | "androidx.compose.material3_material3", |
| 263 | ], |
| 264 | |
| 265 | // By default, Compose is disabled and we compile the ComposeFacade |
| 266 | // in compose/quickstep/facade/disabled/. |
| 267 | conditions_default: { |
| 268 | srcs: [ |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 269 | ":launcher-quickstep-compose-disabled-src", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 270 | ], |
| 271 | static_libs: [], |
| 272 | }, |
| 273 | }, |
| 274 | }, |
| 275 | } |
| 276 | |
| 277 | launcher_compose_tests_java_defaults { |
| 278 | name: "launcher_compose_tests_defaults", |
| 279 | soong_config_variables: { |
| 280 | release_enable_compose_in_launcher: { |
| 281 | // Compose dependencies |
| 282 | static_libs: [ |
| 283 | "androidx.compose.runtime_runtime", |
| 284 | "androidx.compose.ui_ui-test-junit4", |
| 285 | "androidx.compose.ui_ui-test-manifest", |
| 286 | ], |
| 287 | |
| 288 | conditions_default: { |
| 289 | static_libs: [], |
| 290 | }, |
| 291 | }, |
| 292 | }, |
| 293 | } |
| 294 | |
vadimt | 09df083 | 2019-03-07 14:59:30 -0800 | [diff] [blame] | 295 | android_library { |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 296 | name: "launcher-aosp-tapl", |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 297 | libs: [ |
Jihoon Kang | 9f8e4b6 | 2024-08-30 00:29:41 +0000 | [diff] [blame] | 298 | "framework-statsd.stubs.module_lib", |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 299 | ], |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 300 | static_libs: [ |
| 301 | "androidx.annotation_annotation", |
Brett Chabot | d7d692c | 2018-10-23 21:17:58 -0700 | [diff] [blame] | 302 | "androidx.test.runner", |
| 303 | "androidx.test.rules", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 304 | "androidx.test.uiautomator_uiautomator", |
Hyunyoung Song | bb71582 | 2020-08-04 10:45:53 -0700 | [diff] [blame] | 305 | "androidx.preference_preference", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 306 | "SystemUISharedLib", |
Peter Kalauskas | 9bdb1da | 2024-04-02 15:38:57 -0700 | [diff] [blame] | 307 | "//frameworks/libs/systemui:animationlib", |
helencheuk | 39a6093 | 2024-08-05 16:11:07 +0100 | [diff] [blame] | 308 | "//frameworks/libs/systemui:contextualeducationlib", |
Nicolo' Mazzucato | e8ee34a | 2023-01-24 15:41:10 +0000 | [diff] [blame] | 309 | "launcher-testing-shared", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 310 | ], |
| 311 | srcs: [ |
Uwais Ashraf | 9c2f5a4 | 2024-03-04 09:49:39 +0000 | [diff] [blame] | 312 | "tests/tapl/**/*.java", |
| 313 | "tests/tapl/**/*.kt", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 314 | ], |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 315 | resource_dirs: [], |
Uwais Ashraf | 9c2f5a4 | 2024-03-04 09:49:39 +0000 | [diff] [blame] | 316 | manifest: "tests/tapl/AndroidManifest.xml", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 317 | platform_apis: true, |
| 318 | } |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 319 | |
| 320 | java_library_static { |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 321 | name: "launcher_log_protos_lite", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 322 | srcs: [ |
| 323 | "protos/*.proto", |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 324 | "protos_overrides/*.proto", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 325 | ], |
| 326 | sdk_version: "current", |
| 327 | proto: { |
| 328 | type: "lite", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 329 | local_include_dirs: [ |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 330 | "protos", |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 331 | "protos_overrides", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 332 | ], |
| 333 | }, |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 334 | static_libs: ["libprotobuf-java-lite"], |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 335 | } |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame] | 336 | |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 337 | java_library_static { |
| 338 | name: "launcher_quickstep_log_protos_lite", |
| 339 | srcs: [ |
| 340 | "quickstep/protos_overrides/*.proto", |
| 341 | ], |
| 342 | sdk_version: "current", |
| 343 | proto: { |
| 344 | type: "lite", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 345 | local_include_dirs: [ |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 346 | "quickstep/protos_overrides", |
| 347 | ], |
| 348 | }, |
| 349 | static_libs: [ |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 350 | "libprotobuf-java-lite", |
| 351 | "launcher_log_protos_lite", |
| 352 | ], |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 353 | } |
| 354 | |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame] | 355 | java_library { |
| 356 | name: "LauncherPluginLib", |
| 357 | |
| 358 | static_libs: ["PluginCoreLib"], |
| 359 | |
| 360 | srcs: ["src_plugins/**/*.java"], |
| 361 | |
| 362 | sdk_version: "current", |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 363 | min_sdk_version: min_launcher3_sdk_version, |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame] | 364 | } |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 365 | |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 366 | // Library with all the dependencies for building Launcher3 |
| 367 | android_library { |
| 368 | name: "Launcher3ResLib", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 369 | defaults: [ |
| 370 | "launcher_compose_defaults", |
| 371 | ], |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 372 | srcs: [], |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 373 | resource_dirs: ["res"], |
| 374 | static_libs: [ |
| 375 | "LauncherPluginLib", |
| 376 | "launcher_quickstep_log_protos_lite", |
| 377 | "androidx-constraintlayout_constraintlayout", |
| 378 | "androidx.recyclerview_recyclerview", |
| 379 | "androidx.dynamicanimation_dynamicanimation", |
| 380 | "androidx.fragment_fragment", |
| 381 | "androidx.preference_preference", |
| 382 | "androidx.slice_slice-view", |
| 383 | "androidx.cardview_cardview", |
Sebastian Franco | 9ae4032 | 2023-10-10 10:50:28 -0700 | [diff] [blame] | 384 | "androidx.window_window", |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 385 | "com.google.android.material_material", |
Peter Kalauskas | 9bdb1da | 2024-04-02 15:38:57 -0700 | [diff] [blame] | 386 | "//frameworks/libs/systemui:iconloader_base", |
| 387 | "//frameworks/libs/systemui:view_capture", |
| 388 | "//frameworks/libs/systemui:animationlib", |
helencheuk | 39a6093 | 2024-08-05 16:11:07 +0100 | [diff] [blame] | 389 | "//frameworks/libs/systemui:contextualeducationlib", |
Anna Zhuravleva | 9c20381 | 2023-11-20 18:30:35 +0000 | [diff] [blame] | 390 | "SystemUI-statsd", |
Nicolo' Mazzucato | e8ee34a | 2023-01-24 15:41:10 +0000 | [diff] [blame] | 391 | "launcher-testing-shared", |
Uwais Ashraf | 6e9927e | 2024-03-25 10:53:06 +0000 | [diff] [blame] | 392 | "androidx.lifecycle_lifecycle-common-java8", |
| 393 | "androidx.lifecycle_lifecycle-extensions", |
| 394 | "androidx.lifecycle_lifecycle-runtime-ktx", |
| 395 | "kotlinx_coroutines_android", |
| 396 | "kotlinx_coroutines", |
Anushree Ganjam | 2a14b97 | 2023-08-30 13:31:10 -0700 | [diff] [blame] | 397 | "com_android_launcher3_flags_lib", |
Jeremy Sim | 9e44e37 | 2023-10-10 14:54:39 -0700 | [diff] [blame] | 398 | "com_android_wm_shell_flags_lib", |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 399 | "dagger2", |
| 400 | "jsr330", |
George Lin | de4d745 | 2024-08-27 16:57:32 +0000 | [diff] [blame] | 401 | "com_android_systemui_shared_flags_lib", |
Nicolo' Mazzucato | e8ee34a | 2023-01-24 15:41:10 +0000 | [diff] [blame] | 402 | ], |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 403 | manifest: "AndroidManifest-common.xml", |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 404 | sdk_version: "current", |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 405 | min_sdk_version: min_launcher3_sdk_version, |
Pedro Loureiro | 1e296c1 | 2021-03-09 18:35:52 +0000 | [diff] [blame] | 406 | lint: { |
Sunny Goyal | 9d2ece1 | 2024-03-22 13:52:19 -0700 | [diff] [blame] | 407 | baseline_filename: "lint-baseline.xml", |
Pedro Loureiro | 1e296c1 | 2021-03-09 18:35:52 +0000 | [diff] [blame] | 408 | }, |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 409 | } |
| 410 | |
| 411 | // |
| 412 | // Build rule for Launcher3 app. |
| 413 | // |
| 414 | android_app { |
| 415 | name: "Launcher3", |
Jared Duke | 1222dd7 | 2024-07-12 00:01:11 +0000 | [diff] [blame] | 416 | defaults: ["launcher-non-platform-apis-defaults"], |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 417 | |
| 418 | static_libs: [ |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 419 | "Launcher3ResLib", |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 420 | ], |
| 421 | srcs: [ |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 422 | ":launcher-src", |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 423 | ":launcher-src_no_quickstep", |
| 424 | ":launcher-build-config", |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 425 | ], |
Sunny Goyal | 9d2ece1 | 2024-03-22 13:52:19 -0700 | [diff] [blame] | 426 | |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 427 | optimize: { |
Jordan Silva | 6a8d81a | 2024-07-08 13:29:48 +0000 | [diff] [blame] | 428 | proguard_flags_files: [":launcher-proguard-rules"], |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 429 | // Proguard is disable for testing. Derivarive prjects to keep proguard enabled |
| 430 | enabled: false, |
| 431 | }, |
| 432 | |
| 433 | sdk_version: "current", |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 434 | min_sdk_version: min_launcher3_sdk_version, |
| 435 | target_sdk_version: "current", |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 436 | plugins: ["dagger2-compiler"], |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 437 | privileged: true, |
| 438 | system_ext_specific: true, |
| 439 | |
| 440 | overrides: [ |
| 441 | "Home", |
| 442 | "Launcher2", |
| 443 | ], |
| 444 | required: ["privapp_whitelist_com.android.launcher3"], |
| 445 | |
| 446 | jacoco: { |
| 447 | include_filter: ["com.android.launcher3.**"], |
| 448 | }, |
| 449 | additional_manifests: [ |
| 450 | "AndroidManifest-common.xml", |
| 451 | ], |
Pedro Loureiro | 1e296c1 | 2021-03-09 18:35:52 +0000 | [diff] [blame] | 452 | lint: { |
Cole Faust | c778a67 | 2024-01-10 12:30:39 -0800 | [diff] [blame] | 453 | baseline_filename: "lint-baseline.xml", |
Pedro Loureiro | 1e296c1 | 2021-03-09 18:35:52 +0000 | [diff] [blame] | 454 | }, |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 455 | } |
| 456 | |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 457 | // Library with all the dependencies for building quickstep |
| 458 | android_library { |
| 459 | name: "QuickstepResLib", |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 460 | srcs: [], |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 461 | resource_dirs: [ |
| 462 | "quickstep/res", |
Hyunyoung Song | 5a007fe | 2021-02-25 00:58:05 -0800 | [diff] [blame] | 463 | ], |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 464 | libs: [ |
Jihoon Kang | 9f8e4b6 | 2024-08-30 00:29:41 +0000 | [diff] [blame] | 465 | "framework-statsd.stubs.module_lib", |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 466 | ], |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 467 | static_libs: [ |
| 468 | "Launcher3ResLib", |
Schneider Victor-tulias | d0865f8 | 2021-11-09 13:19:21 -0800 | [diff] [blame] | 469 | "lottie", |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 470 | "SystemUISharedLib", |
Jagrut Desai | fae321c | 2023-10-30 20:30:39 +0000 | [diff] [blame] | 471 | "SettingsLibSettingsTheme", |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 472 | "dagger2", |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 473 | "protolog-group", |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 474 | ], |
| 475 | manifest: "quickstep/AndroidManifest.xml", |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 476 | min_sdk_version: "current", |
Sunny Goyal | f5c42ea | 2021-03-12 16:00:40 -0800 | [diff] [blame] | 477 | } |
| 478 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 479 | // Library with all the source code and dependencies for building Launcher Go |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 480 | android_library { |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 481 | name: "Launcher3GoLib", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 482 | defaults: [ |
| 483 | "launcher_compose_defaults", |
| 484 | "quickstep_compose_defaults", |
| 485 | ], |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 486 | srcs: [ |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 487 | ":launcher-src", |
| 488 | ":launcher-quickstep-src", |
Anushree Ganjam | 14721d1 | 2024-08-29 10:05:12 -0700 | [diff] [blame] | 489 | ":launcher-quickstep-dagger", |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 490 | "go/quickstep/src/**/*.java", |
| 491 | "go/quickstep/src/**/*.kt", |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 492 | ], |
| 493 | resource_dirs: [ |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 494 | "go/quickstep/res", |
| 495 | ], |
Ben Murdoch | fabc873 | 2021-12-02 18:22:17 +0000 | [diff] [blame] | 496 | // Note the ordering here is important when it comes to resource |
| 497 | // overriding. We want the most specific resource overrides defined |
| 498 | // in QuickstepResLib to take precendece, so it should be the final |
| 499 | // dependency. See b/205278434 for how this can go wrong. |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 500 | static_libs: [ |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 501 | "QuickstepResLib", |
Jon Spivack | 89c21c7 | 2021-08-13 13:18:24 -0700 | [diff] [blame] | 502 | "androidx.room_room-runtime", |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 503 | ], |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 504 | plugins: [ |
| 505 | "androidx.room_room-compiler-plugin", |
| 506 | "dagger2-compiler", |
| 507 | ], |
Arvind Kumar | 384a0ed | 2023-07-07 09:41:29 +0530 | [diff] [blame] | 508 | manifest: "quickstep/AndroidManifest.xml", |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 509 | additional_manifests: [ |
| 510 | "go/AndroidManifest.xml", |
| 511 | "AndroidManifest-common.xml", |
| 512 | ], |
Sunny Goyal | 1fb271f | 2021-05-20 10:43:23 -0700 | [diff] [blame] | 513 | min_sdk_version: "current", |
Colin Cross | f156b6b | 2024-01-11 14:03:12 -0800 | [diff] [blame] | 514 | // TODO(b/319712088): re-enable use_resource_processor |
| 515 | use_resource_processor: false, |
Jon Spivack | a65d68b | 2021-04-07 10:22:25 -0700 | [diff] [blame] | 516 | } |
| 517 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 518 | // Library with all the source code and dependencies for building Quickstep |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 519 | android_library { |
| 520 | name: "Launcher3QuickStepLib", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 521 | defaults: [ |
| 522 | "launcher_compose_defaults", |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 523 | "quickstep_compose_defaults", |
Jordan Silva | 4afa195 | 2024-08-06 16:54:59 +0100 | [diff] [blame] | 524 | ], |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 525 | srcs: [ |
Thales Lima | 2c54bbf | 2022-07-12 15:45:10 +0000 | [diff] [blame] | 526 | ":launcher-src", |
| 527 | ":launcher-quickstep-src", |
Anushree Ganjam | 14721d1 | 2024-08-29 10:05:12 -0700 | [diff] [blame] | 528 | ":launcher-quickstep-dagger", |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 529 | ":launcher-build-config", |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 530 | ], |
Thales Lima | c335ad2 | 2021-11-08 15:31:49 +0000 | [diff] [blame] | 531 | resource_dirs: [], |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 532 | libs: [ |
Jihoon Kang | 9f8e4b6 | 2024-08-30 00:29:41 +0000 | [diff] [blame] | 533 | "framework-statsd.stubs.module_lib", |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 534 | ], |
Ben Murdoch | fabc873 | 2021-12-02 18:22:17 +0000 | [diff] [blame] | 535 | // Note the ordering here is important when it comes to resource |
| 536 | // overriding. We want the most specific resource overrides defined |
| 537 | // in QuickstepResLib to take precendece, so it should be the final |
| 538 | // dependency. See b/208647810 for how this can go wrong. |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 539 | static_libs: [ |
| 540 | "SystemUI-statsd", |
Ben Murdoch | fabc873 | 2021-12-02 18:22:17 +0000 | [diff] [blame] | 541 | "QuickstepResLib", |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 542 | ], |
| 543 | manifest: "quickstep/AndroidManifest.xml", |
| 544 | platform_apis: true, |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 545 | plugins: ["dagger2-compiler"], |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 546 | min_sdk_version: "current", |
Colin Cross | f156b6b | 2024-01-11 14:03:12 -0800 | [diff] [blame] | 547 | // TODO(b/319712088): re-enable use_resource_processor |
| 548 | use_resource_processor: false, |
Sunny Goyal | 4af8cf9 | 2021-07-29 15:48:24 -0700 | [diff] [blame] | 549 | } |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 550 | |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 551 | // Build rule for Quickstep app. |
| 552 | android_app { |
| 553 | name: "Launcher3QuickStep", |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 554 | static_libs: ["Launcher3QuickStepLib"], |
| 555 | optimize: { |
Jordan Silva | 6a8d81a | 2024-07-08 13:29:48 +0000 | [diff] [blame] | 556 | proguard_flags_files: [":launcher-proguard-rules"], |
| 557 | enabled: true, |
| 558 | shrink_resources: true, |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 559 | }, |
| 560 | |
| 561 | platform_apis: true, |
| 562 | min_sdk_version: "current", |
| 563 | target_sdk_version: "current", |
| 564 | |
| 565 | privileged: true, |
| 566 | system_ext_specific: true, |
| 567 | overrides: [ |
| 568 | "Home", |
| 569 | "Launcher2", |
| 570 | "Launcher3", |
| 571 | ], |
Schneider Victor-Tulias | 00b6996 | 2024-09-23 13:34:25 -0400 | [diff] [blame] | 572 | required: [ |
| 573 | "privapp_whitelist_com.android.launcher3", |
| 574 | "launcher.quickstep.protolog.pb", |
| 575 | ], |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 576 | |
| 577 | resource_dirs: ["quickstep/res"], |
| 578 | |
| 579 | additional_manifests: [ |
| 580 | "quickstep/AndroidManifest-launcher.xml", |
| 581 | "AndroidManifest-common.xml", |
| 582 | ], |
| 583 | |
| 584 | manifest: "quickstep/AndroidManifest.xml", |
| 585 | jacoco: { |
| 586 | include_filter: ["com.android.launcher3.*"], |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 587 | }, |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 588 | |
| 589 | } |
| 590 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 591 | // Build rule for Launcher3 Go app with quickstep for Android Go devices. |
| 592 | // Note that the following two rules are exactly same, and should |
| 593 | // eventually be merged into a single target |
| 594 | android_app { |
| 595 | name: "Launcher3Go", |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 596 | static_libs: ["Launcher3GoLib"], |
Sunny Goyal | 3b452f5 | 2024-04-12 19:16:19 +0000 | [diff] [blame] | 597 | resource_dirs: [], |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 598 | |
| 599 | platform_apis: true, |
| 600 | min_sdk_version: "current", |
| 601 | target_sdk_version: "current", |
| 602 | |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 603 | optimize: { |
| 604 | proguard_flags_files: ["proguard.flags"], |
| 605 | enabled: true, |
Jordan Silva | 6a8d81a | 2024-07-08 13:29:48 +0000 | [diff] [blame] | 606 | shrink_resources: true, |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 607 | }, |
| 608 | |
| 609 | privileged: true, |
| 610 | system_ext_specific: true, |
| 611 | overrides: [ |
| 612 | "Home", |
| 613 | "Launcher2", |
| 614 | "Launcher3", |
| 615 | "Launcher3QuickStep", |
| 616 | ], |
| 617 | required: ["privapp_whitelist_com.android.launcher3"], |
| 618 | |
| 619 | additional_manifests: [ |
| 620 | "go/AndroidManifest.xml", |
| 621 | "go/AndroidManifest-launcher.xml", |
| 622 | "AndroidManifest-common.xml", |
| 623 | ], |
| 624 | |
| 625 | manifest: "quickstep/AndroidManifest.xml", |
| 626 | jacoco: { |
| 627 | include_filter: ["com.android.launcher3.*"], |
Cole Faust | bad33e6 | 2023-12-20 11:57:04 -0800 | [diff] [blame] | 628 | }, |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 629 | } |
Anushree Ganjam | bd86331 | 2024-08-23 17:15:30 -0700 | [diff] [blame] | 630 | |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 631 | android_app { |
| 632 | name: "Launcher3QuickStepGo", |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 633 | static_libs: ["Launcher3GoLib"], |
Sunny Goyal | 3b452f5 | 2024-04-12 19:16:19 +0000 | [diff] [blame] | 634 | resource_dirs: [], |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 635 | |
| 636 | platform_apis: true, |
| 637 | min_sdk_version: "current", |
| 638 | target_sdk_version: "current", |
| 639 | |
| 640 | optimize: { |
| 641 | proguard_flags_files: ["proguard.flags"], |
| 642 | enabled: true, |
Jordan Silva | 6a8d81a | 2024-07-08 13:29:48 +0000 | [diff] [blame] | 643 | shrink_resources: true, |
Sunny Goyal | 77954ba | 2024-03-25 11:53:17 -0700 | [diff] [blame] | 644 | }, |
| 645 | |
| 646 | privileged: true, |
| 647 | system_ext_specific: true, |
| 648 | overrides: [ |
| 649 | "Home", |
| 650 | "Launcher2", |
| 651 | "Launcher3", |
| 652 | "Launcher3QuickStep", |
| 653 | ], |
| 654 | required: ["privapp_whitelist_com.android.launcher3"], |
| 655 | |
| 656 | additional_manifests: [ |
| 657 | "go/AndroidManifest.xml", |
| 658 | "go/AndroidManifest-launcher.xml", |
| 659 | "AndroidManifest-common.xml", |
| 660 | ], |
| 661 | |
| 662 | manifest: "quickstep/AndroidManifest.xml", |
| 663 | jacoco: { |
| 664 | include_filter: ["com.android.launcher3.*"], |
| 665 | }, |
Thales Lima | 813834a | 2022-05-18 15:29:59 +0000 | [diff] [blame] | 666 | } |