Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2012 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 | // |
| 16 | |
| 17 | art_cc_defaults { |
| 18 | name: "libart-disassembler-defaults", |
| 19 | defaults: ["art_defaults"], |
| 20 | host_supported: true, |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 21 | srcs: [ |
| 22 | "disassembler.cc", |
| 23 | "disassembler_arm.cc", |
| 24 | "disassembler_arm64.cc", |
| 25 | "disassembler_mips.cc", |
| 26 | "disassembler_x86.cc", |
| 27 | ], |
Andreas Gampe | 31fcbf8 | 2016-09-12 16:22:43 -0700 | [diff] [blame] | 28 | include_dirs: ["art/runtime"], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 29 | |
| 30 | shared_libs: [ |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 31 | "libbase", |
| 32 | ], |
David Sehr | 67bf42e | 2018-02-26 16:43:04 -0800 | [diff] [blame] | 33 | header_libs: [ |
| 34 | "art_libartbase_headers", |
| 35 | ], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 36 | export_include_dirs: ["."], |
| 37 | } |
| 38 | |
| 39 | art_cc_library { |
| 40 | name: "libart-disassembler", |
| 41 | defaults: ["libart-disassembler-defaults"], |
| 42 | shared_libs: [ |
Anton Kirilov | 29b0cde | 2016-09-06 13:01:03 +0100 | [diff] [blame] | 43 | // For disassembler_arm*. |
| 44 | "libvixl-arm", |
Andreas Gampe | 31fcbf8 | 2016-09-12 16:22:43 -0700 | [diff] [blame] | 45 | "libvixl-arm64", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 46 | ], |
| 47 | } |
| 48 | |
| 49 | art_cc_library { |
| 50 | name: "libartd-disassembler", |
| 51 | defaults: [ |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 52 | "art_debug_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 53 | "libart-disassembler-defaults", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 54 | ], |
| 55 | shared_libs: [ |
Anton Kirilov | 29b0cde | 2016-09-06 13:01:03 +0100 | [diff] [blame] | 56 | // For disassembler_arm*. |
| 57 | "libvixld-arm", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 58 | "libvixld-arm64", |
| 59 | ], |
| 60 | } |