blob: 4916d643c637f135cfdfc9a66c167975ba735995 [file] [log] [blame]
Colin Crossfe6064a2016-08-30 13:49:26 -07001// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// TODO(ajcbik): rename dexdump2 into dexdump when Dalvik version is removed
16
17art_cc_binary {
18 name: "dexdump2",
19 host_supported: true,
20 srcs: [
David Sehrcaacd112016-10-20 16:27:02 -070021 "dexdump_cfg.cc",
Colin Crossfe6064a2016-08-30 13:49:26 -070022 "dexdump_main.cc",
23 "dexdump.cc",
24 ],
Chih-Hung Hsiehfefd3182017-09-29 16:18:00 -070025 cflags: ["-Wall", "-Werror"],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070026 shared_libs: [
27 "libart",
28 "libbase",
29 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070030}
Colin Cross6e95dd52016-09-12 15:37:10 -070031
Colin Crossa9c05322017-10-19 10:25:42 -070032art_cc_binary {
33 name: "dexdumps",
34 host_supported: true,
35 device_supported: false,
36 srcs: [
37 "dexdump_cfg.cc",
38 "dexdump_main.cc",
39 "dexdump.cc",
40 ],
Chih-Hung Hsiehac643042017-10-26 11:00:03 -070041 cflags: ["-Wall", "-Werror"],
Colin Crossa9c05322017-10-19 10:25:42 -070042 static_libs: [
43 "libart",
44 "libbase",
45 ] + art_static_dependencies,
46 target: {
47 darwin: {
48 enabled: false,
49 },
50 },
51}
52
Colin Cross6e95dd52016-09-12 15:37:10 -070053art_cc_test {
54 name: "art_dexdump_tests",
55 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -070056 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070057 ],
58 srcs: ["dexdump_test.cc"],
59}