1 # 2 # Copyright (C) 2009 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 17 ifneq ($(BUILD_WITHOUT_PV),true) 18 19 LOCAL_PATH := $(call my-dir) 20 include $(CLEAR_VARS) 21 22 # Set up the OpenCore variables. 23 include external/opencore/Config.mk 24 LOCAL_C_INCLUDES := $(PV_INCLUDES) 25 26 LOCAL_SRC_FILES := \ 27 android_surface_output_msm72xx.cpp 28 29 LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY) 30 31 LOCAL_SHARED_LIBRARIES := \ 32 libutils \ 33 libbinder \ 34 libcutils \ 35 libui \ 36 libhardware\ 37 libandroid_runtime \ 38 libmedia \ 39 libskia \ 40 libopencore_common \ 41 libicuuc \ 42 libopencore_player \ 43 libsurfaceflinger_client 44 45 LOCAL_MODULE := libopencorehw 46 47 LOCAL_LDLIBS += 48 49 include $(BUILD_SHARED_LIBRARY) 50 51 endif 52