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"], |
| 20 | } |
| 21 | |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 22 | cc_defaults { |
| 23 | name: "libopenjdkjvmti_defaults", |
| 24 | defaults: ["art_defaults"], |
| 25 | host_supported: true, |
Andreas Gampe | 77708d9 | 2016-10-07 11:48:21 -0700 | [diff] [blame] | 26 | srcs: ["events.cc", |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 27 | "fixed_up_dex_file.cc", |
Andreas Gampe | cc13b22 | 2016-10-10 19:09:09 -0700 | [diff] [blame] | 28 | "object_tagging.cc", |
Andreas Gampe | 77708d9 | 2016-10-07 11:48:21 -0700 | [diff] [blame] | 29 | "OpenjdkJvmTi.cc", |
Alex Light | bf64a57 | 2017-07-05 10:34:49 -0700 | [diff] [blame] | 30 | "ti_allocator.cc", |
Alex Light | a26e349 | 2017-06-27 17:55:37 -0700 | [diff] [blame] | 31 | "ti_breakpoint.cc", |
Andreas Gampe | e492ae3 | 2016-10-28 19:34:57 -0700 | [diff] [blame] | 32 | "ti_class.cc", |
Alex Light | a7e38d8 | 2017-01-19 14:57:28 -0800 | [diff] [blame] | 33 | "ti_class_definition.cc", |
Alex Light | eb98b08 | 2017-01-25 13:02:32 -0800 | [diff] [blame] | 34 | "ti_class_loader.cc", |
Andreas Gampe | eb0cea1 | 2017-01-23 08:50:04 -0800 | [diff] [blame] | 35 | "ti_dump.cc", |
Andreas Gampe | ab2f0d0 | 2017-01-05 17:23:45 -0800 | [diff] [blame] | 36 | "ti_field.cc", |
Andreas Gampe | ba8df69 | 2016-11-01 10:30:44 -0700 | [diff] [blame] | 37 | "ti_heap.cc", |
Andreas Gampe | 6f8e4f0 | 2017-01-16 18:18:14 -0800 | [diff] [blame] | 38 | "ti_jni.cc", |
Andreas Gampe | 3c252f0 | 2016-10-27 18:25:17 -0700 | [diff] [blame] | 39 | "ti_method.cc", |
Andreas Gampe | 319dbe8 | 2017-01-09 16:42:21 -0800 | [diff] [blame] | 40 | "ti_monitor.cc", |
Andreas Gampe | 50a4e49 | 2017-01-06 18:00:20 -0800 | [diff] [blame] | 41 | "ti_object.cc", |
Andreas Gampe | 96eca78 | 2017-01-19 19:45:30 -0800 | [diff] [blame] | 42 | "ti_phase.cc", |
Andreas Gampe | 1bdaf73 | 2017-01-09 19:21:06 -0800 | [diff] [blame] | 43 | "ti_properties.cc", |
Andreas Gampe | ce7732b | 2017-01-17 15:50:26 -0800 | [diff] [blame] | 44 | "ti_search.cc", |
Andreas Gampe | b5eb94a | 2016-10-27 19:23:09 -0700 | [diff] [blame] | 45 | "ti_stack.cc", |
Alex Light | a01de59 | 2016-11-15 10:43:06 -0800 | [diff] [blame] | 46 | "ti_redefine.cc", |
Andreas Gampe | af13ab9 | 2017-01-11 20:57:40 -0800 | [diff] [blame] | 47 | "ti_thread.cc", |
Andreas Gampe | d18d9e2 | 2017-01-16 16:08:45 +0000 | [diff] [blame] | 48 | "ti_threadgroup.cc", |
Andreas Gampe | 35bcf81 | 2017-01-13 16:24:17 -0800 | [diff] [blame] | 49 | "ti_timers.cc", |
Alex Light | 9c20a14 | 2016-08-23 15:05:12 -0700 | [diff] [blame] | 50 | "transform.cc"], |
Andreas Gampe | 5e03a30 | 2017-03-13 13:10:00 -0700 | [diff] [blame] | 51 | header_libs: ["libopenjdkjvmti_headers"], |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 52 | shared_libs: [ |
| 53 | "libbase", |
| 54 | "libnativehelper", |
| 55 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | art_cc_library { |
| 59 | name: "libopenjdkjvmti", |
| 60 | defaults: ["libopenjdkjvmti_defaults"], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 61 | shared_libs: [ |
| 62 | "libart", |
| 63 | "libart-compiler", |
| 64 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | art_cc_library { |
| 68 | name: "libopenjdkjvmtid", |
| 69 | defaults: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 70 | "art_debug_defaults", |
Colin Cross | c564406 | 2016-08-30 15:41:08 -0700 | [diff] [blame] | 71 | "libopenjdkjvmti_defaults", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 72 | ], |
Alex Light | 4052847 | 2017-03-28 09:07:36 -0700 | [diff] [blame] | 73 | shared_libs: [ |
| 74 | "libartd", |
| 75 | "libartd-compiler", |
| 76 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 77 | } |