blob: 169822c097efbfdba79b093f3512019137fee96f [file] [log] [blame]
Colin Crossfe6064a2016-08-30 13:49:26 -07001//
2// Copyright (C) 2011 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
17cc_defaults {
18 name: "oatdump-defaults",
19 defaults: ["art_defaults"],
20 host_supported: true,
21 srcs: ["oatdump.cc"],
22 target: {
23 android: {
24 shared_libs: ["libcutils"],
25 },
26 },
27 include_dirs: ["art/cmdline"],
28}
29
30art_cc_binary {
31 name: "oatdump",
32 defaults: ["oatdump-defaults"],
33 shared_libs: [
34 "libart",
35 "libart-compiler",
36 "libart-disassembler",
37 ],
38}
39
40art_cc_binary {
41 name: "oatdumpd",
42 defaults: [
43 "art_debug_defaults",
44 "oatdump-defaults",
45 ],
46 shared_libs: [
47 "libartd",
48 "libartd-compiler",
49 "libartd-disassembler",
50 ],
51}
52
53art_cc_binary {
54 name: "oatdumps",
55 defaults: ["oatdump-defaults"],
56 static_libs: [
57 "libart",
58 "libart-compiler",
59 "libart-disassembler",
60 "libvixl-arm",
61 "libvixl-arm64",
62 ] + art_static_dependencies,
63}
64
65art_cc_binary {
66 name: "oatdumpds",
67 defaults: [
68 "art_debug_defaults",
69 "oatdump-defaults",
70 ],
71 static_libs: [
72 "libartd",
73 "libartd-compiler",
74 "libartd-disassembler",
75 "libvixld-arm",
76 "libvixld-arm64",
77 ] + art_static_dependencies,
78}
79