hardware/intel/common/libva
Revision | 566a1388b4e5961fb73d0fd03058d50c5965a7f4 (tree) |
---|---|
Zeit | 2018-12-11 12:21:20 |
Autor | Xu Guangxin <guangxin.xu@inte...> |
Commiter | XinfengZhang |
android: ignore unimportant compile warnnings
Change-Id: Iae80206787fe2d5a35a9d87171db315763249d86
@@ -31,7 +31,12 @@ LIBVA_DRIVERS_PATH_64 := /vendor/lib64/dri | ||
31 | 31 | include $(CLEAR_VARS) |
32 | 32 | |
33 | 33 | #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 \ | |
35 | 40 | |
36 | 41 | LOCAL_SRC_FILES := \ |
37 | 42 | va.c \ |
@@ -46,6 +51,7 @@ LOCAL_CFLAGS_64 += \ | ||
46 | 51 | -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_64)\"" \ |
47 | 52 | |
48 | 53 | LOCAL_CFLAGS := \ |
54 | + $(IGNORED_WARNNING) \ | |
49 | 55 | $(if $(filter user,$(TARGET_BUILD_VARIANT)),,-DENABLE_VA_MESSAGING) \ |
50 | 56 | -DLOG_TAG=\"libva\" |
51 | 57 |
@@ -83,7 +89,8 @@ LOCAL_SRC_FILES := \ | ||
83 | 89 | drm/va_drm_utils.c |
84 | 90 | |
85 | 91 | LOCAL_CFLAGS += \ |
86 | - -DLOG_TAG=\"libva-android\" | |
92 | + -DLOG_TAG=\"libva-android\" \ | |
93 | + $(IGNORED_WARNNING) | |
87 | 94 | |
88 | 95 | LOCAL_C_INCLUDES += \ |
89 | 96 | $(LOCAL_PATH)/drm |