blob: 21d1b5b138bbedc07e75d3d851d7aed0fd1425f6 [file] [log] [blame]
Ruben Brunk99e69712015-05-26 17:25:07 -07001# Copyright 2015 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
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES := \
20 BatteryNotifier.cpp \
Eino-Ville Talvalaf99498e2015-09-25 16:52:55 -070021 ISchedulingPolicyService.cpp \
Marco Nelissen538ec5e2016-11-02 13:21:22 -070022 MemoryLeakTrackUtil.cpp \
Marco Nelissen75571e42016-11-07 16:34:52 -080023 ProcessInfo.cpp \
Eino-Ville Talvalaf99498e2015-09-25 16:52:55 -070024 SchedulingPolicyService.cpp
Ruben Brunk99e69712015-05-26 17:25:07 -070025
26LOCAL_SHARED_LIBRARIES := \
27 libbinder \
28 libcutils \
29 liblog \
30 libutils \
Marco Nelissen538ec5e2016-11-02 13:21:22 -070031 libmemunreachable \
Ruben Brunk99e69712015-05-26 17:25:07 -070032
33LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
34
35LOCAL_CFLAGS += \
36 -Wall \
37 -Wextra \
38 -Werror \
39
40LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
41
42LOCAL_MODULE := libmediautils
43
44include $(BUILD_SHARED_LIBRARY)