blob: 1553b78f460dc1882faac0f3f6bd24b50c349985 [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"],
20}
21
Colin Cross1f7f3bd2016-07-27 10:12:38 -070022cc_defaults {
23 name: "libopenjdkjvmti_defaults",
24 defaults: ["art_defaults"],
25 host_supported: true,
Dan Willemsen2ca27802017-09-27 14:57:43 -070026 srcs: [
Alex Light0fa17862017-10-24 13:43:05 -070027 "deopt_manager.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070028 "events.cc",
29 "fixed_up_dex_file.cc",
30 "object_tagging.cc",
31 "OpenjdkJvmTi.cc",
32 "ti_allocator.cc",
33 "ti_breakpoint.cc",
34 "ti_class.cc",
35 "ti_class_definition.cc",
36 "ti_class_loader.cc",
Alex Light8c2b9292017-11-09 13:21:01 -080037 "ti_ddms.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070038 "ti_dump.cc",
Alex Light3f33c0a2017-11-08 10:17:37 -080039 "ti_extension.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -070040 "ti_field.cc",
41 "ti_heap.cc",
42 "ti_jni.cc",
43 "ti_method.cc",
44 "ti_monitor.cc",
45 "ti_object.cc",
46 "ti_phase.cc",
47 "ti_properties.cc",
48 "ti_search.cc",
49 "ti_stack.cc",
50 "ti_redefine.cc",
51 "ti_thread.cc",
52 "ti_threadgroup.cc",
53 "ti_timers.cc",
54 "transform.cc",
55 ],
Andreas Gampe373a9b52017-10-18 09:01:57 -070056 header_libs: [
57 "libnativehelper_header_only",
58 "libopenjdkjvmti_headers",
59 ],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070060 shared_libs: [
61 "libbase",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070062 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070063}
64
65art_cc_library {
66 name: "libopenjdkjvmti",
67 defaults: ["libopenjdkjvmti_defaults"],
Alex Light40528472017-03-28 09:07:36 -070068 shared_libs: [
69 "libart",
70 "libart-compiler",
Mathieu Chartier21cf2582018-01-08 17:09:48 -080071 "libart-dexlayout",
David Sehrfcbe15c2018-02-15 09:41:13 -080072 "libdexfile",
Alex Light40528472017-03-28 09:07:36 -070073 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070074}
75
76art_cc_library {
77 name: "libopenjdkjvmtid",
78 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070079 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070080 "libopenjdkjvmti_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070081 ],
Alex Light40528472017-03-28 09:07:36 -070082 shared_libs: [
83 "libartd",
84 "libartd-compiler",
Mathieu Chartier21cf2582018-01-08 17:09:48 -080085 "libartd-dexlayout",
David Sehrfcbe15c2018-02-15 09:41:13 -080086 "libdexfiled",
Alex Light40528472017-03-28 09:07:36 -070087 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070088}