//
// Copyright (C) 2016 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 {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

bootstat_lib_src_files = [
    "boot_event_record_store.cpp",
]

cc_defaults {
    name: "bootstat_defaults",

    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
    ],
    header_libs: ["libgtest_prod_headers"],
}

// bootstat static library
// -----------------------------------------------------------------------------
cc_library_static {
    name: "libbootstat",
    defaults: ["bootstat_defaults"],
    srcs: bootstat_lib_src_files,
}

// bootstat static library, debug
// -----------------------------------------------------------------------------
cc_library_static {
    name: "libbootstat_debug",
    defaults: ["bootstat_defaults"],
    host_supported: true,
    srcs: bootstat_lib_src_files,

    target: {
        host: {
            cflags: ["-UNDEBUG"],
        },
    },
}

// bootstat binary
// -----------------------------------------------------------------------------
cc_binary {
    name: "bootstat",
    defaults: ["bootstat_defaults"],
    static_libs: ["libbootstat"],
    shared_libs: [
        "libstatslog"
    ],
    init_rc: ["bootstat.rc"],
    product_variables: {
        debuggable: {
            init_rc: ["bootstat-debug.rc"],
        },
    },
    srcs: ["bootstat.cpp"],
}

// Native tests
// -----------------------------------------------------------------------------
cc_test {
    name: "bootstat_tests",
    test_suites: ["device-tests"],
    defaults: ["bootstat_defaults"],
    host_supported: true,
    static_libs: [
        "libbootstat_debug",
        "libgmock",
    ],
    srcs: [
        "boot_event_record_store_test.cpp",
        "testrunner.cpp",
    ],
    test_options: {
        unit_test: true,
    },
}
