1// 2// Copyright (C) 2016 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15 16cc_library_headers { 17 name: "libopenjdkjvmti_headers", 18 host_supported: true, 19 export_include_dirs: ["include"], 20} 21 22cc_defaults { 23 name: "libopenjdkjvmti_defaults", 24 defaults: ["art_defaults"], 25 host_supported: true, 26 srcs: ["events.cc", 27 "fixed_up_dex_file.cc", 28 "object_tagging.cc", 29 "OpenjdkJvmTi.cc", 30 "ti_class.cc", 31 "ti_class_definition.cc", 32 "ti_class_loader.cc", 33 "ti_dump.cc", 34 "ti_field.cc", 35 "ti_heap.cc", 36 "ti_jni.cc", 37 "ti_method.cc", 38 "ti_monitor.cc", 39 "ti_object.cc", 40 "ti_phase.cc", 41 "ti_properties.cc", 42 "ti_search.cc", 43 "ti_stack.cc", 44 "ti_redefine.cc", 45 "ti_thread.cc", 46 "ti_threadgroup.cc", 47 "ti_timers.cc", 48 "transform.cc"], 49 include_dirs: ["art/runtime"], 50 header_libs: ["libopenjdkjvmti_headers"], 51 shared_libs: [ 52 "libbase", 53 "libnativehelper", 54 ], 55} 56 57art_cc_library { 58 name: "libopenjdkjvmti", 59 defaults: ["libopenjdkjvmti_defaults"], 60 shared_libs: [ 61 "libart", 62 "libart-compiler", 63 ], 64} 65 66art_cc_library { 67 name: "libopenjdkjvmtid", 68 defaults: [ 69 "art_debug_defaults", 70 "libopenjdkjvmti_defaults", 71 ], 72 shared_libs: [ 73 "libartd", 74 "libartd-compiler", 75 ], 76} 77