blob: 7fd5aa7ce24325007dd461416dfaf1fba68cdf5b [file] [log] [blame]
Howard Chen4904f962017-12-08 18:11:05 +08001// Copyright (C) 2016 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: "libhidlcache",
17 vendor_available: true,
18 vndk: {
19 enabled: true,
20 },
21 defaults: ["libhidl-defaults"],
22 shared_libs: [
23 "libbase",
24 "liblog",
25 "libutils",
26 "libcutils",
27 "libhidlbase",
28 "libhidlmemory",
29 "libhwbinder",
30 "libhidltransport",
31 "android.hidl.memory@1.0",
32 "android.hidl.memory.block@1.0",
33 "android.hidl.memory.token@1.0",
34 ],
35 export_include_dirs: ["include"],
36
37 export_shared_lib_headers: [
38 "android.hidl.memory@1.0",
39 "android.hidl.memory.block@1.0",
40 "android.hidl.memory.token@1.0",
41 "libhidlbase"
42 ],
43 srcs: [
44 "HidlMemoryCache.cpp",
45 "mapping.cpp"
46 ],
47}