blob: 7621d48f6e97254a429787e80f3a3964541f4e9b [file] [log] [blame]
Colin Cross1f7f3bd2016-07-27 10:12:38 -07001//
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
Andreas Gampe5e03a302017-03-13 13:10:00 -070016cc_library_headers {
17 name: "libopenjdkjvmti_headers",
18 host_supported: true,
19 export_include_dirs: ["include"],
Andreas Gampecb5125d2018-02-20 09:36:54 -080020 sdk_version: "current",
Andreas Gampe5e03a302017-03-13 13:10:00 -070021}
22
Colin Cross1f7f3bd2016-07-27 10:12:38 -070023cc_defaults {
24 name: "libopenjdkjvmti_defaults",
25 defaults: ["art_defaults"],
26 host_supported: true,
Dan Willemsen2ca27802017-09-27 14:57:43 -070027 srcs: [
Alex Light0fa17862017-10-24 13:43:05 -070028 "deopt_manager.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070029 "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",
Alex Light8c2b9292017-11-09 13:21:01 -080038 "ti_ddms.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070039 "ti_dump.cc",
Alex Light3f33c0a2017-11-08 10:17:37 -080040 "ti_extension.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070041 "ti_field.cc",
42 "ti_heap.cc",
43 "ti_jni.cc",
Alex Lightae45cbb2018-10-18 15:49:56 -070044 "ti_logging.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070045 "ti_method.cc",
46 "ti_monitor.cc",
47 "ti_object.cc",
48 "ti_phase.cc",
49 "ti_properties.cc",
50 "ti_search.cc",
51 "ti_stack.cc",
52 "ti_redefine.cc",
53 "ti_thread.cc",
54 "ti_threadgroup.cc",
55 "ti_timers.cc",
56 "transform.cc",
57 ],
Andreas Gampe373a9b52017-10-18 09:01:57 -070058 header_libs: [
59 "libnativehelper_header_only",
60 "libopenjdkjvmti_headers",
61 ],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070062 shared_libs: [
63 "libbase",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070064 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070065}
66
67art_cc_library {
68 name: "libopenjdkjvmti",
69 defaults: ["libopenjdkjvmti_defaults"],
Alex Light40528472017-03-28 09:07:36 -070070 shared_libs: [
71 "libart",
72 "libart-compiler",
Mathieu Chartier21cf2582018-01-08 17:09:48 -080073 "libart-dexlayout",
David Sehrfcbe15c2018-02-15 09:41:13 -080074 "libdexfile",
David Sehr1f010162018-05-15 08:59:32 -070075 "libartbase",
Alex Light40528472017-03-28 09:07:36 -070076 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070077}
78
79art_cc_library {
80 name: "libopenjdkjvmtid",
81 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070082 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070083 "libopenjdkjvmti_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070084 ],
Alex Light40528472017-03-28 09:07:36 -070085 shared_libs: [
86 "libartd",
87 "libartd-compiler",
Mathieu Chartier21cf2582018-01-08 17:09:48 -080088 "libartd-dexlayout",
David Sehrfcbe15c2018-02-15 09:41:13 -080089 "libdexfiled",
David Sehr1f010162018-05-15 08:59:32 -070090 "libartbased",
Alex Light40528472017-03-28 09:07:36 -070091 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070092}