blob: bd521acbc004e4b66b60202a48302976320b2f24 [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
15art_cc_binary {
16 name: "dexlist",
17 host_supported: true,
18 srcs: ["dexlist.cc"],
Chih-Hung Hsiehfefd3182017-09-29 16:18:00 -070019 cflags: ["-Wall", "-Werror"],
David Sehr1f010162018-05-15 08:59:32 -070020 shared_libs: [
21 "libdexfile",
22 "libartbase",
23 "libbase"
24 ],
David Sehr5a1f6292018-01-19 11:08:51 -080025 // TODO: fix b/72216369 and remove the need for this.
26 include_dirs: [
27 "art/runtime" // dex utils.
28 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070029}
Colin Cross6e95dd52016-09-12 15:37:10 -070030
31art_cc_test {
32 name: "art_dexlist_tests",
33 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -070034 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070035 ],
36 srcs: ["dexlist_test.cc"],
37}