Update gcc version to 4.9 everywhere. NDK r11 stopped support for gcc 4.8. Switch from bin/exe format to zip format. Drop support for linux/x86, since r11c no longer supports it. Change the NDK URLs from http://dl.google.com/android/ndk/ to https://dl.google.com/android/repository/. Add a flag, -ndkdir, to specify where the downloaded NDK files for processing are found and downloaded. Check the status code from the http.Get that fetches the NDK files. Change-Id: I836de6611bd04f5220e01937a3288a91604b8999 Reviewed-on: https://go-review.googlesource.com/23592 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
20 lines
1.2 KiB
Go
20 lines
1.2 KiB
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
// Hashes were computed with 'go run release.go'
|
|
|
|
var fetchHashes = map[string]string{
|
|
"android-ndk-r11c-darwin-x86_64.zip": "fe2f8986074717240df45f03e93a4436dac2040dc12fecee4853953d584424b3",
|
|
"gomobile-ndk-r11c-darwin-x86_64.tar.gz": "1d563c5c27dcb3643eb3cbd4e44b535aec052c600350d6203374e0100b1d75ff",
|
|
"android-ndk-r11c-linux-x86_64.zip": "ba85dbe4d370e4de567222f73a3e034d85fc3011b3cbd90697f3e8dcace3ad94",
|
|
"gomobile-ndk-r11c-linux-x86_64.tar.gz": "eb0a657e03dad70dce33281414d2fdf38f2b313a8a1a4323d0648e9d16198d74",
|
|
"android-ndk-r11c-windows-x86.zip": "eea7d148cf046baad2b8f3fd8e4a27d3695964079db0da6b9fca08051bb4dccb",
|
|
"gomobile-ndk-r11c-windows-x86.tar.gz": "7f6b53f55993aa0deccace0ab2829ebb0e93d6bf2196a964f63bfde46da95d9e",
|
|
"android-ndk-r11c-windows-x86_64.zip": "55c69f1d5a3602b3f6d6cea280b16938f17d6a4b509af01641d4db1280088d90",
|
|
"gomobile-ndk-r11c-windows-x86_64.tar.gz": "b3e1e17ec6d19b7512e6b5277fccc3a61e4c4b6bab6c4a3874d856c0332a61db",
|
|
"gomobile-openal-soft-1.16.0.1.tar.gz": "84c9361734902df622dd49a8c0cfb0090fd7743a2cbf927a9ae85c4826beb173",
|
|
}
|