ref: ba8bfaafa7df4807626583bca6ed149068b91ba0
parent: bf40776aa4e089caf286159ff376caa7efc01a59
author: Marco <[email protected]>
date: Tue Mar 14 06:38:50 EDT 2017
vpx_codec.h: include vpx/*.h -> ./*.h This matches the other includes and also fixes a compile issue in chromium. Change-Id: I45e00a1454f7ed948aa3b96b04cc5946b1d02985
--- a/tools.mk
+++ b/tools.mk
@@ -28,6 +28,9 @@
ALL_SRCS = $(foreach ex,$(TOOLS),$($(notdir $(ex:.c=)).SRCS))
CFLAGS += -I../include
+ifneq ($(CONFIG_CODEC_SRCS), yes)
+ CFLAGS += -I../include/vpx
+endif
# Expand all tools sources into a variable containing all sources
# for that tools (not just them main one specified in TOOLS)
--- a/vpx/vpx_codec.h
+++ b/vpx/vpx_codec.h
@@ -42,8 +42,8 @@
extern "C" {
#endif
-#include "vpx/vpx_image.h"
-#include "vpx/vpx_integer.h"
+#include "./vpx_image.h"
+#include "./vpx_integer.h"
/*!\brief Decorator indicating a function is deprecated */
#ifndef DEPRECATED