blob: e38f265c5a466c6de2db178b53bfdc9931eff51d [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,
Andreas Gampe77708d92016-10-07 11:48:21 -070026 srcs: ["events.cc",
Alex Light40528472017-03-28 09:07:36 -070027 "fixed_up_dex_file.cc",
Andreas Gampecc13b222016-10-10 19:09:09 -070028 "object_tagging.cc",
Andreas Gampe77708d92016-10-07 11:48:21 -070029 "OpenjdkJvmTi.cc",
Andreas Gampee492ae32016-10-28 19:34:57 -070030 "ti_class.cc",
Alex Lighta7e38d82017-01-19 14:57:28 -080031 "ti_class_definition.cc",
Alex Lighteb98b082017-01-25 13:02:32 -080032 "ti_class_loader.cc",
Andreas Gampeeb0cea12017-01-23 08:50:04 -080033 "ti_dump.cc",
Andreas Gampeab2f0d02017-01-05 17:23:45 -080034 "ti_field.cc",
Andreas Gampeba8df692016-11-01 10:30:44 -070035 "ti_heap.cc",
Andreas Gampe6f8e4f02017-01-16 18:18:14 -080036 "ti_jni.cc",
Andreas Gampe3c252f02016-10-27 18:25:17 -070037 "ti_method.cc",
Andreas Gampe319dbe82017-01-09 16:42:21 -080038 "ti_monitor.cc",
Andreas Gampe50a4e492017-01-06 18:00:20 -080039 "ti_object.cc",
Andreas Gampe96eca782017-01-19 19:45:30 -080040 "ti_phase.cc",
Andreas Gampe1bdaf732017-01-09 19:21:06 -080041 "ti_properties.cc",
Andreas Gampece7732b2017-01-17 15:50:26 -080042 "ti_search.cc",
Andreas Gampeb5eb94a2016-10-27 19:23:09 -070043 "ti_stack.cc",
Alex Lighta01de592016-11-15 10:43:06 -080044 "ti_redefine.cc",
Andreas Gampeaf13ab92017-01-11 20:57:40 -080045 "ti_thread.cc",
Andreas Gamped18d9e22017-01-16 16:08:45 +000046 "ti_threadgroup.cc",
Andreas Gampe35bcf812017-01-13 16:24:17 -080047 "ti_timers.cc",
Alex Light9c20a142016-08-23 15:05:12 -070048 "transform.cc"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070049 include_dirs: ["art/runtime"],
Andreas Gampe5e03a302017-03-13 13:10:00 -070050 header_libs: ["libopenjdkjvmti_headers"],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070051 shared_libs: [
52 "libbase",
53 "libnativehelper",
54 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070055}
56
57art_cc_library {
58 name: "libopenjdkjvmti",
59 defaults: ["libopenjdkjvmti_defaults"],
Alex Light40528472017-03-28 09:07:36 -070060 shared_libs: [
61 "libart",
62 "libart-compiler",
63 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070064}
65
66art_cc_library {
67 name: "libopenjdkjvmtid",
68 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070069 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070070 "libopenjdkjvmti_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070071 ],
Alex Light40528472017-03-28 09:07:36 -070072 shared_libs: [
73 "libartd",
74 "libartd-compiler",
75 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070076}