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