blob: eebfec48ab8b189279c3699e1b7dc06f8c1a269e [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: [
27 "events.cc",
28 "fixed_up_dex_file.cc",
29 "object_tagging.cc",
30 "OpenjdkJvmTi.cc",
31 "ti_allocator.cc",
32 "ti_breakpoint.cc",
33 "ti_class.cc",
34 "ti_class_definition.cc",
35 "ti_class_loader.cc",
36 "ti_dump.cc",
37 "ti_field.cc",
38 "ti_heap.cc",
39 "ti_jni.cc",
40 "ti_method.cc",
41 "ti_monitor.cc",
42 "ti_object.cc",
43 "ti_phase.cc",
44 "ti_properties.cc",
45 "ti_search.cc",
46 "ti_stack.cc",
47 "ti_redefine.cc",
48 "ti_thread.cc",
49 "ti_threadgroup.cc",
50 "ti_timers.cc",
51 "transform.cc",
52 ],
Andreas Gampe373a9b52017-10-18 09:01:57 -070053 header_libs: [
54 "libnativehelper_header_only",
55 "libopenjdkjvmti_headers",
56 ],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070057 shared_libs: [
58 "libbase",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070059 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070060}
61
62art_cc_library {
63 name: "libopenjdkjvmti",
64 defaults: ["libopenjdkjvmti_defaults"],
Alex Light40528472017-03-28 09:07:36 -070065 shared_libs: [
66 "libart",
67 "libart-compiler",
68 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070069}
70
71art_cc_library {
72 name: "libopenjdkjvmtid",
73 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070074 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070075 "libopenjdkjvmti_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070076 ],
Alex Light40528472017-03-28 09:07:36 -070077 shared_libs: [
78 "libartd",
79 "libartd-compiler",
80 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070081}