summaryrefslogtreecommitdiff
path: root/tools.mk
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2017-03-14 10:38:50 -0700
committerJerome Jiang <jianj@google.com>2017-03-16 16:55:56 +0000
commitba8bfaafa7df4807626583bca6ed149068b91ba0 (patch)
tree5003deb91e470a6b2b342d83b79a4055a3757d0a /tools.mk
parentbf40776aa4e089caf286159ff376caa7efc01a59 (diff)
downloadlibvpx-ba8bfaafa7df4807626583bca6ed149068b91ba0.tar
libvpx-ba8bfaafa7df4807626583bca6ed149068b91ba0.tar.gz
libvpx-ba8bfaafa7df4807626583bca6ed149068b91ba0.tar.bz2
libvpx-ba8bfaafa7df4807626583bca6ed149068b91ba0.zip
vpx_codec.h: include vpx/*.h -> ./*.h
This matches the other includes and also fixes a compile issue in chromium. Change-Id: I45e00a1454f7ed948aa3b96b04cc5946b1d02985
Diffstat (limited to 'tools.mk')
-rw-r--r--tools.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools.mk b/tools.mk
index b3c8cb011..23adcee6e 100644
--- 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)