📄 android.mk
字号:
LOCAL_PATH:= $(call my-dir)include $(CLEAR_VARS)## ARMv6 specific objects#ifeq ($(TARGET_ARCH),arm)LOCAL_ASFLAGS := -march=armv6LOCAL_SRC_FILES := rotate90CW_4x4_16v6.SLOCAL_MODULE := libpixelflinger_armv6include $(BUILD_STATIC_LIBRARY)endif## C/C++ and ARMv5 objects#include $(CLEAR_VARS)PIXELFLINGER_SRC_FILES:= \ codeflinger/ARMAssemblerInterface.cpp \ codeflinger/ARMAssemblerProxy.cpp \ codeflinger/ARMAssembler.cpp \ codeflinger/CodeCache.cpp \ codeflinger/GGLAssembler.cpp \ codeflinger/load_store.cpp \ codeflinger/blending.cpp \ codeflinger/texturing.cpp \ codeflinger/disassem.c \ tinyutils/SharedBuffer.cpp \ tinyutils/VectorImpl.cpp \ fixed.cpp.arm \ picker.cpp.arm \ pixelflinger.cpp.arm \ trap.cpp.arm \ scanline.cpp.arm \ format.cpp \ clear.cpp \ raster.cpp \ buffer.cppifeq ($(TARGET_ARCH),arm)PIXELFLINGER_SRC_FILES += t32cb16blend.Sendififeq ($(TARGET_ARCH),arm)# special optimization flags for pixelflingerPIXELFLINGER_CFLAGS += -fstrict-aliasing -fomit-frame-pointerendifLOCAL_SHARED_LIBRARIES := \ libhardware \ libcutilsifneq ($(TARGET_ARCH),arm)# Required to define logging functions on the simulator.# TODO: move the simulator logging functions into libcutils with# the rest of the basic log stuff.LOCAL_SHARED_LIBRARIES += libutilsendif## Shared library#ifneq ($(BUILD_TINY_ANDROID),true)LOCAL_MODULE:= libpixelflingerLOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES)LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS) -DWITH_LIB_HARDWAREifeq ($(TARGET_ARCH),arm)LOCAL_WHOLE_STATIC_LIBRARIES := libpixelflinger_armv6endifinclude $(BUILD_SHARED_LIBRARY)endif## Static library version#include $(CLEAR_VARS)LOCAL_MODULE:= libpixelflinger_staticLOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES)LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS) ifeq ($(TARGET_ARCH),arm)LOCAL_WHOLE_STATIC_LIBRARIES := libpixelflinger_armv6endifinclude $(BUILD_STATIC_LIBRARY)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -