blob: 49322fcfb8837ae08bfd9cc04a3e9d79eb62d0fc [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
17cc_defaults {
18 name: "libart_simulator_defaults",
Colin Crossfe6064a2016-08-30 13:49:26 -070019 host_supported: true,
20 device_supported: false,
21
Colin Cross1f7f3bd2016-07-27 10:12:38 -070022 defaults: ["art_defaults"],
23 srcs: [
24 "code_simulator.cc",
25 "code_simulator_arm64.cc",
26 ],
27 shared_libs: [
28 "liblog",
29 ],
30 cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
31 export_include_dirs: ["."],
32 include_dirs: ["art/runtime"],
33}
34
Colin Crossfe6064a2016-08-30 13:49:26 -070035art_cc_library {
Colin Cross1f7f3bd2016-07-27 10:12:38 -070036 name: "libart-simulator",
37 defaults: ["libart_simulator_defaults"],
38 shared_libs: [
39 "libart",
40 "libvixl-arm64",
41 ],
42}
43
Colin Crossfe6064a2016-08-30 13:49:26 -070044art_cc_library {
Colin Cross95aab052016-08-30 15:45:06 -070045 name: "libartd-simulator",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070046 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070047 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070048 "libart_simulator_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070049 ],
50 shared_libs: [
51 "libartd",
52 "libvixld-arm64",
53 ],
54}