xref: /aosp_15_r20/system/nvram/messages/tests/Android.bp (revision 7ba4dab5cc5e3c8f3eb594dcf3b33f99d9214aee)
1*7ba4dab5SXin Li//
2*7ba4dab5SXin Li// Copyright (C) 2016 The Android Open Source Project
3*7ba4dab5SXin Li//
4*7ba4dab5SXin Li// Licensed under the Apache License, Version 2.0 (the "License");
5*7ba4dab5SXin Li// you may not use this file except in compliance with the License.
6*7ba4dab5SXin Li// You may obtain a copy of the License at
7*7ba4dab5SXin Li//
8*7ba4dab5SXin Li//      http://www.apache.org/licenses/LICENSE-2.0
9*7ba4dab5SXin Li//
10*7ba4dab5SXin Li// Unless required by applicable law or agreed to in writing, software
11*7ba4dab5SXin Li// distributed under the License is distributed on an "AS IS" BASIS,
12*7ba4dab5SXin Li// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*7ba4dab5SXin Li// See the License for the specific language governing permissions and
14*7ba4dab5SXin Li// limitations under the License.
15*7ba4dab5SXin Li//
16*7ba4dab5SXin Li
17*7ba4dab5SXin Lipackage {
18*7ba4dab5SXin Li    default_team: "trendy_team_security",
19*7ba4dab5SXin Li    default_applicable_licenses: ["Android-Apache-2.0"],
20*7ba4dab5SXin Li}
21*7ba4dab5SXin Li
22*7ba4dab5SXin Licc_test_host {
23*7ba4dab5SXin Li    name: "libnvram-messages-tests",
24*7ba4dab5SXin Li    srcs: [
25*7ba4dab5SXin Li        "io_test.cpp",
26*7ba4dab5SXin Li        "nvram_messages_test.cpp",
27*7ba4dab5SXin Li    ],
28*7ba4dab5SXin Li    cflags: [
29*7ba4dab5SXin Li        "-Wall",
30*7ba4dab5SXin Li        "-Werror",
31*7ba4dab5SXin Li        "-Wextra",
32*7ba4dab5SXin Li    ],
33*7ba4dab5SXin Li    shared_libs: ["libnvram-messages"],
34*7ba4dab5SXin Li}
35