blob: a4aade32930f1b2216dd5b80cd12253f2f85e0af [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: [
19 "BatteryNotifier.cpp",
20 "ISchedulingPolicyService.cpp",
21 "MemoryLeakTrackUtil.cpp",
22 "ProcessInfo.cpp",
23 "SchedulingPolicyService.cpp",
24 ],
Colin Cross705fd7b2019-05-17 13:28:13 -070025 static_libs: [
26 "libc_malloc_debug_backtrace",
27 ],
Steven Moreland22ee4602017-04-07 10:44:52 -070028 shared_libs: [
29 "libbinder",
Steven Moreland22ee4602017-04-07 10:44:52 -070030 "liblog",
31 "libutils",
Steven Moreland22ee4602017-04-07 10:44:52 -070032 ],
33
34 cflags: [
35 "-Wall",
36 "-Wextra",
37 "-Werror",
38 ],
39
Christopher Ferris951b4982019-04-17 13:26:15 -070040 include_dirs: [
41 // For android_mallopt definitions.
42 "bionic/libc/private"
43 ],
44
Steven Moreland22ee4602017-04-07 10:44:52 -070045 local_include_dirs: ["include"],
46 export_include_dirs: ["include"],
47}