blob: f9a462313f368287424e1b10a6c091a37b0f7966 [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
15cc_library {
16 name: "android.hidl.token@1.0-utils",
Chih-Hung Hsiehe6a7feb2017-10-02 10:47:55 -070017 defaults: ["libhidl-defaults"],
Justin Yun74f65932017-07-24 15:19:45 +090018 vendor_available: true,
Ayushi Khopkar68952de2020-06-11 12:29:30 +053019 // Host support is needed for testing only
20 host_supported: true,
21 target: {
22 darwin: {
23 enabled: false,
24 },
25 },
Justin Yun74f65932017-07-24 15:19:45 +090026 vndk: {
27 enabled: true,
28 },
Jiyong Park6aa35612018-04-10 13:52:34 +090029 double_loadable: true,
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080030
31 srcs: [
32 "HybridInterface.cpp",
33 ],
34
Dongwon Kang3287b212019-08-06 16:40:48 -070035 header_libs: [
36 "libbinder_headers",
37 ],
38
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080039 shared_libs: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080040 "android.hidl.token@1.0",
Pawin Vongmasabddd38c2019-01-31 05:23:01 -080041 "libhidlbase",
42 "liblog",
43 "libutils",
Marco Nelissen92e12a92018-12-18 13:41:04 -080044 ],
45
Dongwon Kang3287b212019-08-06 16:40:48 -070046 export_header_lib_headers: [
47 "libbinder_headers",
48 ],
49
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080050 export_shared_lib_headers: [
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080051 "libhidlbase",
52 ],
53
54 export_include_dirs: [
Jooyung Handfe14f12020-04-16 18:48:34 +090055 "include",
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080056 ],
Jooyung Handfe14f12020-04-16 18:48:34 +090057 min_sdk_version: "29",
Jiyong Parkdaaa32d2020-09-21 23:10:55 +090058 apex_available: [
59 "//apex_available:anyapex",
60 "//apex_available:platform",
61 ],
Pawin Vongmasa155e9d32017-03-09 06:38:22 -080062}