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_library_headers {
     18     name: "libart_simulator_headers",
     19     host_supported: true,
     20     export_include_dirs: ["include"],
     21 }
     22 
     23 cc_defaults {
     24     name: "libart_simulator_defaults",
     25     host_supported: true,
     26     device_supported: false,
     27 
     28     defaults: ["art_defaults"],
     29     srcs: [
     30         "code_simulator.cc",
     31         "code_simulator_arm64.cc",
     32     ],
     33     shared_libs: [
     34         "libbase",
     35         "liblog",
     36     ],
     37     cflags: ["-DVIXL_INCLUDE_SIMULATOR_AARCH64"],
     38 
     39     header_libs: ["libart_simulator_headers"],
     40 }
     41 
     42 art_cc_library {
     43     name: "libart-simulator",
     44     defaults: ["libart_simulator_defaults"],
     45     shared_libs: [
     46         "libart",
     47         "libartbase",
     48         "libvixl",
     49     ],
     50 }
     51 
     52 art_cc_library {
     53     name: "libartd-simulator",
     54     defaults: [
     55         "art_debug_defaults",
     56         "libart_simulator_defaults",
     57     ],
     58     shared_libs: [
     59         "libartd",
     60         "libartbased",
     61         "libvixld",
     62     ],
     63 }
     64 
     65 cc_defaults {
     66     name: "libart_simulator_container_defaults",
     67     host_supported: true,
     68 
     69     defaults: ["art_defaults"],
     70     srcs: [
     71         "code_simulator_container.cc",
     72     ],
     73     shared_libs: [
     74         "libbase",
     75     ],
     76 
     77     header_libs: ["libart_simulator_headers"],
     78     export_include_dirs: ["."], // TODO: Consider a proper separation.
     79 }
     80 
     81 art_cc_library {
     82     name: "libart-simulator-container",
     83     defaults: ["libart_simulator_container_defaults"],
     84     shared_libs: [
     85         "libartbase",
     86         "libart",
     87     ],
     88 }
     89 
     90 art_cc_library {
     91     name: "libartd-simulator-container",
     92     defaults: [
     93         "art_debug_defaults",
     94         "libart_simulator_container_defaults",
     95     ],
     96     shared_libs: [
     97         "libartbased",
     98         "libartd",
     99     ],
    100 }
    101