1//
2// Copyright (C) 2016 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
16cc_defaults {
17    name: "libopenjdkjvm_defaults",
18    defaults: ["art_defaults"],
19    visibility: ["//libcore"],
20    host_supported: true,
21    srcs: ["OpenjdkJvm.cc"],
22    shared_libs: [
23        "libbase",
24    ],
25    header_libs: [
26        "libnativehelper_header_only",
27    ],
28}
29
30art_cc_library {
31    name: "libopenjdkjvm",
32    defaults: ["libopenjdkjvm_defaults"],
33    shared_libs: [
34        "libart",
35        "libartbase",
36    ],
37    apex_available: [
38        "com.android.art.release",
39        "com.android.art.debug",
40    ],
41}
42
43art_cc_library {
44    name: "libopenjdkjvmd",
45    defaults: [
46        "art_debug_defaults",
47        "libopenjdkjvm_defaults",
48    ],
49    shared_libs: [
50        "libartd",
51        "libartbased",
52    ],
53    apex_available: [
54        "com.android.art.debug",
55    ],
56}
57