Daniel Norman | ce56244 | 2022-11-29 13:13:33 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2023 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 | |
| 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_", |
Daniel Norman | ce56244 | 2022-11-29 13:13:33 -0800 | [diff] [blame] | 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
Daniel Norman | abdfd6f | 2023-02-02 12:59:07 -0800 | [diff] [blame] | 22 | // This filegroup is used by menu tests. |
| 23 | filegroup { |
| 24 | name: "AccessibilityMenuSource", |
| 25 | srcs: [ |
| 26 | "src/**/AccessibilityMenuService.java", |
| 27 | "src/**/A11yMenuShortcut.java", |
| 28 | ], |
| 29 | } |
| 30 | |
Daniel Norman | ce56244 | 2022-11-29 13:13:33 -0800 | [diff] [blame] | 31 | android_app { |
| 32 | name: "AccessibilityMenu", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 33 | use_resource_processor: true, |
Riley Jones | adf5e30 | 2022-12-08 21:36:39 +0000 | [diff] [blame] | 34 | |
| 35 | static_libs: [ |
| 36 | "androidx.coordinatorlayout_coordinatorlayout", |
| 37 | "androidx.core_core", |
Riley Jones | b212fee | 2023-02-03 11:03:49 +0000 | [diff] [blame] | 38 | "androidx.preference_preference", |
Riley Jones | 44acf3b | 2024-08-05 17:32:53 +0000 | [diff] [blame^] | 39 | "androidx.viewpager2_viewpager2", |
Daniel Norman | be3531a | 2024-07-31 21:29:03 +0000 | [diff] [blame] | 40 | "com_android_systemui_flags_lib", |
Daniel Norman | 7bfe573 | 2023-02-01 11:37:12 -0800 | [diff] [blame] | 41 | "SettingsLibDisplayUtils", |
Daniel Norman | df0dd50 | 2024-01-12 19:40:46 +0000 | [diff] [blame] | 42 | "SettingsLibSettingsTheme", |
Riley Jones | 303d536 | 2023-09-07 21:15:20 +0000 | [diff] [blame] | 43 | "com_android_a11y_menu_flags_lib", |
Riley Jones | adf5e30 | 2022-12-08 21:36:39 +0000 | [diff] [blame] | 44 | ], |
| 45 | |
Daniel Norman | 7bfe573 | 2023-02-01 11:37:12 -0800 | [diff] [blame] | 46 | optimize: { |
| 47 | enabled: true, |
| 48 | optimize: true, |
| 49 | shrink: true, |
| 50 | shrink_resources: true, |
| 51 | proguard_compatibility: false, |
| 52 | }, |
| 53 | |
Riley Jones | adf5e30 | 2022-12-08 21:36:39 +0000 | [diff] [blame] | 54 | uses_libs: [ |
| 55 | "org.apache.http.legacy", |
| 56 | ], |
| 57 | |
Daniel Norman | ce56244 | 2022-11-29 13:13:33 -0800 | [diff] [blame] | 58 | srcs: [ |
| 59 | "src/**/*.java", |
| 60 | ], |
| 61 | system_ext_specific: true, |
| 62 | platform_apis: true, |
| 63 | resource_dirs: ["res"], |
| 64 | certificate: "platform", |
Daniel Norman | ce56244 | 2022-11-29 13:13:33 -0800 | [diff] [blame] | 65 | } |