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