Commit e4dc2b92 authored by Attila Nagy's avatar Attila Nagy
Browse files

Fix vpx_rtcd.h dependency in

Failed to build on Linux (as described in with NDK r7b.
Set vpx_rtcd.h dependency after libvpx sources are added to
LOCAL_SRC_FILES so that vpx_rtcd.h is generated before any libvpx file
is touched.

Change-Id: Ibe19d485ca9f679dc084044df0e3fb14587c4d3e
parent 6b33ca39
......@@ -121,7 +121,6 @@ $(ASM_CNV_PATH)/libvpx/%.asm.s: $(LIBVPX_PATH)/%.asm $(ASM_CNV_OFFSETS_DEPEND)
# For building vpx_rtcd.h, which has a rule in
TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN)))
target := libs
$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_rtcd.h
LOCAL_SRC_FILES += vpx_config.c
......@@ -169,6 +168,8 @@ LOCAL_LDLIBS := -llog
$(foreach file, $(LOCAL_SRC_FILES), $(LOCAL_PATH)/$(file)): vpx_rtcd.h
.PHONY: clean
@echo "Clean: ads2gas files [$(TARGET_ARCH_ABI)]"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment