blob: 03e3f1562a707adb9c307f425ef13d3313c77935 [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: [
Andreas Gampe6e174102016-09-26 20:17:42 -070028 "libbase",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070029 "liblog",
30 ],
31 cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
32 export_include_dirs: ["."],
33 include_dirs: ["art/runtime"],
34}
35
Colin Crossfe6064a2016-08-30 13:49:26 -070036art_cc_library {
Colin Cross1f7f3bd2016-07-27 10:12:38 -070037 name: "libart-simulator",
38 defaults: ["libart_simulator_defaults"],
39 shared_libs: [
40 "libart",
41 "libvixl-arm64",
42 ],
43}
44
Colin Crossfe6064a2016-08-30 13:49:26 -070045art_cc_library {
Colin Cross95aab052016-08-30 15:45:06 -070046 name: "libartd-simulator",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070047 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070048 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070049 "libart_simulator_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070050 ],
51 shared_libs: [
52 "libartd",
53 "libvixld-arm64",
54 ],
55}