1. 14 Nov, 2015 1 commit
    • Jon Simantov's avatar
      Added build_flatbuffers function to CMake. · f2949c3f
      Jon Simantov authored
      This function is designed to be called by projects that use FlatBuffers.
      It takes a list of FlatBuffers schemas and a list of schema include
      directories, and generates build rules to create generated headers
      and/or binary schemas for those files, as well as optionally copying
      all of the text schemas into a directory for your use (for example if
      you need to parse text schemas within your app).
      
      See function comments for more details.
      
      Change-Id: I181684b916e91d965e14849d8f83ec2c83e9a4a4
      f2949c3f
  2. 13 Nov, 2015 2 commits
    • Stewart Miles's avatar
      Expand local file path to allow users to fix ndk-build · ef53aebf
      Stewart Miles authored
      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
      ef53aebf
    • Stewart Miles's avatar
      Pass job server arguments (-jX) to make. · 4f96603e
      Stewart Miles authored
      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
      4f96603e
  3. 10 Nov, 2015 1 commit
  4. 09 Nov, 2015 1 commit
  5. 07 Nov, 2015 1 commit
  6. 06 Nov, 2015 1 commit
  7. 29 Oct, 2015 2 commits
  8. 28 Oct, 2015 2 commits
  9. 22 Oct, 2015 1 commit
    • Stewart Miles's avatar
      Improved build rule generation for Android flatbuffer headers. · ed88f7de
      Stewart Miles authored
      * 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
      ed88f7de
  10. 20 Oct, 2015 3 commits
  11. 19 Oct, 2015 6 commits
  12. 18 Oct, 2015 2 commits
  13. 15 Oct, 2015 7 commits
  14. 13 Oct, 2015 1 commit
  15. 08 Oct, 2015 1 commit
  16. 29 Sep, 2015 1 commit
  17. 28 Sep, 2015 3 commits
  18. 25 Sep, 2015 4 commits