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

cc_library_headers {
    name: "libopenjdkjvmti_headers",
    host_supported: true,
    export_include_dirs: ["include"],
}

cc_defaults {
    name: "libopenjdkjvmti_defaults",
    defaults: ["art_defaults"],
    host_supported: true,
    srcs: [
        "events.cc",
        "fixed_up_dex_file.cc",
        "object_tagging.cc",
        "OpenjdkJvmTi.cc",
        "ti_allocator.cc",
        "ti_breakpoint.cc",
        "ti_class.cc",
        "ti_class_definition.cc",
        "ti_class_loader.cc",
        "ti_dump.cc",
        "ti_field.cc",
        "ti_heap.cc",
        "ti_jni.cc",
        "ti_method.cc",
        "ti_monitor.cc",
        "ti_object.cc",
        "ti_phase.cc",
        "ti_properties.cc",
        "ti_search.cc",
        "ti_stack.cc",
        "ti_redefine.cc",
        "ti_thread.cc",
        "ti_threadgroup.cc",
        "ti_timers.cc",
        "transform.cc",
    ],
    header_libs: ["libopenjdkjvmti_headers"],
    shared_libs: [
        "libbase",
        "libnativehelper",
    ],
}

art_cc_library {
    name: "libopenjdkjvmti",
    defaults: ["libopenjdkjvmti_defaults"],
    shared_libs: [
        "libart",
        "libart-compiler",
    ],
}

art_cc_library {
    name: "libopenjdkjvmtid",
    defaults: [
        "art_debug_defaults",
        "libopenjdkjvmti_defaults",
    ],
    shared_libs: [
        "libartd",
        "libartd-compiler",
    ],
}
