//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

package {
    // http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // the below license kinds from "system_bpf_license":
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_bpf_license"],
}

cc_library {
    name: "libbpf_android",
    vendor_available: false,
    host_supported: false,
    target: {
        android: {
            srcs: [
                "Loader.cpp",
            ],
            sanitize: {
                misc_undefined: ["integer"],
            },
        },
    },

    shared_libs: [
        "libbase",
        "libcutils",
        "libutils",
        "liblog",
        "libbpf_bcc",
        "libbpf_minimal",
    ],
    header_libs: [
        "bpf_headers",
    ],
    export_header_lib_headers: [
        "bpf_headers",
    ],
    export_shared_lib_headers: ["libbpf_bcc"],
    export_include_dirs: ["include"],

    defaults: ["bpf_defaults"],
    cflags: [
        "-Werror",
        "-Wall",
        "-Wextra",
    ],
}

cc_test {
    name: "libbpf_load_test",
    test_suites: ["general-tests"],
    header_libs: ["bpf_headers"],
    srcs: [
        "BpfLoadTest.cpp",
    ],
    defaults: ["bpf_defaults"],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=unused-variable",
    ],
    static_libs: ["libgmock"],
    shared_libs: [
        "libbpf_android",
        "libbpf_bcc",
        "libbpf_minimal",
        "libbase",
        "liblog",
        "libutils",
    ],

    data: [
        ":bpfLoadTpProg.o",
        ":bpfLoadTpProgBtf.o",
    ],
    require_root: true,
}
