1//
2// Copyright (C) 2019 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
17// Build variants {target,host} x {debug,ndebug} x {32,64}
18cc_defaults {
19    name: "listextensions-defaults",
20    host_supported: true,
21    srcs: ["list-extensions.cc"],
22    defaults: ["art_defaults"],
23
24    // Note that this tool needs to be built for both 32-bit and 64-bit since it requires
25    // to be same ISA as what it is attached to.
26    compile_multilib: "both",
27
28    shared_libs: [
29        "libbase",
30    ],
31    header_libs: [
32        "jni_headers",
33        "libopenjdkjvmti_headers",
34    ],
35}
36
37art_cc_library {
38    name: "liblistextensions",
39    defaults: ["listextensions-defaults"],
40}
41
42art_cc_library {
43    name: "liblistextensionsd",
44    defaults: [
45        "art_debug_defaults",
46        "listextensions-defaults",
47    ],
48}
49