Expand local file path to allow users to fix ndk-build
authorStewart Miles <smiles@google.com>
Fri, 13 Nov 2015 05:12:18 +0000 (21:12 -0800)
committerStewart Miles <smiles@google.com>
Fri, 13 Nov 2015 16:49:00 +0000 (08:49 -0800)
commitef53aebf9e985ac18e931752d017a56705d3619f
tree1cbc5bc12465faa0c52ad8f708387cc012395143
parent4f96603e129b5a1b5c05965f15afe478530654ac
Expand local file path to allow users to fix ndk-build

local-source-file-path does not expand to correct file paths in
some circumstances so some users override it.  Therefore
flatbuffers_header_build_rules has been modified to generate rules
that expand LOCAL_SRC_FILES values with flatbuffers_header_build_rules.

Also, this overrides local-source-file-path to allow nest projects
to build when NDK_OUT is set.

Tested:
Verified a dependent project continues to build.

Bug: 25673744
Change-Id: Ic90186fe96d6e4533f9f3b7ca9ef78084de08a7e
android/jni/include.mk