Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | cc_defaults { |
| 18 | name: "libart_simulator_defaults", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 19 | host_supported: true, |
| 20 | device_supported: false, |
| 21 | |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 22 | defaults: ["art_defaults"], |
| 23 | srcs: [ |
| 24 | "code_simulator.cc", |
| 25 | "code_simulator_arm64.cc", |
| 26 | ], |
| 27 | shared_libs: [ |
Andreas Gampe | 6e17410 | 2016-09-26 20:17:42 -0700 | [diff] [blame] | 28 | "libbase", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 29 | "liblog", |
| 30 | ], |
| 31 | cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"], |
| 32 | export_include_dirs: ["."], |
| 33 | include_dirs: ["art/runtime"], |
| 34 | } |
| 35 | |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 36 | art_cc_library { |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 37 | name: "libart-simulator", |
| 38 | defaults: ["libart_simulator_defaults"], |
| 39 | shared_libs: [ |
| 40 | "libart", |
| 41 | "libvixl-arm64", |
| 42 | ], |
| 43 | } |
| 44 | |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 45 | art_cc_library { |
Colin Cross | 95aab05 | 2016-08-30 15:45:06 -0700 | [diff] [blame] | 46 | name: "libartd-simulator", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 47 | defaults: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 48 | "art_debug_defaults", |
Colin Cross | c564406 | 2016-08-30 15:41:08 -0700 | [diff] [blame] | 49 | "libart_simulator_defaults", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 50 | ], |
| 51 | shared_libs: [ |
| 52 | "libartd", |
| 53 | "libvixld-arm64", |
| 54 | ], |
| 55 | } |