xref: /aosp_15_r20/frameworks/native/libs/binder/tests/binder_sdk/Android.bp (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1//
2// Copyright (C) 2024 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
17package {
18    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "frameworks_native_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: ["frameworks_native_license"],
24}
25
26sh_test_host {
27    name: "binder_sdk_test",
28    src: "binder_sdk_test.sh",
29    test_suites: ["general-tests"],
30    test_options: {
31        unit_test: false,
32    },
33
34    data: [
35        ":binder_sdk",
36        ":cmake_root",
37    ],
38    data_bins: [
39        "cmake",
40        "ctest",
41    ],
42}
43
44sh_test_host {
45    name: "binder_sdk_docker_test_gcc",
46    src: "binder_sdk_docker_test.sh",
47    test_suites: ["general-tests"],
48    test_options: {
49        unit_test: false,
50    },
51
52    data: [
53        ":binder_sdk",
54        "gcc.Dockerfile",
55    ],
56}
57
58sh_test_host {
59    name: "binder_sdk_docker_test_clang",
60    src: "binder_sdk_docker_test.sh",
61    test_suites: ["general-tests"],
62    test_options: {
63        unit_test: false,
64    },
65
66    data: [
67        ":binder_sdk",
68        "clang.Dockerfile",
69    ],
70}
71
72sh_test_host {
73    name: "binder_sdk_docker_test_gnumake",
74    src: "binder_sdk_docker_test.sh",
75    test_suites: ["general-tests"],
76    test_options: {
77        unit_test: false,
78    },
79
80    data: [
81        ":binder_sdk",
82        "gnumake.Dockerfile",
83    ],
84}
85