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