Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 17 | package { |
Aditya Choudhary | b426227 | 2024-01-31 11:09:29 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_", |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 19 | default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"], |
| 20 | } |
| 21 | |
| 22 | // Added automatically by a large-scale-change |
| 23 | // See: http://go/android-license-faq |
| 24 | license { |
| 25 | name: "frameworks_base_packages_SystemUI_license", |
| 26 | visibility: [":__subpackages__"], |
| 27 | license_kinds: [ |
| 28 | "SPDX-license-identifier-Apache-2.0", |
| 29 | ], |
| 30 | license_text: [ |
| 31 | "NOTICE", |
| 32 | ], |
| 33 | } |
| 34 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 35 | java_library { |
| 36 | name: "SystemUI-proto", |
| 37 | |
| 38 | srcs: ["src/**/*.proto"], |
| 39 | |
| 40 | proto: { |
| 41 | type: "nano", |
| 42 | }, |
Winson Chung | eb1aa3d | 2020-08-25 19:02:29 -0700 | [diff] [blame] | 43 | |
| 44 | libs: [ |
| 45 | "WindowManager-Shell-proto", |
| 46 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | java_library { |
| 50 | name: "SystemUI-tags", |
| 51 | srcs: ["src/com/android/systemui/EventLogTags.logtags"], |
| 52 | } |
| 53 | |
Jay Aliomer | 97d4fc7d | 2021-09-23 16:59:09 -0400 | [diff] [blame] | 54 | filegroup { |
| 55 | name: "ReleaseJavaFiles", |
Jeff DeCew | 86b8e77 | 2021-10-25 20:35:45 -0400 | [diff] [blame] | 56 | srcs: [ |
| 57 | "src-release/**/*.kt", |
| 58 | "src-release/**/*.java", |
| 59 | ], |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 60 | visibility: ["//visibility:private"], |
Jay Aliomer | 97d4fc7d | 2021-09-23 16:59:09 -0400 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | filegroup { |
| 64 | name: "DebugJavaFiles", |
Jeff DeCew | 86b8e77 | 2021-10-25 20:35:45 -0400 | [diff] [blame] | 65 | srcs: [ |
| 66 | "src-debug/**/*.kt", |
| 67 | "src-debug/**/*.java", |
| 68 | ], |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 69 | visibility: ["//visibility:private"], |
Jay Aliomer | 97d4fc7d | 2021-09-23 16:59:09 -0400 | [diff] [blame] | 70 | } |
| 71 | |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 72 | filegroup { |
| 73 | name: "SystemUI-tests-robofiles", |
| 74 | srcs: [ |
| 75 | "tests/src/**/*.kt", |
| 76 | "tests/src/**/*.java", |
| 77 | ], |
| 78 | visibility: ["//visibility:private"], |
| 79 | } |
| 80 | |
Matthew Reynolds | d0ef286 | 2024-06-07 20:09:39 +0000 | [diff] [blame^] | 81 | // Tests where robolectric conversion caused errors in SystemUITests at runtime |
| 82 | filegroup { |
| 83 | name: "SystemUI-tests-broken-robofiles-sysui-run", |
| 84 | srcs: [ |
| 85 | "tests/src/**/systemui/broadcast/BroadcastDispatcherTest.kt", |
| 86 | "tests/src/**/systemui/broadcast/ActionReceiverTest.kt", |
| 87 | "tests/src/**/systemui/doze/DozeMachineTest.java", |
| 88 | "tests/src/**/systemui/globalactions/GlobalActionsDialogLiteTest.java", |
| 89 | "tests/src/**/systemui/globalactions/GlobalActionsImeTest.java", |
| 90 | "tests/src/**/systemui/keyguard/data/repository/KeyguardTransitionRepositoryTest.kt", |
| 91 | "tests/src/**/systemui/media/controls/domain/pipeline/LegacyMediaDataManagerImplTest.kt", |
| 92 | "tests/src/**/systemui/media/controls/domain/pipeline/MediaDataProcessorTest.kt", |
| 93 | "tests/src/**/systemui/media/dialog/MediaOutputAdapterTest.java", |
| 94 | "tests/src/**/systemui/media/dialog/MediaOutputBaseDialogTest.java", |
| 95 | "tests/src/**/systemui/media/dialog/MediaOutputBroadcastDialogTest.java", |
| 96 | "tests/src/**/systemui/media/dialog/MediaOutputDialogTest.java", |
| 97 | "tests/src/**/systemui/mediaprojection/permission/MediaProjectionPermissionDialogDelegateTest.kt", |
| 98 | ], |
| 99 | } |
| 100 | |
Matthew Reynolds | 25a1993 | 2024-05-31 19:44:38 +0000 | [diff] [blame] | 101 | // Tests where robolectric failed at runtime. (go/multivalent-tests) |
Matthew Reynolds | 4265fe6 | 2024-05-03 16:41:56 +0000 | [diff] [blame] | 102 | filegroup { |
| 103 | name: "SystemUI-tests-broken-robofiles-run", |
| 104 | srcs: [ |
Matthew Reynolds | d0ef286 | 2024-06-07 20:09:39 +0000 | [diff] [blame^] | 105 | "tests/src/**/systemui/accessibility/AccessibilityButtonModeObserverTest.java", |
| 106 | "tests/src/**/systemui/accessibility/AccessibilityButtonTargetsObserverTest.java", |
| 107 | "tests/src/**/systemui/accessibility/FullscreenMagnificationControllerTest.java", |
| 108 | "tests/src/**/systemui/accessibility/WindowMagnificationAnimationControllerTest.java", |
| 109 | "tests/src/**/systemui/animation/FontInterpolatorTest.kt", |
| 110 | "tests/src/**/systemui/animation/TextAnimatorTest.kt", |
| 111 | "tests/src/**/systemui/animation/TextInterpolatorTest.kt", |
| 112 | "tests/src/**/systemui/animation/ActivityTransitionAnimatorTest.kt", |
| 113 | "tests/src/**/systemui/animation/AnimatorTestRuleOrderTest.kt", |
| 114 | "tests/src/**/systemui/animation/DialogTransitionAnimatorTest.kt", |
| 115 | "tests/src/**/systemui/broadcast/ActionReceiverTest.kt", |
| 116 | "tests/src/**/systemui/broadcast/BroadcastDispatcherTest.kt", |
| 117 | "tests/src/**/systemui/compose/ComposeInitializerTest.kt", |
| 118 | "tests/src/**/systemui/controls/ui/ControlsActivityTest.kt", |
| 119 | "tests/src/**/systemui/controls/management/ControlsEditingActivityTest.kt", |
| 120 | "tests/src/**/systemui/controls/management/ControlsRequestDialogTest.kt", |
| 121 | "tests/src/**/systemui/controls/ui/DetailDialogTest.kt", |
| 122 | "tests/src/**/systemui/doze/DozeMachineTest.kt", |
| 123 | "tests/src/**/systemui/fontscaling/FontScalingDialogDelegateTest.kt", |
| 124 | "tests/src/**/systemui/keyguard/CustomizationProviderTest.kt", |
Matthew Reynolds | ea1d748 | 2024-05-30 01:04:18 +0000 | [diff] [blame] | 125 | "tests/src/**/systemui/globalactions/GlobalActionsColumnLayoutTest.java", |
| 126 | "tests/src/**/systemui/globalactions/GlobalActionsDialogLiteTest.java", |
| 127 | "tests/src/**/systemui/globalactions/GlobalActionsImeTest.java", |
| 128 | "tests/src/**/systemui/graphics/ImageLoaderTest.kt", |
Matthew Reynolds | 25a1993 | 2024-05-31 19:44:38 +0000 | [diff] [blame] | 129 | "tests/src/**/systemui/keyguard/CustomizationProviderTest.kt", |
Matthew Reynolds | ea1d748 | 2024-05-30 01:04:18 +0000 | [diff] [blame] | 130 | "tests/src/**/systemui/keyguard/KeyguardViewMediatorTest.java", |
| 131 | "tests/src/**/systemui/keyguard/LifecycleTest.java", |
| 132 | "tests/src/**/systemui/keyguard/data/repository/KeyguardTransitionRepositoryTest.kt", |
| 133 | "tests/src/**/systemui/keyguard/ui/view/layout/sections/ClockSectionTest.kt", |
| 134 | "tests/src/**/systemui/keyguard/data/repository/KeyguardBlueprintRepositoryTest.kt", |
| 135 | "tests/src/**/systemui/keyguard/ui/viewmodel/KeyguardSmartspaceViewModelTest.kt", |
| 136 | "tests/src/**/systemui/lifecycle/RepeatWhenAttachedTest.kt", |
| 137 | "tests/src/**/systemui/log/LogBufferTest.kt", |
| 138 | "tests/src/**/systemui/media/dialog/MediaOutputBaseDialogTest.java", |
| 139 | "tests/src/**/systemui/media/dialog/MediaOutputBroadcastDialogTest.java", |
| 140 | "tests/src/**/systemui/media/dialog/MediaOutputDialogTest.java", |
| 141 | "tests/src/**/systemui/media/controls/domain/resume/MediaResumeListenerTest.kt", |
| 142 | "tests/src/**/systemui/mediaprojection/taskswitcher/ui/TaskSwitcherNotificationCoordinatorTest.kt", |
Matthew Reynolds | 25a1993 | 2024-05-31 19:44:38 +0000 | [diff] [blame] | 143 | "tests/src/**/systemui/navigationbar/NavigationBarButtonTest.java", |
| 144 | "tests/src/**/systemui/people/PeopleProviderTest.java", |
| 145 | "tests/src/**/systemui/people/PeopleSpaceUtilsTest.java", |
| 146 | "tests/src/**/systemui/people/widget/PeopleSpaceWidgetManagerTest.java", |
| 147 | "tests/src/**/systemui/people/PeopleTileViewHelperTest.java", |
| 148 | "tests/src/**/systemui/power/data/repository/PowerRepositoryImplTest.kt", |
| 149 | "tests/src/**/systemui/privacy/PrivacyConfigFlagsTest.kt", |
| 150 | "tests/src/**/systemui/privacy/PrivacyDialogV2Test.kt", |
| 151 | "tests/src/**/systemui/qs/external/TileRequestDialogEventLoggerTest.kt", |
| 152 | "tests/src/**/systemui/qs/AutoAddTrackerTest.kt", |
| 153 | "tests/src/**/systemui/qs/external/TileRequestDialogEventLoggerTest.kt", |
| 154 | "tests/src/**/systemui/qs/tiles/DndTileTest.kt", |
| 155 | "tests/src/**/systemui/qs/tiles/DreamTileTest.java", |
| 156 | "tests/src/**/systemui/qs/FgsManagerControllerTest.java", |
| 157 | "tests/src/**/systemui/qs/QSPanelTest.kt", |
| 158 | "tests/src/**/systemui/reardisplay/RearDisplayDialogControllerTest.java", |
Matthew Reynolds | 2c81f3d | 2024-05-15 22:13:07 +0000 | [diff] [blame] | 159 | "tests/src/**/systemui/statusbar/KeyboardShortcutListSearchTest.java", |
| 160 | "tests/src/**/systemui/statusbar/KeyboardShortcutsTest.java", |
| 161 | "tests/src/**/systemui/statusbar/KeyguardIndicationControllerWithCoroutinesTest.kt", |
| 162 | "tests/src/**/systemui/statusbar/notification/AssistantFeedbackControllerTest.java", |
| 163 | "tests/src/**/systemui/statusbar/notification/collection/NotifCollectionTest.java", |
| 164 | "tests/src/**/systemui/statusbar/notification/collection/NotificationEntryTest.java", |
| 165 | "tests/src/**/systemui/statusbar/notification/collection/render/GroupExpansionManagerTest.kt", |
| 166 | "tests/src/**/systemui/statusbar/notification/collection/ShadeListBuilderTest.java", |
| 167 | "tests/src/**/systemui/statusbar/notification/footer/ui/view/FooterViewTest.java", |
| 168 | "tests/src/**/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderImplTest.java", |
| 169 | "tests/src/**/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderWrapperTest.kt", |
| 170 | "tests/src/**/systemui/statusbar/notification/interruption/VisualInterruptionDecisionProviderImplTest.kt", |
| 171 | "tests/src/**/systemui/statusbar/NotificationLockscreenUserManagerTest.java", |
| 172 | "tests/src/**/systemui/statusbar/notification/logging/NotificationLoggerTest.java", |
| 173 | "tests/src/**/systemui/statusbar/notification/row/ExpandableNotificationRowTest.java", |
| 174 | "tests/src/**/systemui/statusbar/notification/row/NotificationContentInflaterTest.java", |
| 175 | "tests/src/**/systemui/statusbar/notification/row/NotificationContentViewTest.kt", |
| 176 | "tests/src/**/systemui/statusbar/notification/row/NotificationConversationInfoTest.java", |
| 177 | "tests/src/**/systemui/statusbar/notification/row/NotificationGutsManagerTest.java", |
| 178 | "tests/src/**/systemui/statusbar/notification/row/NotificationGutsManagerWithScenesTest.kt", |
| 179 | "tests/src/**/systemui/statusbar/notification/row/NotifLayoutInflaterFactoryTest.kt", |
| 180 | "tests/src/**/systemui/statusbar/notification/row/wrapper/NotificationTemplateViewWrapperTest.kt", |
| 181 | "tests/src/**/systemui/statusbar/notification/stack/NotificationSectionsManagerTest.java", |
| 182 | "tests/src/**/systemui/statusbar/notification/stack/NotificationStackScrollLayoutTest.java", |
| 183 | "tests/src/**/systemui/statusbar/notification/stack/ui/viewmodel/SharedNotificationContainerViewModelTest.kt", |
| 184 | "tests/src/**/systemui/statusbar/phone/AutoTileManagerTest.java", |
| 185 | "tests/src/**/systemui/statusbar/phone/CentralSurfacesImplTest.java", |
| 186 | "tests/src/**/systemui/statusbar/phone/fragment/CollapsedStatusBarFragmentTest.java", |
| 187 | "tests/src/**/systemui/statusbar/phone/PhoneStatusBarTransitionsTest.kt", |
| 188 | "tests/src/**/systemui/statusbar/phone/PhoneStatusBarViewControllerTest.kt", |
| 189 | "tests/src/**/systemui/statusbar/phone/PhoneStatusBarView.java", |
| 190 | "tests/src/**/systemui/statusbar/phone/PhoneStatusBarViewTest.kt", |
| 191 | "tests/src/**/systemui/statusbar/phone/StatusBarBoundsProviderTest.kt", |
| 192 | "tests/src/**/systemui/statusbar/phone/StatusBarMoveFromCenterAnimationControllerTest.kt", |
| 193 | "tests/src/**/systemui/statusbar/pipeline/airplane/ui/viewmodel/AirplaneModeViewModelImplTest.kt", |
| 194 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/prod/MobileConnectionsRepositoryTest.kt", |
| 195 | "tests/src/**/systemui/statusbar/pipeline/mobile/ui/view/ModernStatusBarMobileViewTest.kt", |
| 196 | "tests/src/**/systemui/statusbar/pipeline/wifi/data/repository/prod/WifiRepositoryImplTest.kt", |
| 197 | "tests/src/**/systemui/statusbar/pipeline/wifi/ui/view/ModernStatusBarWifiViewTest.kt", |
| 198 | "tests/src/**/systemui/statusbar/policy/CallbackControllerTest.java", |
| 199 | "tests/src/**/systemui/statusbar/policy/DeviceStateRotationLockSettingControllerTest.java", |
| 200 | "tests/src/**/systemui/statusbar/policy/InflatedSmartRepliesTest.java", |
| 201 | "tests/src/**/systemui/statusbar/policy/LocationControllerImplTest.java", |
| 202 | "tests/src/**/systemui/statusbar/policy/RemoteInputViewTest.java", |
| 203 | "tests/src/**/systemui/statusbar/policy/SmartReplyViewTest.java", |
| 204 | "tests/src/**/systemui/statusbar/StatusBarStateControllerImplTest.kt", |
Matthew Reynolds | 25a1993 | 2024-05-31 19:44:38 +0000 | [diff] [blame] | 205 | "tests/src/**/systemui/theme/ThemeOverlayApplierTest.java", |
| 206 | "tests/src/**/systemui/touch/TouchInsetManagerTest.java", |
| 207 | "tests/src/**/systemui/util/LifecycleFragmentTest.java", |
| 208 | "tests/src/**/systemui/util/TestableAlertDialogTest.kt", |
| 209 | "tests/src/**/systemui/util/kotlin/PairwiseFlowTest", |
| 210 | "tests/src/**/systemui/util/sensors/AsyncManagerTest.java", |
| 211 | "tests/src/**/systemui/util/sensors/ThresholdSensorImplTest.java", |
| 212 | "tests/src/**/systemui/util/wakelock/KeepAwakeAnimationListenerTest.java", |
| 213 | "tests/src/**/systemui/volume/VolumeDialogImplTest.java", |
| 214 | "tests/src/**/systemui/wallet/controller/QuickAccessWalletControllerTest.java", |
| 215 | "tests/src/**/systemui/wallet/ui/WalletScreenControllerTest.java", |
Matthew Reynolds | 4265fe6 | 2024-05-03 16:41:56 +0000 | [diff] [blame] | 216 | ], |
| 217 | } |
| 218 | |
Matthew Reynolds | d0ef286 | 2024-06-07 20:09:39 +0000 | [diff] [blame^] | 219 | // Tests where robolectric failed at compile time. (go/multivalent-tests) |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 220 | filegroup { |
Matthew Reynolds | 4265fe6 | 2024-05-03 16:41:56 +0000 | [diff] [blame] | 221 | name: "SystemUI-tests-broken-robofiles-compile", |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 222 | srcs: [ |
| 223 | "tests/src/**/*DeviceOnlyTest.java", |
| 224 | "tests/src/**/*DeviceOnlyTest.kt", |
| 225 | "tests/src/**/systemui/media/taptotransfer/receiver/MediaTttChipControllerReceiverTest.kt", |
| 226 | "tests/src/**/systemui/accessibility/data/repository/AccessibilityQsShortcutsRepositoryImplForDeviceTest.kt", |
| 227 | "tests/src/**/systemui/biometrics/AuthDialogPanelInteractionDetectorTest.kt", |
| 228 | "tests/src/**/systemui/controls/management/ControlsFavoritingActivityTest.kt", |
| 229 | "tests/src/**/systemui/controls/management/ControlsProviderSelectorActivityTest.kt", |
| 230 | "tests/src/**/systemui/controls/start/ControlsStartableTest.kt", |
| 231 | "tests/src/**/systemui/haptics/slider/SliderStateTrackerTest.kt", |
| 232 | "tests/src/**/systemui/keyboard/stickykeys/ui/StickyKeysIndicatorCoordinatorTest.kt", |
| 233 | "tests/src/**/systemui/keyboard/stickykeys/ui/viewmodel/StickyKeysIndicatorViewModelTest.kt", |
| 234 | "tests/src/**/systemui/keyguard/data/quickaffordance/MuteQuickAffordanceCoreStartableTest.kt", |
| 235 | "tests/src/**/systemui/keyguard/domain/interactor/KeyguardQuickAffordanceInteractorParameterizedTest.kt", |
| 236 | "tests/src/**/systemui/keyguard/domain/interactor/KeyguardQuickAffordanceInteractorSceneContainerTest.kt", |
| 237 | "tests/src/**/systemui/keyguard/ResourceTrimmerTest.kt", |
| 238 | "tests/src/**/systemui/keyguard/ui/viewmodel/KeyguardBottomAreaViewModelTest.kt", |
| 239 | "tests/src/**/systemui/keyguard/ui/viewmodel/KeyguardQuickAffordancesCombinedViewModelTest.kt", |
| 240 | "tests/src/**/systemui/media/controls/domain/pipeline/MediaTimeoutListenerTest.kt", |
| 241 | "tests/src/**/systemui/media/controls/ui/controller/MediaHierarchyManagerTest.kt", |
| 242 | "tests/src/**/systemui/mediaprojection/taskswitcher/MediaProjectionTaskSwitcherCoreStartableTest.kt", |
| 243 | "tests/src/**/systemui/media/taptotransfer/receiver/FakeMediaTttChipControllerReceiver.kt", |
| 244 | "tests/src/**/systemui/qs/tileimpl/QSTileViewImplTest.kt", |
| 245 | "tests/src/**/systemui/qs/tiles/DeviceControlsTileTest.kt", |
| 246 | "tests/src/**/systemui/screenshot/ActionExecutorTest.kt", |
| 247 | "tests/src/**/systemui/screenshot/ActionIntentCreatorTest.kt", |
| 248 | "tests/src/**/systemui/screenshot/DefaultScreenshotActionsProviderTest.kt", |
| 249 | "tests/src/**/systemui/screenshot/TakeScreenshotServiceTest.kt", |
| 250 | "tests/src/**/systemui/statusbar/commandline/CommandRegistryTest.kt", |
| 251 | "tests/src/**/systemui/statusbar/notification/collection/TargetSdkResolverTest.kt", |
| 252 | "tests/src/**/systemui/statusbar/notification/icon/IconManagerTest.kt", |
| 253 | "tests/src/**/systemui/statusbar/notification/row/BigPictureIconManagerTest.kt", |
| 254 | "tests/src/**/systemui/statusbar/notification/row/NotificationSettingsControllerTest.kt", |
| 255 | "tests/src/**/systemui/statusbar/notification/stack/ui/view/NotificationStatsLoggerTest.kt", |
| 256 | "tests/src/**/systemui/statusbar/pipeline/satellite/data/prod/DeviceBasedSatelliteRepositoryImplTest.kt", |
| 257 | "tests/src/**/systemui/statusbar/policy/BatteryStateNotifierTest.kt", |
| 258 | "tests/src/**/systemui/statusbar/policy/FlashlightControllerImplTest.kt", |
| 259 | "tests/src/**/systemui/statusbar/policy/SensitiveNotificationProtectionControllerFlagDisabledTest.kt", |
| 260 | "tests/src/**/systemui/stylus/StylusUsiPowerStartableTest.kt", |
| 261 | "tests/src/**/systemui/temporarydisplay/TemporaryViewDisplayControllerTest.kt", |
| 262 | "tests/src/**/keyguard/ClockEventControllerTest.kt", |
| 263 | "tests/src/**/keyguard/LegacyLockIconViewControllerWithCoroutinesTest.kt", |
| 264 | "tests/src/**/keyguard/LegacyLockIconViewControllerBaseTest.kt", |
| 265 | "tests/src/**/keyguard/LegacyLockIconViewControllerTest.java", |
| 266 | "tests/src/**/systemui/animation/TransitionAnimatorTest.kt", |
| 267 | "tests/src/**/systemui/bluetooth/qsdialog/BluetoothAutoOnRepositoryTest.kt", |
| 268 | "tests/src/**/systemui/bluetooth/qsdialog/BluetoothStateInteractorTest.kt", |
| 269 | "tests/src/**/systemui/bluetooth/qsdialog/BluetoothTileDialogDelegateTest.kt", |
| 270 | "tests/src/**/systemui/bluetooth/qsdialog/BluetoothTileDialogRepositoryTest.kt", |
| 271 | "tests/src/**/systemui/bluetooth/qsdialog/BluetoothTileDialogViewModelTest.kt", |
| 272 | "tests/src/**/systemui/bluetooth/qsdialog/DeviceItemFactoryTest.kt", |
| 273 | "tests/src/**/systemui/bluetooth/qsdialog/DeviceItemInteractorTest.kt", |
Mike Schneider | c776b93 | 2024-04-24 13:29:43 +0200 | [diff] [blame] | 274 | // TODO(b/322324387): Fails to start due to missing ScreenshotActivity |
| 275 | "tests/src/**/systemui/bouncer/ui/composable/BouncerContentTest.kt", |
| 276 | "tests/src/**/systemui/bouncer/ui/composable/PatternBouncerTest.kt", |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 277 | "tests/src/**/systemui/broadcast/UserBroadcastDispatcherTest.kt", |
| 278 | "tests/src/**/systemui/charging/WiredChargingRippleControllerTest.kt", |
| 279 | "tests/src/**/systemui/clipboardoverlay/ClipboardModelTest.kt", |
| 280 | "tests/src/**/systemui/controls/controller/AuxiliaryPersistenceWrapperTest.kt", |
| 281 | "tests/src/**/systemui/controls/controller/ControlsBindingControllerImplTest.kt", |
| 282 | "tests/src/**/systemui/controls/controller/ControlsControllerImplTest.kt", |
| 283 | "tests/src/**/systemui/controls/controller/DeletionJobServiceTest.kt", |
| 284 | "tests/src/**/systemui/controls/settings/ControlsSettingsDialogManagerImplTest.kt", |
| 285 | "tests/src/**/systemui/controls/ui/ControlsUiControllerImplTest.kt", |
| 286 | "tests/src/**/systemui/controls/ui/ControlViewHolderTest.kt", |
| 287 | "tests/src/**/systemui/controls/ui/SelectionItemTest.kt", |
| 288 | "tests/src/**/systemui/keyguard/ui/view/layout/sections/DefaultDeviceEntrySectionTest.kt", |
| 289 | "tests/src/**/systemui/media/controls/domain/pipeline/LegacyMediaDataFilterImplTest.kt", |
| 290 | "tests/src/**/systemui/media/controls/domain/pipeline/LegacyMediaDataManagerImplTest.kt", |
| 291 | "tests/src/**/systemui/media/controls/domain/pipeline/MediaDataFilterImplTest.kt", |
| 292 | "tests/src/**/systemui/media/controls/ui/animation/AnimationBindHandlerTest.kt", |
| 293 | "tests/src/**/systemui/media/controls/ui/animation/ColorSchemeTransitionTest.kt", |
| 294 | "tests/src/**/systemui/media/controls/ui/animation/MetadataAnimationHandlerTest.kt", |
| 295 | "tests/src/**/systemui/media/controls/ui/controller/MediaCarouselControllerTest.kt", |
| 296 | "tests/src/**/systemui/media/controls/ui/controller/MediaControlPanelTest.kt", |
| 297 | "tests/src/**/systemui/media/controls/ui/controller/MediaViewControllerTest.kt", |
| 298 | "tests/src/**/systemui/media/controls/ui/drawable/SquigglyProgressTest.kt", |
| 299 | "tests/src/**/systemui/media/controls/ui/MediaPlayerDataTest.kt", |
| 300 | "tests/src/**/systemui/media/taptotransfer/sender/MediaTttSenderCoordinatorTest.kt", |
| 301 | "tests/src/**/systemui/navigationbar/gestural/BackPanelControllerTest.kt", |
| 302 | "tests/src/**/systemui/notetask/NoteTaskControllerTest.kt", |
| 303 | "tests/src/**/systemui/notetask/NoteTaskInitializerTest.kt", |
| 304 | "tests/src/**/systemui/power/domain/interactor/PowerInteractorTest.kt", |
| 305 | "tests/src/**/systemui/privacy/AppOpsPrivacyItemMonitorTest.kt", |
| 306 | "tests/src/**/systemui/privacy/PrivacyItemControllerTest.kt", |
| 307 | "tests/src/**/systemui/qs/external/CustomTileStatePersisterTest.kt", |
| 308 | "tests/src/**/systemui/qs/external/TileRequestDialogTest.kt", |
| 309 | "tests/src/**/systemui/qs/external/TileServiceRequestControllerTest.kt", |
| 310 | "tests/src/**/systemui/qs/tileimpl/TilesStatesTextTest.kt", |
| 311 | "tests/src/**/systemui/qs/tiles/AlarmTileTest.kt", |
| 312 | "tests/src/**/systemui/qs/tiles/BluetoothTileTest.kt", |
| 313 | "tests/src/**/systemui/screenshot/ScreenshotPolicyImplTest.kt", |
| 314 | "tests/src/**/systemui/settings/DisplayTrackerImplTest.kt", |
| 315 | "tests/src/**/systemui/settings/UserFileManagerImplTest.kt", |
| 316 | "tests/src/**/systemui/settings/UserTrackerImplReceiveTest.kt", |
| 317 | "tests/src/**/systemui/settings/UserTrackerImplTest.kt", |
| 318 | "tests/src/**/systemui/shade/GlanceableHubContainerControllerTest.kt", |
| 319 | "tests/src/**/systemui/shade/NotificationsQSContainerControllerLegacyTest.kt", |
| 320 | "tests/src/**/systemui/shade/NotificationsQSContainerControllerTest.kt", |
| 321 | "tests/src/**/systemui/shade/ShadeExpansionStateManagerTest.kt", |
| 322 | "tests/src/**/systemui/shade/ShadeHeaderControllerTest.kt", |
| 323 | "tests/src/**/systemui/shade/transition/LargeScreenShadeInterpolatorImplTest.kt", |
| 324 | "tests/src/**/systemui/statusbar/commandline/CommandParserTest.kt", |
| 325 | "tests/src/**/systemui/statusbar/connectivity/MobileStateTest.kt", |
| 326 | "tests/src/**/systemui/statusbar/events/SystemStatusAnimationSchedulerImplTest.kt", |
| 327 | "tests/src/**/systemui/statusbar/gesture/GenericGestureDetectorTest.kt", |
| 328 | "tests/src/**/systemui/statusbar/LightRevealScrimTest.kt", |
| 329 | "tests/src/**/systemui/statusbar/LockscreenShadeTransitionControllerTest.kt", |
| 330 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/DataStoreCoordinatorTest.kt", |
| 331 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/KeyguardCoordinatorTest.kt", |
| 332 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/RowAppearanceCoordinatorTest.kt", |
| 333 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/ShadeEventCoordinatorTest.kt", |
| 334 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/StackCoordinatorTest.kt", |
| 335 | "tests/src/**/systemui/statusbar/notification/collection/coordinator/ViewConfigCoordinatorTest.kt", |
| 336 | "tests/src/**/systemui/statusbar/notification/logging/NotificationMemoryLoggerTest.kt", |
| 337 | "tests/src/**/systemui/statusbar/notification/logging/NotificationMemoryMeterTest.kt", |
| 338 | "tests/src/**/systemui/statusbar/notification/logging/NotificationMemoryViewWalkerTest.kt", |
| 339 | "tests/src/**/systemui/statusbar/notification/RoundableTest.kt", |
| 340 | "tests/src/**/systemui/statusbar/notification/row/ChannelEditorDialogControllerTest.kt", |
| 341 | "tests/src/**/systemui/statusbar/notification/row/SingleLineConversationViewBinderTest.kt", |
| 342 | "tests/src/**/systemui/statusbar/notification/row/SingleLineViewBinderTest.kt", |
| 343 | "tests/src/**/systemui/statusbar/notification/row/SingleLineViewInflaterTest.kt", |
| 344 | "tests/src/**/systemui/statusbar/notification/row/TextPrecomputerTest.kt", |
| 345 | "tests/src/**/systemui/statusbar/phone/FoldStateListenerTest.kt", |
| 346 | "tests/src/**/systemui/statusbar/phone/fragment/MultiSourceMinAlphaControllerTest.kt", |
| 347 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/model/SystemUiCarrierConfigTest.kt", |
| 348 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/MobileRepositorySwitcherTest.kt", |
| 349 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/prod/FullMobileConnectionRepositoryTest.kt", |
| 350 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/prod/MobileConnectionRepositoryTest.kt", |
| 351 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/prod/MobileConnectionTelephonySmokeTests.kt", |
| 352 | "tests/src/**/systemui/statusbar/pipeline/shared/data/repository/ConnectivityRepositoryImplTest.kt", |
| 353 | "tests/src/**/systemui/statusbar/pipeline/wifi/shared/model/WifiNetworkModelTest.kt", |
| 354 | "tests/src/**/systemui/statusbar/pipeline/wifi/ui/viewmodel/WifiViewModelIconParameterizedTest.kt", |
| 355 | "tests/src/**/systemui/statusbar/policy/DeviceControlsControllerImplTest.kt", |
| 356 | "tests/src/**/systemui/statusbar/policy/VariableDateViewControllerTest.kt", |
| 357 | "tests/src/**/systemui/statusbar/policy/WalletControllerImplTest.kt", |
| 358 | "tests/src/**/systemui/statusbar/SplitShadeLockScreenOverScrollerTest.kt", |
| 359 | "tests/src/**/systemui/stylus/StylusUsiPowerUiTest.kt", |
| 360 | "tests/src/**/systemui/temporarydisplay/chipbar/ChipbarCoordinatorTest.kt", |
| 361 | "tests/src/**/keyguard/KeyguardUpdateMonitorTest.java", |
| 362 | "tests/src/**/keyguard/LegacyLockIconViewControllerBaseTest.java", |
| 363 | "tests/src/**/keyguard/CarrierTextManagerTest.java", |
| 364 | "tests/src/**/systemui/ScreenDecorationsTest.java", |
| 365 | "tests/src/**/systemui/temporarydisplay/chipbar/SwipeChipbarAwayGestureHandlerTest.kt", |
| 366 | "tests/src/**/systemui/media/controls/domain/pipeline/MediaDataProcessorTest.kt", |
| 367 | "tests/src/**/systemui/media/controls/domain/pipeline/LegacyMediaDataManagerImplTest.kt", |
| 368 | "tests/src/**/systemui/shared/system/RemoteTransitionTest.java", |
| 369 | "tests/src/**/systemui/navigationbar/NavigationBarControllerImplTest.java", |
| 370 | "tests/src/**/systemui/bluetooth/qsdialog/AudioSharingInteractorTest.kt", |
| 371 | "tests/src/**/systemui/notetask/quickaffordance/NoteTaskQuickAffordanceConfigTest.kt", |
| 372 | "tests/src/**/systemui/notetask/LaunchNotesRoleSettingsTrampolineActivityTest.kt", |
| 373 | "tests/src/**/systemui/notetask/shortcut/LaunchNoteTaskActivityTest.kt", |
| 374 | "tests/src/**/systemui/DisplayCutoutBaseViewTest.kt", |
| 375 | "tests/src/**/systemui/qs/tiles/dialog/InternetDialogDelegateTest.java", |
| 376 | "tests/src/**/systemui/qs/tiles/dialog/InternetDialogDelegateControllerTest.java", |
| 377 | "tests/src/**/systemui/qs/tiles/HotspotTileTest.java", |
| 378 | "tests/src/**/systemui/qs/external/TileLifecycleManagerTest.java", |
| 379 | "tests/src/**/systemui/recents/OverviewProxyServiceTest.kt", |
| 380 | "tests/src/**/systemui/stylus/StylusManagerTest.kt", |
| 381 | "tests/src/**/systemui/statusbar/phone/StatusBarNotificationActivityStarterTest.java", |
| 382 | "tests/src/**/systemui/statusbar/phone/KeyguardClockPositionAlgorithmTest.java", |
| 383 | "tests/src/**/systemui/statusbar/policy/BatteryControllerStartableTest.java", |
| 384 | "tests/src/**/systemui/statusbar/policy/BatteryControllerTest.java", |
| 385 | "tests/src/**/systemui/statusbar/policy/SensitiveNotificationProtectionControllerTest.kt", |
| 386 | "tests/src/**/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt", |
| 387 | "tests/src/**/systemui/statusbar/pipeline/mobile/data/repository/CarrierConfigRepositoryTest.kt", |
| 388 | "tests/src/**/systemui/statusbar/KeyboardShortcutsReceiverTest.java", |
| 389 | "tests/src/**/systemui/wmshell/BubblesTest.java", |
| 390 | "tests/src/**/systemui/biometrics/AuthRippleControllerTest.kt", |
| 391 | "tests/src/**/keyguard/KeyguardAbsKeyInputViewControllerTest.java", |
| 392 | "tests/src/**/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java", |
| 393 | "tests/src/**/systemui/clipboardoverlay/ClipboardListenerTest.java", |
| 394 | "tests/src/**/systemui/doze/DozeScreenStateTest.java", |
| 395 | "tests/src/**/systemui/keyguard/WorkLockActivityControllerTest.java", |
| 396 | "tests/src/**/systemui/media/dialog/MediaOutputControllerTest.java", |
| 397 | "tests/src/**/systemui/navigationbar/NavigationBarTest.java", |
| 398 | "tests/src/**/systemui/power/PowerNotificationWarningsTest.java", |
| 399 | "tests/src/**/systemui/power/PowerUITest.java", |
| 400 | "tests/src/**/systemui/qs/QSFooterViewControllerTest.java", |
| 401 | "tests/src/**/systemui/qs/QSImplTest.java", |
| 402 | "tests/src/**/systemui/qs/QSSecurityFooterTest.java", |
| 403 | "tests/src/**/systemui/qs/tileimpl/QSTileImplTest.java", |
| 404 | "tests/src/**/systemui/qs/tiles/QuickAccessWalletTileTest.java", |
| 405 | "tests/src/**/systemui/shade/carrier/ShadeCarrierGroupControllerTest.java", |
| 406 | "tests/src/**/systemui/shared/plugins/PluginActionManagerTest.java", |
| 407 | "tests/src/**/systemui/statusbar/CommandQueueTest.java", |
| 408 | "tests/src/**/systemui/statusbar/connectivity/CallbackHandlerTest.java", |
| 409 | "tests/src/**/systemui/statusbar/connectivity/NetworkControllerBaseTest.java", |
| 410 | "tests/src/**/systemui/statusbar/KeyguardIndicationControllerTest.java", |
| 411 | "tests/src/**/systemui/statusbar/notification/stack/NotificationStackScrollLayoutControllerTest.java", |
| 412 | "tests/src/**/systemui/statusbar/phone/ScrimControllerTest.java", |
| 413 | "tests/src/**/systemui/statusbar/policy/RotationLockControllerImplTest.java", |
| 414 | "tests/src/**/systemui/statusbar/policy/SecurityControllerTest.java", |
| 415 | "tests/src/**/systemui/toast/ToastUITest.java", |
| 416 | "tests/src/**/systemui/statusbar/connectivity/NetworkControllerDataTest.java", |
| 417 | "tests/src/**/systemui/statusbar/connectivity/NetworkControllerEthernetTest.java", |
| 418 | "tests/src/**/systemui/statusbar/connectivity/NetworkControllerSignalTest.java", |
| 419 | "tests/src/**/systemui/statusbar/connectivity/NetworkControllerWifiTest.java", |
| 420 | ], |
| 421 | visibility: ["//visibility:private"], |
| 422 | } |
| 423 | |
Xiaozhen Lin | 5306304 | 2022-11-23 02:18:08 +0000 | [diff] [blame] | 424 | //Create a library to expose SystemUI's resources to other modules. |
| 425 | android_library { |
| 426 | name: "SystemUI-res", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 427 | use_resource_processor: true, |
Xiaozhen Lin | 5306304 | 2022-11-23 02:18:08 +0000 | [diff] [blame] | 428 | resource_dirs: [ |
| 429 | "res-product", |
| 430 | "res-keyguard", |
| 431 | "res", |
| 432 | ], |
| 433 | static_libs: [ |
| 434 | "SystemUISharedLib", |
Hawkwood Glazier | 057df3a | 2023-06-14 20:10:21 +0000 | [diff] [blame] | 435 | "SystemUICustomizationLib", |
Xiaozhen Lin | 5306304 | 2022-11-23 02:18:08 +0000 | [diff] [blame] | 436 | "SettingsLib", |
| 437 | "androidx.leanback_leanback", |
| 438 | "androidx.slice_slice-core", |
| 439 | "androidx.slice_slice-view", |
| 440 | ], |
| 441 | manifest: "AndroidManifest-res.xml", |
| 442 | } |
| 443 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 444 | android_library { |
| 445 | name: "SystemUI-core", |
| 446 | srcs: [ |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 447 | "src/**/*.kt", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 448 | "src/**/*.java", |
| 449 | "src/**/I*.aidl", |
Dave Mankoff | 72a5002 | 2021-11-02 20:44:54 -0400 | [diff] [blame] | 450 | ":ReleaseJavaFiles", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 451 | "compose/features/src/**/*.kt", |
| 452 | "compose/facade/enabled/src/**/*.kt", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 453 | ], |
Jay Aliomer | 97d4fc7d | 2021-09-23 16:59:09 -0400 | [diff] [blame] | 454 | product_variables: { |
| 455 | debuggable: { |
| 456 | srcs: [":DebugJavaFiles"], |
| 457 | exclude_srcs: [":ReleaseJavaFiles"], |
| 458 | }, |
| 459 | }, |
Colin Cross | c23cde4 | 2023-06-21 11:22:11 -0700 | [diff] [blame] | 460 | use_resource_processor: true, |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 461 | static_libs: [ |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 462 | "//frameworks/libs/systemui:compilelib", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 463 | "SystemUI-res", |
Quang Luong | c6fc5b2 | 2021-06-10 14:35:32 -0700 | [diff] [blame] | 464 | "WifiTrackerLib", |
Winson Chung | 10a9b4b | 2019-12-18 10:01:36 -0800 | [diff] [blame] | 465 | "WindowManager-Shell", |
Luca Zuccarini | 674ecf0 | 2023-12-20 15:51:55 +0100 | [diff] [blame] | 466 | "PlatformAnimationLib", |
Darrell Shi | 6000632 | 2023-04-06 17:58:40 +0000 | [diff] [blame] | 467 | "SystemUICommon", |
| 468 | "SystemUICustomizationLib", |
Darrell Shi | 1a21b36 | 2023-04-28 19:51:44 +0000 | [diff] [blame] | 469 | "SystemUILogLib", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 470 | "SystemUIPluginLib", |
| 471 | "SystemUISharedLib", |
Steve Elliott | 4c43201 | 2024-04-15 11:41:14 -0400 | [diff] [blame] | 472 | "SystemUI-shared-utils", |
Jerry Chang | 919d1d2 | 2020-07-16 12:31:24 +0800 | [diff] [blame] | 473 | "SystemUI-statsd", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 474 | "SettingsLib", |
Ned Burns | 6d480c3 | 2023-08-28 12:12:19 -0400 | [diff] [blame] | 475 | "com_android_systemui_flags_lib", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 476 | "//frameworks/libs/systemui:com_android_systemui_shared_flags_lib", |
Alejandro Nijamkin | 3885964 | 2022-06-27 14:18:17 -0700 | [diff] [blame] | 477 | "androidx.core_core-ktx", |
Fabian Kozynski | 713b727 | 2020-03-03 18:35:52 -0500 | [diff] [blame] | 478 | "androidx.viewpager2_viewpager2", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 479 | "androidx.legacy_legacy-support-v4", |
| 480 | "androidx.recyclerview_recyclerview", |
| 481 | "androidx.preference_preference", |
| 482 | "androidx.appcompat_appcompat", |
Mark Renouf | e239501 | 2020-12-16 01:05:12 -0500 | [diff] [blame] | 483 | "androidx.concurrent_concurrent-futures", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 484 | "androidx.mediarouter_mediarouter", |
| 485 | "androidx.palette_palette", |
| 486 | "androidx.legacy_legacy-preference-v14", |
| 487 | "androidx.leanback_leanback", |
| 488 | "androidx.slice_slice-core", |
| 489 | "androidx.slice_slice-view", |
| 490 | "androidx.slice_slice-builders", |
| 491 | "androidx.arch.core_core-runtime", |
Bryce Lee | 436e42c | 2022-01-24 14:53:49 -0800 | [diff] [blame] | 492 | "androidx.lifecycle_lifecycle-common-java8", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 493 | "androidx.lifecycle_lifecycle-extensions", |
Jordan Demeulenaere | 8a169ff | 2022-07-13 10:42:10 +0200 | [diff] [blame] | 494 | "androidx.lifecycle_lifecycle-runtime-ktx", |
Joshua Tsuji | b1a796b | 2019-01-16 15:43:12 -0800 | [diff] [blame] | 495 | "androidx.dynamicanimation_dynamicanimation", |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 496 | "androidx-constraintlayout_constraintlayout", |
Miranda Kephart | e1a22b9 | 2020-12-16 14:01:12 -0500 | [diff] [blame] | 497 | "androidx.exifinterface_exifinterface", |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 498 | "androidx.room_room-runtime", |
| 499 | "androidx.room_room-ktx", |
Lucas Dupin | 00c1a60 | 2022-02-16 16:40:36 -0800 | [diff] [blame] | 500 | "com.google.android.material_material", |
Nicolo' Mazzucato | adc0250 | 2023-11-30 16:09:19 +0000 | [diff] [blame] | 501 | "device_state_flags_lib", |
Steve Elliott | a7d7205 | 2020-12-16 23:04:19 -0500 | [diff] [blame] | 502 | "kotlinx_coroutines_android", |
| 503 | "kotlinx_coroutines", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 504 | "//frameworks/libs/systemui:iconloader_base", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 505 | "SystemUI-tags", |
| 506 | "SystemUI-proto", |
Lucas Dupin | e37369f | 2021-08-31 00:19:39 +0000 | [diff] [blame] | 507 | "monet", |
Lucas Dupin | d83b4ee | 2023-07-08 11:05:47 -0700 | [diff] [blame] | 508 | "libmonet", |
Dave Mankoff | dffcc47 | 2020-07-08 15:25:16 -0400 | [diff] [blame] | 509 | "dagger2", |
Brett Chabot | fc8675a | 2023-03-27 10:33:10 -0700 | [diff] [blame] | 510 | "jsr305", |
Andy Wickham | 64e3410 | 2021-03-07 16:02:01 -0800 | [diff] [blame] | 511 | "jsr330", |
Beverly | 46817e1 | 2021-06-22 16:29:52 -0400 | [diff] [blame] | 512 | "lottie", |
Lucas Silva | 0bfb405 | 2022-09-20 23:32:02 -0400 | [diff] [blame] | 513 | "LowLightDreamLib", |
Stefan Andonian | 2de9db7 | 2024-03-08 04:43:38 +0000 | [diff] [blame] | 514 | "TraceurCommon", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 515 | "//frameworks/libs/systemui:motion_tool_lib", |
Valentin Iftime | a08bd96 | 2023-12-11 19:22:51 +0100 | [diff] [blame] | 516 | "notification_flags_lib", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 517 | "PlatformComposeCore", |
| 518 | "PlatformComposeSceneTransitionLayout", |
| 519 | "androidx.compose.runtime_runtime", |
| 520 | "androidx.compose.material3_material3", |
| 521 | "androidx.compose.material_material-icons-extended", |
| 522 | "androidx.activity_activity-compose", |
| 523 | "androidx.compose.animation_animation-graphics", |
Michal Brzezinski | a15c524 | 2024-05-24 18:21:20 +0100 | [diff] [blame] | 524 | "androidx.lifecycle_lifecycle-viewmodel-compose", |
Kholoud Mohamed | b9b19b1 | 2024-05-08 19:11:37 +0000 | [diff] [blame] | 525 | "device_policy_aconfig_flags_lib", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 526 | ], |
Nikolas Havrikov | c70cb07 | 2023-09-08 15:06:35 +0200 | [diff] [blame] | 527 | libs: [ |
| 528 | "keepanno-annotations", |
| 529 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 530 | manifest: "AndroidManifest.xml", |
| 531 | |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 532 | javacflags: [ |
| 533 | "-Adagger.fastInit=enabled", |
Dave Mankoff | f69c342 | 2024-01-26 20:59:11 +0000 | [diff] [blame] | 534 | "-Adagger.explicitBindingConflictsWithInject=ERROR", |
| 535 | "-Adagger.strictMultibindingValidation=enabled", |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 536 | "-Aroom.schemaLocation=frameworks/base/packages/SystemUI/schemas", |
| 537 | ], |
Colin Cross | 6954ea7 | 2023-07-18 10:52:21 -0700 | [diff] [blame] | 538 | kotlincflags: ["-Xjvm-default=all"], |
Jason Monk | 73e8ffc | 2018-12-06 14:45:19 -0500 | [diff] [blame] | 539 | |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 540 | plugins: [ |
| 541 | "androidx.room_room-compiler-plugin", |
| 542 | "dagger2-compiler", |
| 543 | ], |
Jernej Virag | bb4ff3f | 2022-03-10 17:52:11 +0000 | [diff] [blame] | 544 | |
| 545 | lint: { |
| 546 | extra_check_modules: ["SystemUILintChecker"], |
Michal Brzezinski | d552d1f | 2023-09-29 15:00:19 +0100 | [diff] [blame] | 547 | warning_checks: ["MissingApacheLicenseDetector"], |
Peter Kalauskas | de4b6e1 | 2024-04-18 17:22:49 -0700 | [diff] [blame] | 548 | baseline_filename: "lint-baseline.xml", |
Jernej Virag | bb4ff3f | 2022-03-10 17:52:11 +0000 | [diff] [blame] | 549 | }, |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 550 | } |
| 551 | |
Tadashi G. Takaoka | a6572dc | 2019-09-17 15:18:53 +0900 | [diff] [blame] | 552 | filegroup { |
Fabian Kozynski | d389df5 | 2022-01-06 10:52:51 -0500 | [diff] [blame] | 553 | name: "AAA-src", |
| 554 | srcs: ["tests/src/com/android/AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java"], |
| 555 | path: "tests/src", |
| 556 | } |
| 557 | |
| 558 | filegroup { |
Steve Elliott | b42fe7c | 2024-03-28 14:00:20 -0400 | [diff] [blame] | 559 | name: "kosmos-src", |
| 560 | srcs: ["tests/utils/kosmos/src/**/*.kt"], |
| 561 | path: "tests/utils/kosmos", |
| 562 | } |
| 563 | |
| 564 | java_library { |
| 565 | name: "kosmos", |
| 566 | host_supported: true, |
| 567 | srcs: [":kosmos-src"], |
| 568 | static_libs: [ |
| 569 | "kotlin-reflect", |
| 570 | "kotlin-stdlib", |
| 571 | ], |
| 572 | } |
| 573 | |
| 574 | filegroup { |
Tadashi G. Takaoka | a6572dc | 2019-09-17 15:18:53 +0900 | [diff] [blame] | 575 | name: "SystemUI-tests-utils", |
| 576 | srcs: [ |
Jordan Demeulenaere | f7fed3c | 2022-07-28 18:06:49 +0200 | [diff] [blame] | 577 | "tests/utils/src/**/*.java", |
| 578 | "tests/utils/src/**/*.kt", |
Steve Elliott | b42fe7c | 2024-03-28 14:00:20 -0400 | [diff] [blame] | 579 | ":kosmos-src", |
Dave Mankoff | b4935a2 | 2021-06-01 15:12:15 -0400 | [diff] [blame] | 580 | ], |
Steve Elliott | b42fe7c | 2024-03-28 14:00:20 -0400 | [diff] [blame] | 581 | path: "tests/utils", |
Tadashi G. Takaoka | a6572dc | 2019-09-17 15:18:53 +0900 | [diff] [blame] | 582 | } |
| 583 | |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 584 | filegroup { |
David Saff | b231961 | 2023-10-19 14:14:16 -0400 | [diff] [blame] | 585 | name: "SystemUI-tests-multivalent", |
| 586 | srcs: [ |
| 587 | "multivalentTests/src/**/*.kt", |
Rex Hoffman | 1477e0f | 2023-11-28 17:18:28 +0000 | [diff] [blame] | 588 | "multivalentTests/src/**/*.java", |
David Saff | b231961 | 2023-10-19 14:14:16 -0400 | [diff] [blame] | 589 | ], |
| 590 | path: "multivalentTests/src", |
| 591 | } |
| 592 | |
Bryce Lee | a5b0808 | 2021-10-06 11:34:56 -0700 | [diff] [blame] | 593 | java_library { |
| 594 | name: "SystemUI-tests-concurrency", |
| 595 | srcs: [ |
| 596 | "src/com/android/systemui/util/concurrency/DelayableExecutor.java", |
| 597 | "src/com/android/systemui/util/time/SystemClock.java", |
Jordan Demeulenaere | f7fed3c | 2022-07-28 18:06:49 +0200 | [diff] [blame] | 598 | "tests/utils/src/com/android/systemui/util/concurrency/FakeExecutor.java", |
| 599 | "tests/utils/src/com/android/systemui/util/time/FakeSystemClock.java", |
Bryce Lee | a5b0808 | 2021-10-06 11:34:56 -0700 | [diff] [blame] | 600 | ], |
| 601 | jarjar_rules: ":jarjar-rules-shared", |
| 602 | } |
| 603 | |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 604 | android_library { |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 605 | name: "SystemUI-tests-base", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 606 | use_resource_processor: true, |
Sunny Goyal | eb18d39 | 2020-02-07 16:48:14 -0800 | [diff] [blame] | 607 | manifest: "tests/AndroidManifest-base.xml", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 608 | resource_dirs: [ |
| 609 | "tests/res", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 610 | ], |
Luca Zuccarini | 23b4cb2 | 2024-02-20 16:55:21 +0000 | [diff] [blame] | 611 | asset_dirs: [ |
| 612 | "tests/goldens", |
| 613 | ], |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 614 | static_libs: [ |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 615 | "SystemUI-res", |
Quang Luong | c6fc5b2 | 2021-06-10 14:35:32 -0700 | [diff] [blame] | 616 | "WifiTrackerLib", |
Luca Zuccarini | 674ecf0 | 2023-12-20 15:51:55 +0100 | [diff] [blame] | 617 | "PlatformAnimationLib", |
Mike Schneider | c776b93 | 2024-04-24 13:29:43 +0200 | [diff] [blame] | 618 | "PlatformMotionTestingCompose", |
| 619 | "ScreenshotComposeUtilsLib", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 620 | "SystemUIPluginLib", |
| 621 | "SystemUISharedLib", |
Hawkwood Glazier | b8eef87 | 2022-11-11 17:56:14 +0000 | [diff] [blame] | 622 | "SystemUICustomizationLib", |
Ioana Alexandru | 7678de9e | 2023-12-04 21:07:23 +0100 | [diff] [blame] | 623 | "SystemUICustomizationTestUtils", |
Steve Elliott | 4c43201 | 2024-04-15 11:41:14 -0400 | [diff] [blame] | 624 | "SystemUI-shared-utils", |
Hyunyoung Song | 3d89c93 | 2020-04-11 13:31:06 -0700 | [diff] [blame] | 625 | "SystemUI-statsd", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 626 | "SettingsLib", |
Ned Burns | 6d480c3 | 2023-08-28 12:12:19 -0400 | [diff] [blame] | 627 | "com_android_systemui_flags_lib", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 628 | "//frameworks/libs/systemui:com_android_systemui_shared_flags_lib", |
Jeff DeCew | 91a5396 | 2023-10-06 15:40:23 +0000 | [diff] [blame] | 629 | "flag-junit-base", |
Jeff DeCew | caef3b3 | 2023-11-13 03:13:13 +0000 | [diff] [blame] | 630 | "platform-parametric-runner-lib", |
Fabian Kozynski | 713b727 | 2020-03-03 18:35:52 -0500 | [diff] [blame] | 631 | "androidx.viewpager2_viewpager2", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 632 | "androidx.legacy_legacy-support-v4", |
| 633 | "androidx.recyclerview_recyclerview", |
| 634 | "androidx.preference_preference", |
| 635 | "androidx.appcompat_appcompat", |
Mark Renouf | e239501 | 2020-12-16 01:05:12 -0500 | [diff] [blame] | 636 | "androidx.concurrent_concurrent-futures", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 637 | "androidx.mediarouter_mediarouter", |
| 638 | "androidx.palette_palette", |
| 639 | "androidx.legacy_legacy-preference-v14", |
| 640 | "androidx.leanback_leanback", |
| 641 | "androidx.slice_slice-core", |
| 642 | "androidx.slice_slice-view", |
| 643 | "androidx.slice_slice-builders", |
| 644 | "androidx.arch.core_core-runtime", |
Bryce Lee | 436e42c | 2022-01-24 14:53:49 -0800 | [diff] [blame] | 645 | "androidx.lifecycle_lifecycle-common-java8", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 646 | "androidx.lifecycle_lifecycle-extensions", |
Jordan Demeulenaere | 8a169ff | 2022-07-13 10:42:10 +0200 | [diff] [blame] | 647 | "androidx.lifecycle_lifecycle-runtime-ktx", |
Joshua Tsuji | b1a796b | 2019-01-16 15:43:12 -0800 | [diff] [blame] | 648 | "androidx.dynamicanimation_dynamicanimation", |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 649 | "androidx-constraintlayout_constraintlayout", |
Miranda Kephart | e1a22b9 | 2020-12-16 14:01:12 -0500 | [diff] [blame] | 650 | "androidx.exifinterface_exifinterface", |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 651 | "androidx.room_room-runtime", |
| 652 | "androidx.room_room-ktx", |
Nicolo' Mazzucato | adc0250 | 2023-11-30 16:09:19 +0000 | [diff] [blame] | 653 | "device_state_flags_lib", |
Pinyao Ting | ee191b1 | 2020-04-29 18:35:39 -0700 | [diff] [blame] | 654 | "kotlinx-coroutines-android", |
| 655 | "kotlinx-coroutines-core", |
Alejandro Nijamkin | c738a8c | 2022-07-25 13:30:41 -0700 | [diff] [blame] | 656 | "kotlinx_coroutines_test", |
Chandru | 5a5e533 | 2022-08-19 14:25:31 +0000 | [diff] [blame] | 657 | "kotlin-reflect", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 658 | "//frameworks/libs/systemui:iconloader_base", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 659 | "SystemUI-tags", |
| 660 | "SystemUI-proto", |
| 661 | "metrics-helper-lib", |
Tadashi G. Takaoka | c7340fb | 2020-10-20 17:50:13 +0900 | [diff] [blame] | 662 | "hamcrest-library", |
| 663 | "androidx.test.rules", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 664 | "testables", |
Krzysztof KosiĆski | 60b7087 | 2023-10-06 20:11:39 +0000 | [diff] [blame] | 665 | "truth", |
Lucas Dupin | e37369f | 2021-08-31 00:19:39 +0000 | [diff] [blame] | 666 | "monet", |
Lucas Dupin | d83b4ee | 2023-07-08 11:05:47 -0700 | [diff] [blame] | 667 | "libmonet", |
Dave Mankoff | dffcc47 | 2020-07-08 15:25:16 -0400 | [diff] [blame] | 668 | "dagger2", |
Bill Lin | a17858d1 | 2020-07-14 10:30:10 +0800 | [diff] [blame] | 669 | "jsr330", |
| 670 | "WindowManager-Shell", |
Lucas Silva | 0bfb405 | 2022-09-20 23:32:02 -0400 | [diff] [blame] | 671 | "LowLightDreamLib", |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 672 | "//frameworks/libs/systemui:motion_tool_lib", |
Colin Cross | 64ee6e2 | 2024-03-25 15:21:29 -0700 | [diff] [blame] | 673 | "androidx.core_core-animation-testing", |
Jordan Demeulenaere | 54a0fae | 2023-01-04 11:36:46 +0100 | [diff] [blame] | 674 | "androidx.compose.ui_ui", |
Riley Jones | 84156fc | 2023-09-06 22:27:37 +0000 | [diff] [blame] | 675 | "flag-junit", |
Jeff Sharkey | 0b31917 | 2024-01-25 10:58:48 -0700 | [diff] [blame] | 676 | "ravenwood-junit", |
Riley Jones | 84156fc | 2023-09-06 22:27:37 +0000 | [diff] [blame] | 677 | "platform-test-annotations", |
Valentin Iftime | a08bd96 | 2023-12-11 19:22:51 +0100 | [diff] [blame] | 678 | "notification_flags_lib", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 679 | "PlatformComposeCore", |
| 680 | "PlatformComposeSceneTransitionLayout", |
| 681 | "androidx.compose.runtime_runtime", |
| 682 | "androidx.compose.material3_material3", |
| 683 | "androidx.compose.material_material-icons-extended", |
| 684 | "androidx.activity_activity-compose", |
| 685 | "androidx.compose.animation_animation-graphics", |
Michal Brzezinski | a15c524 | 2024-05-24 18:21:20 +0100 | [diff] [blame] | 686 | "androidx.lifecycle_lifecycle-viewmodel-compose", |
Stefan Andonian | 2de9db7 | 2024-03-08 04:43:38 +0000 | [diff] [blame] | 687 | "TraceurCommon", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 688 | ], |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 689 | } |
| 690 | |
| 691 | android_library { |
| 692 | name: "SystemUI-tests", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 693 | use_resource_processor: true, |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 694 | manifest: "tests/AndroidManifest-base.xml", |
Colin Cross | 164493b | 2024-03-05 13:32:44 -0800 | [diff] [blame] | 695 | resource_dirs: [], |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 696 | additional_manifests: ["tests/AndroidManifest.xml"], |
| 697 | srcs: [ |
| 698 | "tests/src/**/*.kt", |
| 699 | "tests/src/**/*.java", |
| 700 | "src/**/*.kt", |
| 701 | "src/**/*.java", |
| 702 | "src/**/I*.aidl", |
| 703 | ":ReleaseJavaFiles", |
David Saff | b231961 | 2023-10-19 14:14:16 -0400 | [diff] [blame] | 704 | ":SystemUI-tests-multivalent", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 705 | ":SystemUI-tests-utils", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 706 | "compose/features/src/**/*.kt", |
| 707 | "compose/facade/enabled/src/**/*.kt", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 708 | ], |
| 709 | static_libs: [ |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 710 | "//frameworks/libs/systemui:compilelib", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 711 | "SystemUI-tests-base", |
| 712 | "androidx.test.uiautomator_uiautomator", |
Jeff DeCew | a415d0e | 2023-08-02 11:30:09 -0400 | [diff] [blame] | 713 | "androidx.core_core-animation-testing", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 714 | "mockito-target-extended-minus-junit4", |
Mark Renouf | a622520 | 2024-05-10 12:55:48 -0400 | [diff] [blame] | 715 | "mockito-kotlin-nodeps", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 716 | "androidx.test.ext.junit", |
Steven Ng | 45b74c6 | 2023-03-23 11:23:02 +0000 | [diff] [blame] | 717 | "androidx.test.ext.truth", |
Colin Cross | 852cd14 | 2023-08-11 16:53:55 -0700 | [diff] [blame] | 718 | "kotlin-test", |
Luca Zuccarini | 23b4cb2 | 2024-02-20 16:55:21 +0000 | [diff] [blame] | 719 | "platform-screenshot-diff-core", |
| 720 | "PlatformMotionTesting", |
Ioana Alexandru | 47ddbb7 | 2023-12-15 21:24:47 +0100 | [diff] [blame] | 721 | "SystemUICustomizationTestUtils", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 722 | "androidx.compose.runtime_runtime", |
Steve Elliott | b42fe7c | 2024-03-28 14:00:20 -0400 | [diff] [blame] | 723 | "kosmos", |
Fangqiu Su | b58fa97 | 2023-12-19 18:14:55 +0000 | [diff] [blame] | 724 | "androidx.test.rules", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 725 | ], |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 726 | libs: [ |
| 727 | "android.test.runner", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 728 | "android.test.base", |
Jordan Demeulenaere | 6fb22d4 | 2022-08-19 15:00:36 +0200 | [diff] [blame] | 729 | "android.test.mock", |
Nikolas Havrikov | c70cb07 | 2023-09-08 15:06:35 +0200 | [diff] [blame] | 730 | "keepanno-annotations", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 731 | ], |
Colin Cross | 6954ea7 | 2023-07-18 10:52:21 -0700 | [diff] [blame] | 732 | kotlincflags: ["-Xjvm-default=all"], |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 733 | aaptflags: [ |
| 734 | "--extra-packages", |
Hyunyoung Song | 8f9d34c | 2019-08-30 14:47:43 -0700 | [diff] [blame] | 735 | "com.android.systemui", |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 736 | ], |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 737 | plugins: [ |
| 738 | "androidx.room_room-compiler-plugin", |
| 739 | "dagger2-compiler", |
| 740 | ], |
Cole Faust | 17f1e72 | 2022-08-16 15:30:26 -0700 | [diff] [blame] | 741 | lint: { |
| 742 | test: true, |
Jeff Chen | 194a13f | 2023-03-16 15:40:05 -0700 | [diff] [blame] | 743 | extra_check_modules: ["SystemUILintChecker"], |
Cole Faust | 17f1e72 | 2022-08-16 15:30:26 -0700 | [diff] [blame] | 744 | }, |
Jason Monk | ae7ced2 | 2018-08-22 16:56:58 -0400 | [diff] [blame] | 745 | } |
| 746 | |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 747 | android_app { |
| 748 | name: "SystemUIRobo-stub", |
Jeff Sharkey | 0b31917 | 2024-01-25 10:58:48 -0700 | [diff] [blame] | 749 | // SystemUiRavenTests references the .aapt.srcjar |
| 750 | use_resource_processor: false, |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 751 | defaults: [ |
| 752 | "platform_app_defaults", |
Jared Duke | 5bf6fb3 | 2023-02-23 14:27:47 -0800 | [diff] [blame] | 753 | "SystemUI_optimized_defaults", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 754 | ], |
| 755 | manifest: "tests/AndroidManifest-base.xml", |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 756 | |
| 757 | srcs: [ |
| 758 | "src/**/*.kt", |
| 759 | "src/**/*.java", |
| 760 | "src/**/I*.aidl", |
| 761 | ":ReleaseJavaFiles", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 762 | "compose/features/src/**/*.kt", |
| 763 | "compose/facade/enabled/src/**/*.kt", |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 764 | ], |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 765 | static_libs: [ |
Peter Kalauskas | cd50f53 | 2024-04-02 15:41:14 -0700 | [diff] [blame] | 766 | "//frameworks/libs/systemui:compilelib", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 767 | "SystemUI-tests-base", |
Jordan Demeulenaere | 941e613 | 2024-02-28 14:37:37 +0100 | [diff] [blame] | 768 | "androidx.compose.runtime_runtime", |
Kholoud Mohamed | b9b19b1 | 2024-05-08 19:11:37 +0000 | [diff] [blame] | 769 | "SystemUI-core", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 770 | ], |
Nikolas Havrikov | c70cb07 | 2023-09-08 15:06:35 +0200 | [diff] [blame] | 771 | libs: [ |
| 772 | "keepanno-annotations", |
| 773 | ], |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 774 | aaptflags: [ |
| 775 | "--extra-packages", |
| 776 | "com.android.systemui", |
| 777 | ], |
| 778 | dont_merge_manifests: true, |
| 779 | platform_apis: true, |
| 780 | system_ext_specific: true, |
| 781 | certificate: "platform", |
| 782 | privileged: true, |
| 783 | resource_dirs: [], |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 784 | kotlincflags: ["-Xjvm-default=all"], |
Kevin Liu | 092b821 | 2023-02-15 05:42:34 +0000 | [diff] [blame] | 785 | optimize: { |
| 786 | shrink_resources: false, |
Rico Wind | 65526b2 | 2024-03-19 09:02:58 +0100 | [diff] [blame] | 787 | optimized_shrink_resources: false, |
Kevin Liu | 092b821 | 2023-02-15 05:42:34 +0000 | [diff] [blame] | 788 | proguard_flags_files: ["proguard.flags"], |
| 789 | }, |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 790 | |
| 791 | plugins: ["dagger2-compiler"], |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 792 | } |
| 793 | |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 794 | java_library { |
| 795 | name: "RoboTestLibraries", |
| 796 | static_libs: [ |
| 797 | "dagger2", |
| 798 | "androidx.test.uiautomator_uiautomator", |
| 799 | "androidx.core_core-animation-testing", |
| 800 | "androidx.test.ext.junit", |
| 801 | "inline-mockito-robolectric-prebuilt", |
Mark Renouf | a622520 | 2024-05-10 12:55:48 -0400 | [diff] [blame] | 802 | "mockito-kotlin-nodeps", |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 803 | "platform-parametric-runner-lib", |
| 804 | "SystemUICustomizationTestUtils", |
| 805 | "kotlin-test", |
| 806 | "kosmos", |
| 807 | ], |
| 808 | } |
| 809 | |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 810 | android_robolectric_test { |
| 811 | name: "SystemUiRoboTests", |
| 812 | srcs: [ |
| 813 | "tests/robolectric/src/**/*.kt", |
| 814 | "tests/robolectric/src/**/*.java", |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 815 | ":SystemUI-tests-utils", |
David Saff | b231961 | 2023-10-19 14:14:16 -0400 | [diff] [blame] | 816 | ":SystemUI-tests-multivalent", |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 817 | ], |
| 818 | static_libs: [ |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 819 | "RoboTestLibraries", |
| 820 | ], |
| 821 | libs: [ |
| 822 | "android.test.runner", |
| 823 | "android.test.base", |
| 824 | "android.test.mock", |
| 825 | "truth", |
| 826 | ], |
| 827 | |
| 828 | upstream: true, |
| 829 | |
| 830 | instrumentation_for: "SystemUIRobo-stub", |
| 831 | java_resource_dirs: ["tests/robolectric/config"], |
| 832 | plugins: [ |
| 833 | "dagger2-compiler", |
| 834 | ], |
Matthew Reynolds | 029f1b3 | 2024-05-23 21:13:19 +0000 | [diff] [blame] | 835 | strict_mode: false, |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 836 | } |
| 837 | |
| 838 | // in-place tests which use Robolectric in the tests directory |
| 839 | // instead of multivalentTests |
| 840 | android_robolectric_test { |
| 841 | name: "SystemUiRoboTestsInplace", |
| 842 | srcs: [ |
| 843 | "tests/robolectric/src/**/*.kt", |
| 844 | "tests/robolectric/src/**/*.java", |
| 845 | ":SystemUI-tests-utils", |
| 846 | ":SystemUI-tests-multivalent", |
| 847 | ":SystemUI-tests-robofiles", |
| 848 | ], |
| 849 | exclude_srcs: [ |
Matthew Reynolds | 4265fe6 | 2024-05-03 16:41:56 +0000 | [diff] [blame] | 850 | ":SystemUI-tests-broken-robofiles-compile", |
| 851 | ":SystemUI-tests-broken-robofiles-run", |
Matthew Reynolds | d0ef286 | 2024-06-07 20:09:39 +0000 | [diff] [blame^] | 852 | ":SystemUI-tests-broken-robofiles-sysui-run", |
Matthew Reynolds | 30f0629 | 2024-04-30 23:48:37 +0000 | [diff] [blame] | 853 | ], |
| 854 | static_libs: [ |
| 855 | "RoboTestLibraries", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 856 | ], |
| 857 | libs: [ |
| 858 | "android.test.runner", |
| 859 | "android.test.base", |
| 860 | "android.test.mock", |
Krzysztof KosiĆski | 60b7087 | 2023-10-06 20:11:39 +0000 | [diff] [blame] | 861 | "truth", |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 862 | ], |
Kevin Liu | d379323 | 2023-02-09 20:37:27 +0000 | [diff] [blame] | 863 | |
| 864 | upstream: true, |
| 865 | |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 866 | instrumentation_for: "SystemUIRobo-stub", |
| 867 | java_resource_dirs: ["tests/robolectric/config"], |
Beverly | 56039f5 | 2023-11-13 21:56:33 +0000 | [diff] [blame] | 868 | plugins: [ |
| 869 | "dagger2-compiler", |
| 870 | ], |
Matthew Reynolds | 029f1b3 | 2024-05-23 21:13:19 +0000 | [diff] [blame] | 871 | strict_mode: false, |
Jay Aliomer | 9b13ae1 | 2022-11-28 14:50:09 +0000 | [diff] [blame] | 872 | } |
| 873 | |
Jeff Sharkey | 0b31917 | 2024-01-25 10:58:48 -0700 | [diff] [blame] | 874 | android_ravenwood_test { |
| 875 | name: "SystemUiRavenTests", |
| 876 | srcs: [ |
| 877 | ":SystemUI-tests-utils", |
| 878 | ":SystemUI-tests-multivalent", |
| 879 | // TODO(b/294256649): pivot to using {.aapt.jar} and re-enable |
| 880 | // use_resource_processor: true when better supported by soong |
| 881 | ":SystemUIRobo-stub{.aapt.srcjar}", |
| 882 | ], |
| 883 | static_libs: [ |
| 884 | "SystemUI-core", |
| 885 | "SystemUI-res", |
| 886 | "SystemUI-tests-base", |
| 887 | "androidx.test.uiautomator_uiautomator", |
| 888 | "androidx.core_core-animation-testing", |
| 889 | "androidx.test.ext.junit", |
Steve Elliott | b42fe7c | 2024-03-28 14:00:20 -0400 | [diff] [blame] | 890 | "kosmos", |
Mark Renouf | a622520 | 2024-05-10 12:55:48 -0400 | [diff] [blame] | 891 | "mockito-kotlin-nodeps", |
Jeff Sharkey | 0b31917 | 2024-01-25 10:58:48 -0700 | [diff] [blame] | 892 | ], |
| 893 | libs: [ |
| 894 | "android.test.runner", |
| 895 | "android.test.base", |
| 896 | "android.test.mock", |
| 897 | ], |
| 898 | auto_gen_config: true, |
| 899 | plugins: [ |
| 900 | "dagger2-compiler", |
| 901 | ], |
| 902 | } |
| 903 | |
Jared Duke | 84e94b3 | 2022-08-05 13:46:38 -0700 | [diff] [blame] | 904 | // Opt-out config for optimizing the SystemUI target using R8. |
| 905 | // Disabled via `export SYSTEMUI_OPTIMIZE_JAVA=false`, or explicitly in Make via |
| 906 | // `SYSTEMUI_OPTIMIZE_JAVA := false`. |
Jared Duke | 9dfa77b | 2021-12-22 13:31:06 -0800 | [diff] [blame] | 907 | soong_config_module_type { |
| 908 | name: "systemui_optimized_java_defaults", |
| 909 | module_type: "java_defaults", |
| 910 | config_namespace: "ANDROID", |
| 911 | bool_variables: ["SYSTEMUI_OPTIMIZE_JAVA"], |
| 912 | properties: ["optimize"], |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 913 | } |
| 914 | |
Jared Duke | 9dfa77b | 2021-12-22 13:31:06 -0800 | [diff] [blame] | 915 | systemui_optimized_java_defaults { |
Jared Duke | 5bf6fb3 | 2023-02-23 14:27:47 -0800 | [diff] [blame] | 916 | name: "SystemUI_optimized_defaults", |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 917 | soong_config_variables: { |
Jared Duke | 9dfa77b | 2021-12-22 13:31:06 -0800 | [diff] [blame] | 918 | SYSTEMUI_OPTIMIZE_JAVA: { |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 919 | optimize: { |
| 920 | enabled: true, |
| 921 | optimize: true, |
| 922 | shrink: true, |
Jared Duke | 0668af2 | 2023-02-23 14:43:31 -0800 | [diff] [blame] | 923 | shrink_resources: true, |
Rico Wind | 65526b2 | 2024-03-19 09:02:58 +0100 | [diff] [blame] | 924 | optimized_shrink_resources: true, |
Jared Duke | 5ecfe87 | 2022-09-08 09:25:30 -0700 | [diff] [blame] | 925 | ignore_warnings: false, |
Jared Duke | f090417 | 2022-06-07 18:01:06 +0000 | [diff] [blame] | 926 | proguard_compatibility: false, |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 927 | }, |
| 928 | conditions_default: { |
| 929 | optimize: { |
Jared Duke | 5ecfe87 | 2022-09-08 09:25:30 -0700 | [diff] [blame] | 930 | ignore_warnings: false, |
Jared Duke | f090417 | 2022-06-07 18:01:06 +0000 | [diff] [blame] | 931 | proguard_compatibility: false, |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 932 | }, |
| 933 | }, |
| 934 | }, |
| 935 | }, |
| 936 | } |
| 937 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 938 | android_app { |
| 939 | name: "SystemUI", |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 940 | defaults: [ |
| 941 | "platform_app_defaults", |
Jared Duke | 5bf6fb3 | 2023-02-23 14:27:47 -0800 | [diff] [blame] | 942 | "SystemUI_optimized_defaults", |
Jared Duke | 2fee740 | 2021-10-18 14:35:04 -0700 | [diff] [blame] | 943 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 944 | static_libs: [ |
| 945 | "SystemUI-core", |
| 946 | ], |
Anton Hansson | 7ccca9f | 2019-02-08 09:01:32 +0000 | [diff] [blame] | 947 | resource_dirs: [], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 948 | |
Colin Cross | c23cde4 | 2023-06-21 11:22:11 -0700 | [diff] [blame] | 949 | use_resource_processor: true, |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 950 | platform_apis: true, |
Jeongik Cha | d45d9e1 | 2019-12-04 13:38:39 +0900 | [diff] [blame] | 951 | system_ext_specific: true, |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 952 | certificate: "platform", |
| 953 | privileged: true, |
| 954 | |
Colin Cross | 6954ea7 | 2023-07-18 10:52:21 -0700 | [diff] [blame] | 955 | kotlincflags: ["-Xjvm-default=all"], |
Selim Cinek | 820ba2d | 2019-06-18 18:59:09 -0700 | [diff] [blame] | 956 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 957 | dxflags: ["--multi-dex"], |
Jared Duke | 5bf6fb3 | 2023-02-23 14:27:47 -0800 | [diff] [blame] | 958 | optimize: { |
| 959 | proguard_flags_files: ["proguard.flags"], |
| 960 | }, |
Winson Chung | b754f52 | 2020-08-03 22:17:08 -0700 | [diff] [blame] | 961 | required: [ |
| 962 | "privapp_whitelist_com.android.systemui", |
Hongwei Wang | 2b227ee | 2022-08-19 09:38:18 -0700 | [diff] [blame] | 963 | "wmshell.protolog.json.gz", |
Pablo Gamito | 5fe2c80 | 2024-02-12 12:48:48 +0000 | [diff] [blame] | 964 | "wmshell.protolog.pb", |
Winson Chung | b754f52 | 2020-08-03 22:17:08 -0700 | [diff] [blame] | 965 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 966 | } |