Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 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 | |
Andreas Gampe | 5e03a30 | 2017-03-13 13:10:00 -0700 | [diff] [blame] | 16 | cc_library_headers { |
| 17 | name: "libopenjdkjvmti_headers", |
| 18 | host_supported: true, |
| 19 | export_include_dirs: ["include"], |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 20 | sdk_version: "current", |
Andreas Gampe | 5e03a30 | 2017-03-13 13:10:00 -0700 | [diff] [blame] | 21 | } |
| 22 | |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 23 | cc_defaults { |
| 24 | name: "libopenjdkjvmti_defaults", |
| 25 | defaults: ["art_defaults"], |
| 26 | host_supported: true, |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 27 | srcs: [ |
Alex Light | 0fa1786 | 2017-10-24 13:43:05 -0700 | [diff] [blame] | 28 | "deopt_manager.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 29 | "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 Light | 8c2b929 | 2017-11-09 13:21:01 -0800 | [diff] [blame] | 38 | "ti_ddms.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 39 | "ti_dump.cc", |
Alex Light | 3f33c0a | 2017-11-08 10:17:37 -0800 | [diff] [blame] | 40 | "ti_extension.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 41 | "ti_field.cc", |
| 42 | "ti_heap.cc", |
| 43 | "ti_jni.cc", |
Alex Light | ae45cbb | 2018-10-18 15:49:56 -0700 | [diff] [blame] | 44 | "ti_logging.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 45 | "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 Gampe | 373a9b5 | 2017-10-18 09:01:57 -0700 | [diff] [blame] | 58 | header_libs: [ |
| 59 | "libnativehelper_header_only", |
| 60 | "libopenjdkjvmti_headers", |
| 61 | ], |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 62 | shared_libs: [ |
| 63 | "libbase", |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 64 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | art_cc_library { |
| 68 | name: "libopenjdkjvmti", |
| 69 | defaults: ["libopenjdkjvmti_defaults"], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 70 | shared_libs: [ |
| 71 | "libart", |
| 72 | "libart-compiler", |
Mathieu Chartier | 21cf258 | 2018-01-08 17:09:48 -0800 | [diff] [blame] | 73 | "libart-dexlayout", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 74 | "libdexfile", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 75 | "libartbase", |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 76 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 77 | } |
| 78 | |
| 79 | art_cc_library { |
| 80 | name: "libopenjdkjvmtid", |
| 81 | defaults: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 82 | "art_debug_defaults", |
Colin Cross | c564406 | 2016-08-30 15:41:08 -0700 | [diff] [blame] | 83 | "libopenjdkjvmti_defaults", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 84 | ], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 85 | shared_libs: [ |
| 86 | "libartd", |
| 87 | "libartd-compiler", |
Mathieu Chartier | 21cf258 | 2018-01-08 17:09:48 -0800 | [diff] [blame] | 88 | "libartd-dexlayout", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 89 | "libdexfiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 90 | "libartbased", |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 91 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 92 | } |