Home | History | Annotate | Download | only in simulator
      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",
     19     host_supported: true,
     20     device_supported: false,
     21 
     22     defaults: ["art_defaults"],
     23     srcs: [
     24         "code_simulator.cc",
     25         "code_simulator_arm64.cc",
     26     ],
     27     shared_libs: [
     28         "libbase",
     29         "liblog",
     30     ],
     31     cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
     32     export_include_dirs: ["."],
     33     include_dirs: ["art/runtime"],
     34 }
     35 
     36 art_cc_library {
     37     name: "libart-simulator",
     38     defaults: ["libart_simulator_defaults"],
     39     shared_libs: [
     40         "libart",
     41         "libvixl-arm64",
     42     ],
     43 }
     44 
     45 art_cc_library {
     46     name: "libartd-simulator",
     47     defaults: [
     48         "art_debug_defaults",
     49         "libart_simulator_defaults",
     50     ],
     51     shared_libs: [
     52         "libartd",
     53         "libvixld-arm64",
     54     ],
     55 }
     56