| // |
| // Copyright (C) 2023 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| // |
| |
| package { |
| // See: http://go/android-license-faq |
| default_applicable_licenses: [ |
| "Android-Apache-2.0", |
| ], |
| default_team: "trendy_team_system_experience", |
| } |
| |
| android_test { |
| name: "CarSystemUITests", |
| |
| dxflags: [ |
| "--multi-dex", |
| "-JXmx8192M", // TODO(b/301283770): Compiling CarSystemUI should not require -J-Xmx8192M |
| ], |
| platform_apis: true, |
| test_suites: [ |
| "device-tests", |
| "automotive-tests", |
| ], |
| static_libs: ["CarSystemUI-tests"], |
| compile_multilib: "both", |
| |
| jni_libs: [ |
| "libdexmakerjvmtiagent", |
| "libmultiplejvmtiagentsinterferenceagent", |
| "libstaticjvmtiagent", |
| ], |
| libs: [ |
| "android.test.runner.stubs.system", |
| "telephony-common", |
| "android.test.base.stubs.system", |
| "token-shared-lib-prebuilt", |
| ], |
| enforce_uses_libs: false, |
| aaptflags: [ |
| "--extra-packages com.android.systemui", |
| ], |
| |
| certificate: "platform", |
| |
| // TODO(b/319708040): re-enable use_resource_processor |
| use_resource_processor: false, |
| |
| additional_manifests: ["AndroidManifest.xml"], |
| manifest: "AndroidManifest-base.xml", |
| } |