xref: /aosp_15_r20/cts/tests/tests/secure_element/omapi/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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//////////////////////////////////////////////////////////////////
16// Signed Package
17
18package {
19    default_team: "trendy_team_fwk_nfc",
20    default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
23android_test_import {
24    name: "signed-CtsOmapiTestCases",
25    apk: "apk/signed-CtsOmapiTestCases.apk",
26
27    test_suites: [
28        "cts",
29        "general-tests",
30    ],
31    // Make sure the build system doesn't try to resign the APK
32    preprocessed: true,
33    presigned: true,
34    dex_preopt: {
35        enabled: false,
36    },
37}
38
39//#################################################################
40// Unsigned Package
41
42android_test_helper_app {
43    name: "CtsOmapiTestCases",
44    defaults: ["cts_defaults"],
45    static_libs: [
46        "ctstestrunner-axt",
47        "compatibility-device-util-axt",
48    ],
49    srcs: ["src/**/*.java"],
50    // was: sdk_version: "current",
51    libs: [
52        "android.test.runner.stubs.test",
53        "android.test.base.stubs.test",
54    ],
55    // Tag this module as a cts test artifact
56    test_suites: [
57        "cts",
58        "general-tests",
59    ],
60    dist: {
61        targets: ["cts"],
62    },
63    sdk_version: "test_current",
64}
65