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
17art_cc_defaults {
18    name: "libart-disassembler-defaults",
19    defaults: ["art_defaults"],
20    host_supported: true,
21    clang: true,
22    srcs: [
23        "disassembler.cc",
24        "disassembler_arm.cc",
25        "disassembler_arm64.cc",
26        "disassembler_mips.cc",
27        "disassembler_x86.cc",
28    ],
29    include_dirs: ["art/runtime"],
30
31    shared_libs: [
32        "libbase",
33    ],
34    export_include_dirs: ["."],
35}
36
37art_cc_library {
38    name: "libart-disassembler",
39    defaults: ["libart-disassembler-defaults"],
40    shared_libs: [
41        // For disassembler_arm*.
42        "libvixl-arm",
43        "libvixl-arm64",
44    ],
45}
46
47art_cc_library {
48    name: "libartd-disassembler",
49    defaults: [
50        "libart-disassembler-defaults",
51        "art_debug_defaults",
52    ],
53    shared_libs: [
54        // For disassembler_arm*.
55        "libvixld-arm",
56        "libvixld-arm64",
57    ],
58}
59