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 sdk_version: "current", 21} 22 23cc_defaults { 24 name: "libopenjdkjvmti_defaults", 25 defaults: ["art_defaults"], 26 host_supported: true, 27 srcs: [ 28 "deopt_manager.cc", 29 "events.cc", 30 "fixed_up_dex_file.cc", 31 "object_tagging.cc", 32 "OpenjdkJvmTi.cc", 33 "ti_allocator.cc", 34 "ti_breakpoint.cc", 35 "ti_class.cc", 36 "ti_class_definition.cc", 37 "ti_class_loader.cc", 38 "ti_ddms.cc", 39 "ti_dump.cc", 40 "ti_extension.cc", 41 "ti_field.cc", 42 "ti_heap.cc", 43 "ti_jni.cc", 44 "ti_method.cc", 45 "ti_monitor.cc", 46 "ti_object.cc", 47 "ti_phase.cc", 48 "ti_properties.cc", 49 "ti_search.cc", 50 "ti_stack.cc", 51 "ti_redefine.cc", 52 "ti_thread.cc", 53 "ti_threadgroup.cc", 54 "ti_timers.cc", 55 "transform.cc", 56 ], 57 header_libs: [ 58 "libnativehelper_header_only", 59 "libopenjdkjvmti_headers", 60 ], 61 shared_libs: [ 62 "libbase", 63 ], 64} 65 66art_cc_library { 67 name: "libopenjdkjvmti", 68 defaults: ["libopenjdkjvmti_defaults"], 69 shared_libs: [ 70 "libart", 71 "libart-compiler", 72 "libart-dexlayout", 73 "libdexfile", 74 ], 75} 76 77art_cc_library { 78 name: "libopenjdkjvmtid", 79 defaults: [ 80 "art_debug_defaults", 81 "libopenjdkjvmti_defaults", 82 ], 83 shared_libs: [ 84 "libartd", 85 "libartd-compiler", 86 "libartd-dexlayout", 87 "libdexfiled", 88 ], 89} 90