vpx_codec.h: include vpx/*.h -> ./*.h
authorMarco <marpan@google.com>
Tue, 14 Mar 2017 17:38:50 +0000 (10:38 -0700)
committerJerome Jiang <jianj@google.com>
Thu, 16 Mar 2017 16:55:56 +0000 (16:55 +0000)
This matches the other includes and also fixes a compile issue in
chromium.

Change-Id: I45e00a1454f7ed948aa3b96b04cc5946b1d02985

tools.mk
vpx/vpx_codec.h

index b3c8cb0..23adcee 100644 (file)
--- a/tools.mk
+++ b/tools.mk
@@ -28,6 +28,9 @@ TOOLS           = $(addprefix tools/,$(call enabled,TOOLS))
 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)
index 39bc54b..e91cd9e 100644 (file)
@@ -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