1# 2# Copyright 2015 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# 16 17LOCAL_PATH:= $(call my-dir) 18 19include $(CLEAR_VARS) 20emulator_hwcomposer_shared_libraries := \ 21 liblog \ 22 libutils \ 23 libcutils \ 24 libEGL \ 25 libutils \ 26 libhardware \ 27 libsync \ 28 libui \ 29 30emulator_hwcomposer_src_files := \ 31 hwcomposer.cpp 32 33emulator_hwcomposer_cflags += \ 34 -DLOG_TAG=\"hwcomposer\" 35 36emulator_hwcomposer_c_includes += \ 37 system/core/libsync \ 38 system/core/libsync/include 39 40emulator_hwcomposer_relative_path := hw 41 42# GOLDFISH BUILD 43LOCAL_SHARED_LIBRARIES := $(emulator_hwcomposer_shared_libraries) 44LOCAL_SRC_FILES := $(emulator_hwcomposer_src_files) 45LOCAL_CFLAGS := $(emulator_hwcomposer_cflags) 46LOCAL_C_INCLUDES := $(emulator_hwcomposer_c_includes) 47LOCAL_MODULE_RELATIVE_PATH := $(emulator_hwcomposer_relative_path) 48 49LOCAL_MODULE := hwcomposer.goldfish 50LOCAL_MODULE_TAGS := optional 51 52include $(BUILD_SHARED_LIBRARY) 53 54# RANCHU BUILD 55include $(CLEAR_VARS) 56 57LOCAL_SHARED_LIBRARIES := $(emulator_hwcomposer_shared_libraries) 58LOCAL_SRC_FILES := $(emulator_hwcomposer_src_files) 59LOCAL_CFLAGS := $(emulator_hwcomposer_cflags) 60LOCAL_C_INCLUDES := $(emulator_hwcomposer_c_includes) 61LOCAL_MODULE_RELATIVE_PATH := $(emulator_hwcomposer_relative_path) 62 63LOCAL_MODULE := hwcomposer.ranchu 64LOCAL_MODULE_TAGS := optional 65 66include $(BUILD_SHARED_LIBRARY) 67