hardware/intel/common/libva
Revision | cffbd24dd227d3552f2f025276afae21c0168a54 (tree) |
---|---|
Zeit | 2017-04-26 14:25:29 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
android: enable logging except the user build
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
@@ -40,10 +40,12 @@ LOCAL_SRC_FILES := \ | ||
40 | 40 | |
41 | 41 | LOCAL_CFLAGS_32 += \ |
42 | 42 | -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_32)\"" \ |
43 | - -DLOG_TAG=\"libva\" | |
44 | 43 | |
45 | 44 | LOCAL_CFLAGS_64 += \ |
46 | 45 | -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_64)\"" \ |
46 | + | |
47 | +LOCAL_CFLAGS := \ | |
48 | + $(if $(filter user,$(TARGET_BUILD_VARIANT)),,-DENABLE_VA_MESSAGING) \ | |
47 | 49 | -DLOG_TAG=\"libva\" |
48 | 50 | |
49 | 51 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. |