)]}'
{
  "commit": "aefb8a8cf22a27b7d0b6b79195f915e4391caf30",
  "tree": "024bff82a2b17811fc877ead2ec914463c1b7981",
  "parents": [
    "d2a5ab6500c1e7dbadced7e6a49c64d326085f8e"
  ],
  "author": {
    "name": "Keir Mierle",
    "email": "mierle@gmail.com",
    "time": "Sat Jul 28 13:23:55 2012 -0700"
  },
  "committer": {
    "name": "Keir Mierle",
    "email": "mierle@gmail.com",
    "time": "Thu Aug 02 18:35:16 2012 -0700"
  },
  "message": "Preliminary Android port of Ceres\n\nThis change adds several of the pieces needed to build Ceres on\nAndroid. The port is incomplete, since GFlags doesn\u0027t build which\ncauses the tests to not build. However, simple_bundle_adjuster\nbuilds and runs on the phone.\n\nThanks to Scott Ettinger for the original version of the minimal\nGLog implementation which made this port possible. The Ceres logs\ngo to the various Android logging levels, as documented in\nminiglog/glog/logging.h.\n\nTo control the Android build, this adds a new CMake build option:\n\n  -DBUILD_ANDROID\u003dON/OFF\n\nHowever, users may not want to set this manually, and should\ninstead run the script found in android/build_android.sh. The\nscript calls the NDK to make a standalone toolchain, downloads the\nandroid-cmake toolchain, then configures CMake to cross-compile\nCeres to Android.\n\nNote: At time of writing, the android-cmake toolchain that the\nscript downloads from Google Code doesn\u0027t work with the latest\nJellybean NDK. It\u0027s possible to manually hack the toolchain file\nto make it build by setting the compiler version and manually\nsetting the path to the STL includes. I don\u0027t yet have a patch\nsuitable for upstreaming to http://android-cmake.googlecode.com.\n\nChange-Id: Icb615be203145e87413d6acd05883171a395499d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1f7b56c4fafda973f08914c46e3aafe22031a6a",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "dc3123173d6575fbde2c44585d311e1b4745166b",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5cb438363415e9cb217f28986b7dbcf9b2cbbd3d",
      "new_mode": 33188,
      "new_path": "android/build_android.sh"
    },
    {
      "type": "modify",
      "old_id": "0d33a8646b47cd8c76c2bad4f3d09e4026791b4a",
      "old_mode": 33188,
      "old_path": "internal/ceres/CMakeLists.txt",
      "new_id": "1c1d4cde32b50f08c0eef1f091d4cb80cad82cac",
      "new_mode": 33188,
      "new_path": "internal/ceres/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "32a78ce8788f39bfd3b804f72e81815e4ddf8910",
      "new_mode": 33188,
      "new_path": "internal/ceres/miniglog/glog/logging.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1fc137b4cfa98417222e3b55a8e1bb0cb8a59e3d",
      "new_mode": 33188,
      "new_path": "internal/ceres/miniglog/glog/logging.h"
    }
  ]
}
