History log of /external/flatbuffers/android/jni/include.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fe65326739191e94929dfc3d05f459b34c72492 19-Nov-2015 Stewart Miles <smiles@google.com> Fixed typo in cmake build rule for Linux.

Tested:
Verified it's possible to build generated headers on Linux for Android.

Change-Id: I82249a252cb851b978a177f4a4b92b527cc2bfd9
/external/flatbuffers/android/jni/include.mk
8212da5d5d51c4188dc88a5a98aad07d4ea429a1 19-Nov-2015 Stewart Miles <smiles@google.com> Workaround broken gnumake realpath on Windows.

Also, added missing build scripts for flatc on Windows and fixed
numerous issues in the flatbuffers/android/jni/include.mk makefile.

Tested:
Verified dependent project (motive) can generate flatbuffers headers
with these changes on Android.

Bug: 25780616

Change-Id: I73f0dec8f7a6a7eb4e71951a8f1cd3e0d343a9ff
/external/flatbuffers/android/jni/include.mk
ef53aebf9e985ac18e931752d017a56705d3619f 13-Nov-2015 Stewart Miles <smiles@google.com> 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
/external/flatbuffers/android/jni/include.mk
4f96603e129b5a1b5c05965f15afe478530654ac 13-Nov-2015 Stewart Miles <smiles@google.com> Pass job server arguments (-jX) to make.

When $(MAKE) is expanded via a macro "make" doesn't know whether
$(MAKE) refers to an instance of the make app and therefore doesn't
pass job server arguments down. This change adds the + prefix to the
command in the receipe in order to indicate $(MAKE) is another instance of
make.

Tested:
Verified flatc builds in parallel from Android builds.

Change-Id: I9f2f4f9680b818fdda7420a75a8bfa995b4644db
/external/flatbuffers/android/jni/include.mk
ed88f7de96091c1ba4c8e863d97dd41bfdf2be6f 22-Oct-2015 Stewart Miles <smiles@google.com> Improved build rule generation for Android flatbuffer headers.

* Added the ability to create a build target for generated headers.
* Made it possible for generated header targets to depend upon each
other or arbitrary build targets.

Tested:
Verified some pretty complex libraries with numerous flatbuffer schema
dependencies build using this macro on Linux with the NDK.
Bug: 25188384

Change-Id: I846855a50808e58c34cdf7086e93e7ea0df69e0d
/external/flatbuffers/android/jni/include.mk
782e05de55c544bdf75da1d22bd3df21fbd78066 28-Aug-2015 Wouter van Oortmerssen <wvo@google.com> Fixed Android builds on Windows (generated schema rules).

include.mk causes absolute paths to be generated, which doesn't
work on Windows (make doesn't like : in paths).

Change-Id: Ib06c9581620bde1e8452e0dd887d3986d517c4f5
Tested: on Windows, Linux.
/external/flatbuffers/android/jni/include.mk
6aeb09b297860061047fa89b4f1129519cc7cf0b 04-Aug-2015 Stewart Miles <smiles@google.com> Clarified the use of the deprecated flatc --gen-includes flag.

Also, removed the flag from the Android makefile.

Tested:
Verified flatc builds successfully on Linux and regenerated the docs.

Change-Id: I7140daa10b7cb9a29b5ffd63c6b20489e72a5899
/external/flatbuffers/android/jni/include.mk
185b9f9792b9a101effc5b2827eff9f757cf4fd8 30-Jun-2015 Jon Simantov <jsimantov@google.com> Allow customization of flatc cmdline arguments on Android.

On Android builds, set FLATBUFFERS_FLATC_ARGS to change the arguments
passed to the flatc cmdline. Do this in your Android makefile where
you include the flatbuffers include.mk (before or after).

For example FLATBUFFERS_FLATC_ARGS=--gen-mutable

The default value is --gen-includes although since that is deprecated
we could just make the default value blank.

Change-Id: I79fb35f50c3e21bbef18ad40ad3559cb026ffe8e
/external/flatbuffers/android/jni/include.mk
e8598950fc37bfb1dbfdd135570bdd6f2d2f385a 26-Mar-2015 Jason Sanmiya <jsanmiya@google.com> Fix Mac ndk-build error on motive, pie_noon, pindrop.

We were looking for 'flatc' in motive/bin/Debug/flatc,
on Mac. It's actually built to flatbuffers/Debug/flatc.

Tested: OS X Yosemite, ndk-r10d. Also tested on Linux.
Change-Id: I9f1ecfe00c5f42fd9b6808b5a5da1c920487a4c2
/external/flatbuffers/android/jni/include.mk
69dae32776ef2915ed51b78771cb42f4f4b83c4c 10-Feb-2015 Alex Ames <amablue@google.com> Call $(strip) on parameters so newlines work.

Added a call to $(strip) to the parameters of
`flatbuffers_header_build_rules` so that newlines can be used when
passing arguments to it.

Change-Id: Ie2149acebcef91d28ce2cb4bfd204a209b4c4e2f
/external/flatbuffers/android/jni/include.mk
ff1ac8ab5a62505adb10a12442a8018248a03dad 26-Jan-2015 Alex Ames <amablue@google.com> Added new Android build target and makefile utils.

Previously Android.mk only had a rule for the Flatbuffers test. There
is now an empty module definition so that flatbuffers can be included
as an Android module in other projects.

Additionally, android/jni/include.mk has been added which contains
some utility functions that can be used by projects using Flatbuffers
to generate header build rules and set up dependencies.

A sample project has been added to the samples directory to
demonstrate how to use flatbuffers with Android.

Tested by compiling Android project on Linux.

Change-Id: I25d6da40f6531777b22f7371187e0a2f4e903ad4
/external/flatbuffers/android/jni/include.mk