blob: 88493091e616de14af5fb22c30ea4842fe6f45ec [file] [log] [blame]
Colin Crossfe6064a2016-08-30 13:49:26 -07001//
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
17art_cc_defaults {
18 name: "libart-disassembler-defaults",
19 defaults: ["art_defaults"],
20 host_supported: true,
Colin Crossfe6064a2016-08-30 13:49:26 -070021 srcs: [
22 "disassembler.cc",
23 "disassembler_arm.cc",
24 "disassembler_arm64.cc",
25 "disassembler_mips.cc",
26 "disassembler_x86.cc",
27 ],
Andreas Gampe31fcbf82016-09-12 16:22:43 -070028 include_dirs: ["art/runtime"],
Colin Crossfe6064a2016-08-30 13:49:26 -070029
30 shared_libs: [
Colin Crossfe6064a2016-08-30 13:49:26 -070031 "libbase",
32 ],
33 export_include_dirs: ["."],
34}
35
36art_cc_library {
37 name: "libart-disassembler",
38 defaults: ["libart-disassembler-defaults"],
39 shared_libs: [
Anton Kirilov29b0cde2016-09-06 13:01:03 +010040 // For disassembler_arm*.
41 "libvixl-arm",
Andreas Gampe31fcbf82016-09-12 16:22:43 -070042 "libvixl-arm64",
Colin Crossfe6064a2016-08-30 13:49:26 -070043 ],
44}
45
46art_cc_library {
47 name: "libartd-disassembler",
48 defaults: [
Colin Crossfe6064a2016-08-30 13:49:26 -070049 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -070050 "libart-disassembler-defaults",
Colin Crossfe6064a2016-08-30 13:49:26 -070051 ],
52 shared_libs: [
Anton Kirilov29b0cde2016-09-06 13:01:03 +010053 // For disassembler_arm*.
54 "libvixld-arm",
Colin Crossfe6064a2016-08-30 13:49:26 -070055 "libvixld-arm64",
56 ],
57}