blob: 2dbc476fbad1d952fe1d5e23c7e6d7ce9756ccf1 [file] [log] [blame]
Steven Moreland22ee4602017-04-07 10:44:52 -07001// Copyright 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
Wei Jia4049f132018-01-22 10:37:31 -080015cc_library {
Steven Moreland22ee4602017-04-07 10:44:52 -070016 name: "libmediautils",
17
18 srcs: [
Jayant Chowdhary32b4f492018-11-14 18:38:21 -080019 "AImageReaderUtils.cpp",
Steven Moreland22ee4602017-04-07 10:44:52 -070020 "BatteryNotifier.cpp",
21 "ISchedulingPolicyService.cpp",
22 "MemoryLeakTrackUtil.cpp",
23 "ProcessInfo.cpp",
24 "SchedulingPolicyService.cpp",
Andy Hungab7ef302018-05-15 19:35:29 -070025 "ServiceUtilities.cpp",
Eric Laurent39b09b52018-06-29 12:24:40 -070026 "TimeCheck.cpp",
Steven Moreland22ee4602017-04-07 10:44:52 -070027 ],
Colin Crossd8e3af02019-05-17 13:28:13 -070028 static_libs: [
29 "libc_malloc_debug_backtrace",
30 ],
Steven Moreland22ee4602017-04-07 10:44:52 -070031 shared_libs: [
32 "libbinder",
Steven Moreland22ee4602017-04-07 10:44:52 -070033 "liblog",
34 "libutils",
Jayant Chowdhary32b4f492018-11-14 18:38:21 -080035 "libhidlbase",
36 "android.hardware.graphics.bufferqueue@1.0",
37 "android.hidl.token@1.0-utils",
Steven Moreland22ee4602017-04-07 10:44:52 -070038 ],
39
Eric Laurent39b09b52018-06-29 12:24:40 -070040 logtags: ["EventLogTags.logtags"],
41
Steven Moreland22ee4602017-04-07 10:44:52 -070042 cflags: [
43 "-Wall",
44 "-Wextra",
45 "-Werror",
46 ],
47
Christopher Ferris9d2e0082019-09-11 19:08:13 -070048 header_libs: [
49 "bionic_libc_platform_headers",
Christopher Ferrisa90adf02019-04-17 13:26:15 -070050 ],
Christopher Ferris9d2e0082019-09-11 19:08:13 -070051
Steven Moreland22ee4602017-04-07 10:44:52 -070052 local_include_dirs: ["include"],
53 export_include_dirs: ["include"],
54}