1//
2// Copyright (C) 2022 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_defaults {
21    name: "smapinfo_defaults",
22    vendor_available: true,
23    cflags: [
24        "-Wall",
25        "-Werror",
26    ],
27    shared_libs: [
28        "libbase",
29        "libmeminfo",
30        "libprocinfo",
31    ],
32}
33
34cc_library_shared {
35    name: "libsmapinfo",
36    host_supported: true,
37    defaults: ["smapinfo_defaults"],
38    export_include_dirs: ["include"],
39    srcs: ["processrecord.cpp",
40           "smapinfo.cpp"],
41    target: {
42        darwin: {
43            enabled: false,
44        },
45    },
46}
47
48