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