blob: ec0b49e1bfd0b77829bae5084b67a68dd77d764e [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",
19 defaults: ["art_defaults"],
20 srcs: [
21 "code_simulator.cc",
22 "code_simulator_arm64.cc",
23 ],
24 shared_libs: [
25 "liblog",
26 ],
27 cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
28 export_include_dirs: ["."],
29 include_dirs: ["art/runtime"],
30}
31
32cc_library_host_shared {
33 name: "libart-simulator",
34 defaults: ["libart_simulator_defaults"],
35 shared_libs: [
36 "libart",
37 "libvixl-arm64",
38 ],
39}
40
41cc_library_host_shared {
Colin Cross95aab052016-08-30 15:45:06 -070042 name: "libartd-simulator",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070043 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -070044 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -070045 "libart_simulator_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070046 ],
47 shared_libs: [
48 "libartd",
49 "libvixld-arm64",
50 ],
51}