blob: 3b8bb04e0db20ac01b17c056c546688f7774cb74 [file] [log] [blame]
aimitakeshi27ed8ad2010-07-29 10:12:27 +09001#
2# Copyright (C) 2010 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#
16LOCAL_PATH:= $(call my-dir)
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES:= \
20 main_drmserver.cpp \
21 DrmManager.cpp \
Glenn Kasten41b3d3b2011-03-14 11:32:29 -070022 DrmManagerService.cpp
aimitakeshi27ed8ad2010-07-29 10:12:27 +090023
24LOCAL_SHARED_LIBRARIES := \
James Dong8635b7b2011-03-14 17:01:38 -070025 libmedia \
aimitakeshi27ed8ad2010-07-29 10:12:27 +090026 libutils \
Ying Wangecba7482013-04-09 21:53:49 -070027 liblog \
Jeff Brown5e0067b2011-07-11 22:12:16 -070028 libbinder \
Riley Spahnf785f492014-07-01 15:32:31 -070029 libdl \
30 libselinux
aimitakeshi27ed8ad2010-07-29 10:12:27 +090031
32LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
33
34LOCAL_C_INCLUDES := \
James Dong559bf282012-03-28 10:29:14 -070035 $(TOP)/frameworks/av/include \
36 $(TOP)/frameworks/av/drm/libdrmframework/include \
37 $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include
aimitakeshi27ed8ad2010-07-29 10:12:27 +090038
Aurimas Liutikasc9036842016-02-18 15:58:04 -080039LOCAL_CFLAGS += -Wall -Wextra -Werror
40
aimitakeshi27ed8ad2010-07-29 10:12:27 +090041LOCAL_MODULE:= drmserver
42
Jean-Baptiste Queru0335b702010-09-10 12:46:57 -070043LOCAL_MODULE_TAGS := optional
44
Glenn Kasten0e568492014-03-14 15:36:20 -070045LOCAL_32_BIT_ONLY := true
46
Tom Cherryc6dd7682015-08-14 13:01:03 -070047LOCAL_INIT_RC := drmserver.rc
48
aimitakeshi27ed8ad2010-07-29 10:12:27 +090049include $(BUILD_EXECUTABLE)