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