• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2017 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_MODULE := hwcomposer.cutf_ivsh-future
20LOCAL_MODULE_TAGS := optional
21
22LOCAL_SRC_FILES := \
23    hwcomposer.cpp
24
25LOCAL_C_INCLUDES += \
26    device/google/cuttlefish_kernel \
27    device/google/cuttlefish_common \
28    device/google/cuttlefish_common/guest/hals/hwcomposer \
29    hardware/libhardware/include \
30    system/core/base/include
31
32LOCAL_CFLAGS := \
33    -DLOG_TAG=\"hwcomposer_vsoc\" \
34    -Wall -Werror
35
36LOCAL_SHARED_LIBRARIES := \
37    libbase \
38    liblog \
39    vsoc_lib
40
41ifeq (0, $(shell test $(PLATFORM_SDK_VERSION) -ge 21; echo $$?))
42LOCAL_MODULE_RELATIVE_PATH := hw
43else
44LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
45endif
46
47LOCAL_VENDOR_MODULE := true
48# See b/67109557
49ifeq (true, $(TARGET_TRANSLATE_2ND_ARCH))
50LOCAL_MULTILIB := first
51endif
52
53LOCAL_HEADER_LIBRARIES := \
54    libhardware_headers
55
56include $(BUILD_SHARED_LIBRARY)
57
58include $(call first-makefiles-under,$(LOCAL_PATH))
59