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