//
// Copyright (C) 2017 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 {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

cc_defaults {
    name: "libprotoutil_defaults",

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-missing-field-initializers",
        "-Wno-unused-variable",
        "-Wunused-parameter",
    ],

    srcs: [
        "src/EncodedBuffer.cpp",
        "src/ProtoFileReader.cpp",
        "src/ProtoOutputStream.cpp",
        "src/ProtoReader.cpp",
        "src/protobuf.cpp",
    ],

    shared_libs: [
        "libbase",
        "libutils",
        "libcutils",
        "liblog",
    ],
}

cc_library {
    name: "libprotoutil",

    defaults: ["libprotoutil_defaults"],

    export_include_dirs: ["include"],

    apex_available: [
        "//apex_available:platform",
        "com.android.os.statsd",
        "test_com.android.os.statsd",
    ],
}

cc_test {
    name: "libprotoutil_test",

    defaults: ["libprotoutil_defaults"],

    local_include_dirs: ["include"],

    srcs: ["tests/*"],

    shared_libs: [
        "libprotobuf-cpp-full",
    ],

    static_libs: [
        "libgmock",
    ],

    proto: {
        type: "full",
    }
}
