• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Revisãobf0f92c1e8efb772f9e3ba5718378d3710c6cecd (tree)
Hora2017-06-12 10:41:00
AutorChih-Wei Huang <cwhuang@linu...>
CommiterXiang, Haihao

Mensagem de Log

android: remove redundant -DANDROID

It has already been defined by the Android build system.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
(cherry picked from commit 9d345be87f9e163d054449d363659a60e2f3867f)

Mudança Sumário

Diff

--- a/va/Android.mk
+++ b/va/Android.mk
@@ -44,12 +44,10 @@ LOCAL_SRC_FILES := \
4444 va_fool.c
4545
4646 LOCAL_CFLAGS_32 += \
47- -DANDROID \
4847 -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_32)\"" \
4948 -DLOG_TAG=\"libva\"
5049
5150 LOCAL_CFLAGS_64 += \
52- -DANDROID \
5351 -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_64)\"" \
5452 -DLOG_TAG=\"libva\"
5553
@@ -93,7 +91,7 @@ LOCAL_SRC_FILES := \
9391 drm/va_drm_utils.c
9492
9593 LOCAL_CFLAGS += \
96- -DANDROID -DLOG_TAG=\"libva-android\"
94+ -DLOG_TAG=\"libva-android\"
9795
9896 LOCAL_C_INCLUDES += \
9997 $(LOCAL_PATH)/drm
@@ -115,7 +113,7 @@ LOCAL_SRC_FILES := \
115113 egl/va_egl.c
116114
117115 LOCAL_CFLAGS += \
118- -DANDROID -DLOG_TAG=\"libva-egl\"
116+ -DLOG_TAG=\"libva-egl\"
119117
120118 LOCAL_MODULE_TAGS := optional
121119 LOCAL_MODULE := libva-egl
@@ -132,7 +130,7 @@ include $(CLEAR_VARS)
132130
133131 LOCAL_SRC_FILES := va_tpi.c
134132
135-LOCAL_CFLAGS += -DANDROID -DLOG_TAG=\"libva-tpi\"
133+LOCAL_CFLAGS += -DLOG_TAG=\"libva-tpi\"
136134
137135 LOCAL_SHARED_LIBRARIES := libva
138136