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", |
| 44 | "ti_method.cc", |
| 45 | "ti_monitor.cc", |
| 46 | "ti_object.cc", |
| 47 | "ti_phase.cc", |
| 48 | "ti_properties.cc", |
| 49 | "ti_search.cc", |
| 50 | "ti_stack.cc", |
| 51 | "ti_redefine.cc", |
| 52 | "ti_thread.cc", |
| 53 | "ti_threadgroup.cc", |
| 54 | "ti_timers.cc", |
| 55 | "transform.cc", |
| 56 | ], |
Andreas Gampe | 373a9b5 | 2017-10-18 09:01:57 -0700 | [diff] [blame] | 57 | header_libs: [ |
| 58 | "libnativehelper_header_only", |
| 59 | "libopenjdkjvmti_headers", |
| 60 | ], |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 61 | shared_libs: [ |
| 62 | "libbase", |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 63 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | art_cc_library { |
| 67 | name: "libopenjdkjvmti", |
| 68 | defaults: ["libopenjdkjvmti_defaults"], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 69 | shared_libs: [ |
| 70 | "libart", |
| 71 | "libart-compiler", |
Mathieu Chartier | 21cf258 | 2018-01-08 17:09:48 -0800 | [diff] [blame] | 72 | "libart-dexlayout", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 73 | "libdexfile", |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 74 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | art_cc_library { |
| 78 | name: "libopenjdkjvmtid", |
| 79 | defaults: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 80 | "art_debug_defaults", |
Colin Cross | c564406 | 2016-08-30 15:41:08 -0700 | [diff] [blame] | 81 | "libopenjdkjvmti_defaults", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 82 | ], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 83 | shared_libs: [ |
| 84 | "libartd", |
| 85 | "libartd-compiler", |
Mathieu Chartier | 21cf258 | 2018-01-08 17:09:48 -0800 | [diff] [blame] | 86 | "libartd-dexlayout", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 87 | "libdexfiled", |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 88 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 89 | } |