)]}' { "commit": "3e0bab5405d63a8f5dd9d9764a24c8e5ac4997fa", "tree": "e009a2f6b97dd2129726eb9b74480bfdd0ca2589", "parents": [ "28c689b77b5f6eebbba8f17d7e089fe2a3c7cf4c" ], "author": { "name": "Daniel Lublin", "email": "daniel@lublin.se", "time": "Sun Apr 14 20:50:36 2019 +0200" }, "committer": { "name": "Elias Naur", "email": "mail@eliasnaur.com", "time": "Mon Apr 15 19:13:53 2019 +0000" }, "message": "cmd/gomobile: fall back to $ANDROID_NDK_HOME for the NDK path\n\nAfter trying $ANDROID_HOME/ndk-bundle, we also try $ANDROID_NDK_HOME.\n\nANDROID_NDK_HOME is advised in this NDK sample code wiki:\nhttps://github.com/googlesamples/android-ndk/wiki\nMentioned in the Bazel buildsystem Android app tutorial:\nhttps://docs.bazel.build/versions/master/tutorial/android-app.html\n\nOn Ubuntu, the google-android-ndk-installer leaves the NDK in\n/usr/lib/android-ndk, and it seems to be up to the user to set\nANDROID_NDK_HOME.\n\nOn Arch Linux, the android-ndk package installs the NDK into /opt/android-ndk\nand sets ANDROID_NDK_HOME to there using an /etc/profile.d/file\n\nFixes golang/go#31461\n\nChange-Id: I9f7f7e24b19e0047419f9725b67bd6daf2b1d328\nReviewed-on: https://go-review.googlesource.com/c/mobile/+/171938\nRun-TryBot: Elias Naur \u003cmail@eliasnaur.com\u003e\nReviewed-by: Elias Naur \u003cmail@eliasnaur.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "dbf9c8c7bfc8bbf3afddc0bafa0d4a43771795bd", "old_mode": 33188, "old_path": "cmd/gomobile/env.go", "new_id": "c70b2a1d70349d7d45d0891148c8aed16113cf4d", "new_mode": 33188, "new_path": "cmd/gomobile/env.go" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "c04131321feedea4adbcb1e67fae5109090b17fe", "new_mode": 33188, "new_path": "cmd/gomobile/env_test.go" } ] }