xref: /aosp_15_r20/frameworks/base/core/tests/overlaytests/host/test-apps/SignatureOverlay/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Error: Cannot get the name of the license module in the
16// ./Android.bp file.
17// If no such license module exists, please add one there first.
18// Then reset the default_applicable_licenses property below with the license module name.
19package {
20    // See: http://go/android-license-faq
21    default_applicable_licenses: ["frameworks_base_license"],
22}
23
24android_test_helper_app {
25    name: "OverlayHostTests_NonPlatformSignatureOverlay",
26    sdk_version: "current",
27    test_suites: ["device-tests"],
28    aaptflags: [
29        "--custom-package com.android.server.om.hosttest.signature_overlay_bad",
30    ],
31}
32
33android_test_helper_app {
34    name: "OverlayHostTests_PlatformSignatureStaticOverlay",
35    sdk_version: "current",
36    test_suites: ["device-tests"],
37    certificate: "platform",
38    manifest: "static/AndroidManifest.xml",
39    aaptflags: [
40        "--custom-package com.android.server.om.hosttest.signature_overlay_static",
41    ],
42}
43
44android_test_helper_app {
45    name: "OverlayHostTests_PlatformSignatureOverlay",
46    sdk_version: "current",
47    test_suites: ["device-tests"],
48    certificate: "platform",
49    aaptflags: [
50        "--custom-package",
51        "com.android.server.om.hosttest.signature_overlay_v1",
52        "--version-code",
53        "1",
54        "--version-name",
55        "v1",
56    ],
57}
58