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 visibility: ["//visibility:public"], 19 host_supported: true, 20 export_include_dirs: ["include"], 21 sdk_version: "current", 22 23 apex_available: [ 24 "//apex_available:platform", 25 "com.android.art.debug", 26 "com.android.art.release", 27 ], 28} 29 30cc_defaults { 31 name: "libopenjdkjvmti_defaults", 32 defaults: ["art_defaults"], 33 host_supported: true, 34 srcs: [ 35 "alloc_manager.cc", 36 "deopt_manager.cc", 37 "events.cc", 38 "fixed_up_dex_file.cc", 39 "object_tagging.cc", 40 "OpenjdkJvmTi.cc", 41 "ti_allocator.cc", 42 "ti_breakpoint.cc", 43 "ti_class.cc", 44 "ti_class_definition.cc", 45 "ti_class_loader.cc", 46 "ti_ddms.cc", 47 "ti_dump.cc", 48 "ti_extension.cc", 49 "ti_field.cc", 50 "ti_heap.cc", 51 "ti_jni.cc", 52 "ti_logging.cc", 53 "ti_method.cc", 54 "ti_monitor.cc", 55 "ti_object.cc", 56 "ti_phase.cc", 57 "ti_properties.cc", 58 "ti_search.cc", 59 "ti_stack.cc", 60 "ti_redefine.cc", 61 "ti_thread.cc", 62 "ti_threadgroup.cc", 63 "ti_timers.cc", 64 "transform.cc", 65 ], 66 header_libs: [ 67 "libnativehelper_header_only", 68 "libopenjdkjvmti_headers", 69 ], 70 shared_libs: [ 71 "libbase", 72 ], 73} 74 75art_cc_library { 76 name: "libopenjdkjvmti", 77 defaults: ["libopenjdkjvmti_defaults"], 78 shared_libs: [ 79 "libart", 80 "libart-compiler", 81 "libart-dexlayout", 82 "libdexfile", 83 "libartbase", 84 ], 85 apex_available: [ 86 "com.android.art.release", 87 "com.android.art.debug", 88 ], 89} 90 91art_cc_library { 92 name: "libopenjdkjvmtid", 93 defaults: [ 94 "art_debug_defaults", 95 "libopenjdkjvmti_defaults", 96 ], 97 shared_libs: [ 98 "libartd", 99 "libartd-compiler", 100 "libartd-dexlayout", 101 "libdexfiled", 102 "libartbased", 103 ], 104 apex_available: [ 105 "com.android.art.debug", 106 ], 107} 108