blob: 84f6f0f441ee12b2edeacde2f6daf7f9e70aa48d [file] [log] [blame]
Pawin Vongmasa155e9d32017-03-09 06:38:22 -08001// Copyright (C) 2017 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
Bob Badourad2415c2021-02-12 17:33:30 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "system_libhidl_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["system_libhidl_license"],
22}
23
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080024cc_library {
25 name: "android.hidl.token@1.0-utils",
Chih-Hung Hsiehe6a7feb2017-10-02 10:47:55 -070026 defaults: ["libhidl-defaults"],
Justin Yun74f65932017-07-24 15:19:45 +090027 vendor_available: true,
Ayushi Khopkar68952de2020-06-11 12:29:30 +053028 // Host support is needed for testing only
29 host_supported: true,
30 target: {
31 darwin: {
32 enabled: false,
33 },
34 },
Justin Yun74f65932017-07-24 15:19:45 +090035 vndk: {
36 enabled: true,
37 },
Jiyong Park6aa35612018-04-10 13:52:34 +090038 double_loadable: true,
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080039
40 srcs: [
41 "HybridInterface.cpp",
42 ],
43
Dongwon Kang3287b212019-08-06 16:40:48 -070044 header_libs: [
45 "libbinder_headers",
46 ],
47
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080048 shared_libs: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080049 "android.hidl.token@1.0",
Pawin Vongmasabddd38c2019-01-31 05:23:01 -080050 "libhidlbase",
51 "liblog",
52 "libutils",
Marco Nelissen92e12a92018-12-18 13:41:04 -080053 ],
54
Dongwon Kang3287b212019-08-06 16:40:48 -070055 export_header_lib_headers: [
56 "libbinder_headers",
57 ],
58
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080059 export_shared_lib_headers: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080060 "libhidlbase",
61 ],
62
63 export_include_dirs: [
Jooyung Handfe14f12020-04-16 18:48:34 +090064 "include",
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080065 ],
Jooyung Handfe14f12020-04-16 18:48:34 +090066 min_sdk_version: "29",
Jiyong Parkdaaa32d2020-09-21 23:10:55 +090067 apex_available: [
68 "//apex_available:anyapex",
69 "//apex_available:platform",
70 ],
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080071}