• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
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

修订版566a1388b4e5961fb73d0fd03058d50c5965a7f4 (tree)
时间2018-12-11 12:21:20
作者Xu Guangxin <guangxin.xu@inte...>
CommiterXinfengZhang

Log Message

android: ignore unimportant compile warnnings

Change-Id: Iae80206787fe2d5a35a9d87171db315763249d86

更改概述

差异

--- a/va/Android.mk
+++ b/va/Android.mk
@@ -31,7 +31,12 @@ LIBVA_DRIVERS_PATH_64 := /vendor/lib64/dri
3131 include $(CLEAR_VARS)
3232
3333 #LIBVA_MINOR_VERSION := 31
34-#LIBVA_MAJOR_VERSION := 0
34+#LIBVA_MAJOR_VERSION := 0
35+
36+IGNORED_WARNNING = \
37+ -Wno-sign-compare \
38+ -Wno-missing-field-initializers \
39+ -Wno-unused-parameter \
3540
3641 LOCAL_SRC_FILES := \
3742 va.c \
@@ -46,6 +51,7 @@ LOCAL_CFLAGS_64 += \
4651 -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_64)\"" \
4752
4853 LOCAL_CFLAGS := \
54+ $(IGNORED_WARNNING) \
4955 $(if $(filter user,$(TARGET_BUILD_VARIANT)),,-DENABLE_VA_MESSAGING) \
5056 -DLOG_TAG=\"libva\"
5157
@@ -83,7 +89,8 @@ LOCAL_SRC_FILES := \
8389 drm/va_drm_utils.c
8490
8591 LOCAL_CFLAGS += \
86- -DLOG_TAG=\"libva-android\"
92+ -DLOG_TAG=\"libva-android\" \
93+ $(IGNORED_WARNNING)
8794
8895 LOCAL_C_INCLUDES += \
8996 $(LOCAL_PATH)/drm