xref: /aosp_15_r20/external/libese/libese-teq1/tests/Android.bp (revision 5c4dab75aa57366379dce576b1a9e082a44e2b3a)
1*5c4dab75SAndroid Build Coastguard Worker//
2*5c4dab75SAndroid Build Coastguard Worker// Copyright (C) 2017 The Android Open Source Project
3*5c4dab75SAndroid Build Coastguard Worker//
4*5c4dab75SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
5*5c4dab75SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
6*5c4dab75SAndroid Build Coastguard Worker// You may obtain a copy of the License at
7*5c4dab75SAndroid Build Coastguard Worker//
8*5c4dab75SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
9*5c4dab75SAndroid Build Coastguard Worker//
10*5c4dab75SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
11*5c4dab75SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
12*5c4dab75SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*5c4dab75SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
14*5c4dab75SAndroid Build Coastguard Worker// limitations under the License.
15*5c4dab75SAndroid Build Coastguard Worker//
16*5c4dab75SAndroid Build Coastguard Worker
17*5c4dab75SAndroid Build Coastguard Workerpackage {
18*5c4dab75SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
19*5c4dab75SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
20*5c4dab75SAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_libese_license"
21*5c4dab75SAndroid Build Coastguard Worker    // to get the below license kinds:
22*5c4dab75SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
23*5c4dab75SAndroid Build Coastguard Worker    default_applicable_licenses: ["external_libese_license"],
24*5c4dab75SAndroid Build Coastguard Worker}
25*5c4dab75SAndroid Build Coastguard Worker
26*5c4dab75SAndroid Build Coastguard Workercc_test {
27*5c4dab75SAndroid Build Coastguard Worker    name: "ese_teq1_unittests",
28*5c4dab75SAndroid Build Coastguard Worker    proprietary: true,
29*5c4dab75SAndroid Build Coastguard Worker    srcs: ["teq1_unittests.cpp", "ese_operations_wrapper.cpp" ],
30*5c4dab75SAndroid Build Coastguard Worker    cflags: ["-Wall", "-Wno-single-bit-bitfield-constant-conversion", "-Werror"],
31*5c4dab75SAndroid Build Coastguard Worker    host_supported: true,
32*5c4dab75SAndroid Build Coastguard Worker    shared_libs: [
33*5c4dab75SAndroid Build Coastguard Worker        "libese",
34*5c4dab75SAndroid Build Coastguard Worker        "libese-teq1-private",
35*5c4dab75SAndroid Build Coastguard Worker        "liblog",
36*5c4dab75SAndroid Build Coastguard Worker    ],
37*5c4dab75SAndroid Build Coastguard Worker}
38