blob: c918941f9afc0c40b1772b6c6aede4b52a923a19 [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 ],
25 shared_libs: [
26 "libbinder",
Steven Moreland22ee4602017-04-07 10:44:52 -070027 "liblog",
28 "libutils",
29 "libmemunreachable",
30 ],
31
32 cflags: [
33 "-Wall",
34 "-Wextra",
35 "-Werror",
36 ],
37
Christopher Ferris951b4982019-04-17 13:26:15 -070038 include_dirs: [
39 // For android_mallopt definitions.
40 "bionic/libc/private"
41 ],
42
Steven Moreland22ee4602017-04-07 10:44:52 -070043 local_include_dirs: ["include"],
44 export_include_dirs: ["include"],
45}