1// Copyright (C) 2019 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_library_headers { 21 name: "libberberis_guest_abi_arm_headers", 22 defaults: ["berberis_arm_defaults"], 23 host_supported: true, 24 header_libs: [ 25 "libberberis_guest_abi_headers", 26 "libberberis_guest_state_arm_headers", 27 ], 28 export_header_lib_headers: [ 29 "libberberis_guest_abi_headers", 30 "libberberis_guest_state_arm_headers", 31 ], 32 export_include_dirs: ["include"], 33} 34 35cc_library_static { 36 name: "libberberis_guest_abi_arm", 37 defaults: ["berberis_arm_defaults"], 38 host_supported: true, 39 header_libs: ["libberberis_guest_abi_arm_headers"], 40 export_header_lib_headers: ["libberberis_guest_abi_arm_headers"], 41 srcs: ["guest_call.cc"], 42} 43 44cc_test_library { 45 name: "libberberis_guest_abi_arm_unit_tests", 46 defaults: ["berberis_arm_defaults"], 47 host_supported: true, 48 header_libs: [ 49 "libberberis_guest_abi_arm_headers", 50 "berberis_test_utils_headers", 51 ], 52 srcs: [ 53 "guest_arguments_test.cc", 54 "guest_params_test.cc", 55 "guest_function_wrapper_test.cc", 56 "host_function_wrapper_test.cc", 57 "trampoline_func_generator_test_arm.cc", 58 ], 59 shared: { 60 enabled: false, 61 }, 62} 63