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

cc_defaults {
    name: "signal_dumper_libbase_static_deps",
    static_libs: ["liblog"],
}

cc_defaults {
    name: "signal_dumper_libunwindstack_static_deps",
    defaults: [
        "libdexfile_support_static_defaults",
        "signal_dumper_libbase_static_deps",
    ],
    static_libs: [
        "libbase",
        "liblog",
        "liblzma",
    ],
    target: {
        bionic: {
            whole_static_libs: [
                "libasync_safe",
            ],
        },
    },
}

art_cc_binary {
    name: "signal_dumper",

    host_supported: true,
    target: {
        darwin: {
            enabled: false,
        },
    },
    device_supported: true,

    defaults: [
        "art_defaults",
        "signal_dumper_libbase_static_deps",
        "signal_dumper_libunwindstack_static_deps",
    ],

    srcs: ["signal_dumper.cc"],

    static_libs: [
        "libbase",
        "libunwindstack",
    ],
}
