//
// 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.
//

// Build variants {target,host} x {debug,ndebug} x {32,64}
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: "ti-alloc-sample-base-defaults",
    srcs: ["ti_alloc_sample.cc"],
    defaults: ["art_defaults"],

    // Note that this tool needs to be built for both 32-bit and 64-bit since it requires
    // to be same ISA as what it is attached to.
    compile_multilib: "both",
    header_libs: [
        "libopenjdkjvmti_headers",
        "libnativehelper_header_only",
        "jni_headers",
    ],
}

cc_defaults {
    name: "ti-alloc-sample-defaults",
    host_supported: true,
    shared_libs: [
        "libbase",
    ],
    defaults: ["ti-alloc-sample-base-defaults"],
}

cc_defaults {
    name: "ti-alloc-sample-static-defaults",
    host_supported: false,
    defaults: ["ti-alloc-sample-base-defaults"],

    shared_libs: [
        "liblog",
    ],
    static_libs: [
        "libbase_ndk",
    ],
    sdk_version: "current",
    stl: "c++_static",
}

art_cc_library {
    name: "libtiallocsamples",
    defaults: ["ti-alloc-sample-static-defaults"],
}

art_cc_library {
    name: "libtiallocsample",
    defaults: ["ti-alloc-sample-defaults"],
}

art_cc_library {
    name: "libtiallocsampled",
    defaults: [
        "art_debug_defaults",
        "ti-alloc-sample-defaults",
    ],
}
