1// Copyright (C) 2019 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
15cc_library {
16    name: "libadbd_auth",
17    cflags: [
18        "-Wall",
19        "-Wextra",
20        "-Wthread-safety",
21        "-Werror",
22    ],
23    stl: "libc++_static",
24
25    srcs: ["adbd_auth.cpp"],
26    export_include_dirs: ["include"],
27
28    version_script: "libadbd_auth.map.txt",
29    stubs: {
30        versions: ["30"],
31        symbol_file: "libadbd_auth.map.txt",
32    },
33
34    host_supported: true,
35    recovery_available: true,
36    target: {
37        darwin: {
38            enabled: false,
39        }
40    },
41
42    static_libs: [
43        "libbase",
44        "libcutils",
45        "liblog",
46    ],
47}
48