blob: 5d48248f8573cf63d92f2776ccdfc003bc60fefc [file] [log] [blame]
Hridya Valsaraju0a833872020-05-13 10:43:30 -07001//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_library {
18 srcs: [
19 "BufferAllocator.cpp",
Hridya Valsaraju77a3ad62020-06-22 17:41:16 -070020 "BufferAllocatorWrapper.cpp",
Hridya Valsaraju0a833872020-05-13 10:43:30 -070021 ],
22 name: "libdmabufheap",
John Stultz067685c2020-07-11 04:31:18 +000023 vendor_available: true,
John Stultz30b801d2020-09-12 01:46:58 +000024
John Stultz04afbcd2020-11-05 04:36:15 +000025 vndk: {
26 enabled: true,
27 support_system_process: true,
28 },
29
John Stultz30b801d2020-09-12 01:46:58 +000030 // Added because codec2 is double_loadable.
31 // See b/147147883, b/147147992
32 double_loadable:true,
John Stultz067685c2020-07-11 04:31:18 +000033 apex_available: [
34 "//apex_available:platform",
35 "//apex_available:anyapex",
36 ],
37 min_sdk_version: "29",
Hridya Valsaraju0a833872020-05-13 10:43:30 -070038 cflags: [
39 "-Wall",
40 "-Werror",
41 ],
42 local_include_dirs: [
43 "include",
44 ],
45 export_include_dirs: [
46 "include",
47 ],
48 static_libs: [
49 "libbase",
50 "libion",
51 "libutils",
John Stultz067685c2020-07-11 04:31:18 +000052 ],
53 shared_libs: [
Hridya Valsaraju0a833872020-05-13 10:43:30 -070054 "liblog",
55 ],
Hridya Valsarajucf3aee62020-07-20 14:55:11 -070056 export_static_lib_headers: [
Hridya Valsarajueecd55b2020-11-16 18:37:07 -080057 "libbase",
Hridya Valsarajucf3aee62020-07-20 14:55:11 -070058 "libion",
59 ],
Hridya Valsaraju0a833872020-05-13 10:43:30 -070060}