• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2016 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
17# HAL module implemenation stored in
18# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
19
20# Old hwcomposer, relies on GLES composition
21include $(CLEAR_VARS)
22include $(LOCAL_PATH)/hwcomposer.mk
23LOCAL_CFLAGS += -DUSE_OLD_HWCOMPOSER -Wall -Werror
24LOCAL_MODULE := hwcomposer.vsoc-deprecated
25
26# See b/67109557
27ifeq (true, $(TARGET_TRANSLATE_2ND_ARCH))
28LOCAL_MULTILIB := first
29endif
30
31include $(BUILD_SHARED_LIBRARY)
32
33# New hwcomposer, performs software composition
34include $(CLEAR_VARS)
35include $(LOCAL_PATH)/hwcomposer.mk
36LOCAL_MODULE := hwcomposer.vsoc
37LOCAL_VENDOR_MODULE := true
38
39# See b/67109557
40ifeq (true, $(TARGET_TRANSLATE_2ND_ARCH))
41LOCAL_MULTILIB := first
42endif
43
44include $(BUILD_SHARED_LIBRARY)
45