blob: a58d730102c261bb8cb5838ccd4caa3a353e08ff [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 },
Jiyong Park6aa35612018-04-10 13:52:34 +090035 double_loadable: true,
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080036
37 srcs: [
38 "HybridInterface.cpp",
39 ],
40
Dongwon Kang3287b212019-08-06 16:40:48 -070041 header_libs: [
42 "libbinder_headers",
43 ],
44
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080045 shared_libs: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080046 "android.hidl.token@1.0",
Pawin Vongmasabddd38c2019-01-31 05:23:01 -080047 "libhidlbase",
48 "liblog",
49 "libutils",
Marco Nelissen92e12a92018-12-18 13:41:04 -080050 ],
51
Dongwon Kang3287b212019-08-06 16:40:48 -070052 export_header_lib_headers: [
53 "libbinder_headers",
54 ],
55
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080056 export_shared_lib_headers: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080057 "libhidlbase",
58 ],
59
60 export_include_dirs: [
Jooyung Handfe14f12020-04-16 18:48:34 +090061 "include",
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080062 ],
Jooyung Handfe14f12020-04-16 18:48:34 +090063 min_sdk_version: "29",
Jiyong Parkdaaa32d2020-09-21 23:10:55 +090064 apex_available: [
65 "//apex_available:anyapex",
66 "//apex_available:platform",
67 ],
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080068}