1// 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    defaults: ["art_defaults"],
18    host_supported: true,
19    srcs: ["dexlist.cc"],
20    shared_libs: [
21        "libdexfile",
22        "libartbase",
23        "libbase"
24    ],
25}
26
27art_cc_binary {
28    name: "dexlists",
29    defaults: [
30        "art_defaults",
31        "libartbase_static_defaults",
32        "libdexfile_static_defaults",
33    ],
34    host_supported: true,
35    srcs: ["dexlist.cc"],
36    device_supported: false,
37    target: {
38        darwin: {
39            enabled: false,
40        },
41        windows: {
42            enabled: true,
43        },
44    },
45}
46
47art_cc_test {
48    name: "art_dexlist_tests",
49    defaults: [
50        "art_gtest_defaults",
51    ],
52    srcs: ["dexlist_test.cc"],
53}
54