1// Copyright (C) 2021 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
15package {
16    default_team: "trendy_team_aaos_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20aidl_interface {
21    name: "android-automotive-test-stable-parcelable-aidl",
22    srcs: ["aidl/*.aidl"],
23    unstable: true,
24    vendor_available: true,
25    backend: {
26        cpp: {
27            enabled: false,
28        },
29        ndk: {
30            enabled: true,
31        },
32    },
33}
34
35cc_test {
36    name: "android-automotive-large-parcelable-vendor-test",
37    defaults: [
38        "android-automotive-large-parcelable-defaults",
39    ],
40    srcs: [
41        "LargeParcelableTest.cpp",
42        "MappedFileSharedMemoryTest.cpp",
43    ],
44    whole_static_libs: [
45        "android-automotive-test-stable-parcelable-aidl-ndk",
46        "android-automotive-large-parcelable-lib",
47    ],
48    test_suites: ["device-tests"],
49}
50
51cc_test {
52    name: "android-automotive-large-parcelable-test",
53    vendor: true,
54    defaults: [
55        "android-automotive-large-parcelable-defaults",
56    ],
57    srcs: ["*.cpp"],
58    whole_static_libs: [
59        "android-automotive-test-stable-parcelable-aidl-ndk",
60        "android-automotive-large-parcelable-lib",
61    ],
62    test_suites: ["device-tests"],
63}
64