summaryrefslogtreecommitdiff
path: root/postprocessor/Android.mk (plain)
blob: db09d71771bf635378a11f4f5bf99363c3690cce
1# Copyright (C) 2008 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)
16include $(CLEAR_VARS)
17
18ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28 && echo OK),OK)
19LOCAL_PROPRIETARY_MODULE := true
20endif
21
22LOCAL_CPPFLAGS := $(HWC_CPP_FLAGS)
23LOCAL_CFLAGS := $(HWC_C_FLAGS)
24LOCAL_SHARED_LIBRARIES := $(HWC_SHARED_LIBS)
25
26LOCAL_SRC_FILES := \
27 VdinPostProcessor.cpp \
28 fbprocessor/FbProcessor.cpp \
29 fbprocessor/DummyProcessor.cpp \
30 fbprocessor/CopyProcessor.cpp
31
32LOCAL_C_INCLUDES := \
33 $(LOCAL_PATH)/include
34
35LOCAL_STATIC_LIBRARIES := \
36 hwc.utils_static \
37 hwc.base_static \
38 hwc.display_static
39
40LOCAL_EXPORT_C_INCLUDE_DIRS := \
41 $(LOCAL_PATH)/include
42
43LOCAL_MODULE := hwc.postprocessor_static
44
45include $(BUILD_STATIC_LIBRARY)
46