blob: 223c891da04c66fbfc582536692aae76223b84bb [file] [log] [blame]
Colin Cross1f7f3bd2016-07-27 10:12:38 -07001//
2// Copyright (C) 2015 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
Andreas Gampe71da4872017-07-26 10:02:07 -070017cc_library_headers {
18 name: "libart_simulator_headers",
19 host_supported: true,
20 export_include_dirs: ["include"],
21}
22
Colin Cross1f7f3bd2016-07-27 10:12:38 -070023cc_defaults {
24 name: "libart_simulator_defaults",
Colin Crossfe6064a2016-08-30 13:49:26 -070025 host_supported: true,
26 device_supported: false,
27
Colin Cross1f7f3bd2016-07-27 10:12:38 -070028 defaults: ["art_defaults"],
29 srcs: [
30 "code_simulator.cc",
31 "code_simulator_arm64.cc",
32 ],
33 shared_libs: [
Andreas Gampe6e174102016-09-26 20:17:42 -070034 "libbase",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070035 "liblog",
36 ],
37 cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
Andreas Gampe71da4872017-07-26 10:02:07 -070038
39 header_libs: ["libart_simulator_headers"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -070040}
41
Colin Crossfe6064a2016-08-30 13:49:26 -070042art_cc_library {
Colin Cross1f7f3bd2016-07-27 10:12:38 -070043 name: "libart-simulator",
44 defaults: ["libart_simulator_defaults"],
45 shared_libs: [
46 "libart",
David Sehr1f010162018-05-15 08:59:32 -070047 "libartbase",
Roland Levillain12dd9ae2018-11-06 13:32:06 +000048 "libvixl",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070049 ],
50}
51
Colin Crossfe6064a2016-08-30 13:49:26 -070052art_cc_library {
Colin Cross95aab052016-08-30 15:45:06 -070053 name: "libartd-simulator",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070054 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070055 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070056 "libart_simulator_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070057 ],
58 shared_libs: [
59 "libartd",
David Sehr1f010162018-05-15 08:59:32 -070060 "libartbased",
Roland Levillain12dd9ae2018-11-06 13:32:06 +000061 "libvixld",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070062 ],
63}
Andreas Gampe71da4872017-07-26 10:02:07 -070064
65cc_defaults {
66 name: "libart_simulator_container_defaults",
67 host_supported: true,
68
69 defaults: ["art_defaults"],
70 srcs: [
71 "code_simulator_container.cc",
72 ],
73 shared_libs: [
74 "libbase",
75 ],
76
77 header_libs: ["libart_simulator_headers"],
Dan Willemsen2ca27802017-09-27 14:57:43 -070078 export_include_dirs: ["."], // TODO: Consider a proper separation.
Andreas Gampe71da4872017-07-26 10:02:07 -070079}
80
81art_cc_library {
82 name: "libart-simulator-container",
83 defaults: ["libart_simulator_container_defaults"],
84 shared_libs: [
David Sehr1f010162018-05-15 08:59:32 -070085 "libartbase",
Andreas Gampe71da4872017-07-26 10:02:07 -070086 "libart",
87 ],
88}
89
90art_cc_library {
91 name: "libartd-simulator-container",
92 defaults: [
93 "art_debug_defaults",
94 "libart_simulator_container_defaults",
95 ],
96 shared_libs: [
David Sehr1f010162018-05-15 08:59:32 -070097 "libartbased",
Andreas Gampe71da4872017-07-26 10:02:07 -070098 "libartd",
99 ],
100}