blob: d605a3e21cd81640e8abf84ac84bfd6c4228eae0 [file] [log] [blame]
Colin Cross1f7f3bd2016-07-27 10:12:38 -07001//
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"],
Martin Stjernholmb4abe0a2019-05-17 19:22:55 +010019 visibility: ["//libcore"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070020 host_supported: true,
21 srcs: ["OpenjdkJvm.cc"],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070022 shared_libs: [
23 "libbase",
Andreas Gampe373a9b52017-10-18 09:01:57 -070024 ],
25 header_libs: [
26 "libnativehelper_header_only",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070027 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070028}
29
30art_cc_library {
31 name: "libopenjdkjvm",
32 defaults: ["libopenjdkjvm_defaults"],
David Sehr1f010162018-05-15 08:59:32 -070033 shared_libs: [
34 "libart",
35 "libartbase",
36 ],
Jiyong Park066dd9022019-12-19 02:11:59 +000037 apex_available: [
Martin Stjernholm3e9abfc2020-10-09 22:17:51 +010038 "com.android.art",
Jiyong Park066dd9022019-12-19 02:11:59 +000039 "com.android.art.debug",
40 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070041}
42
43art_cc_library {
44 name: "libopenjdkjvmd",
45 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070046 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070047 "libopenjdkjvm_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070048 ],
David Sehr1f010162018-05-15 08:59:32 -070049 shared_libs: [
50 "libartd",
51 "libartbased",
52 ],
Jiyong Park066dd9022019-12-19 02:11:59 +000053 apex_available: [
54 "com.android.art.debug",
55 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070056}