Add android extension to expose detrand.Disable()
Otherwise the randomness causes spurious incremental rebuilds when the
random value changes (which may happen every time soong is changed).
Bug: 200727888
Change-Id: I953c2a323edee5e6ee09d999ac6d00217f2f7556
diff --git a/Android.gen.bp b/Android.gen.bp
index 65138a2..72e1c3b 100644
--- a/Android.gen.bp
+++ b/Android.gen.bp
@@ -1,6 +1,17 @@
// Automatically generated with:
// go2bp -rewrite google.golang.org/protobuf=golang-protobuf -rewrite github.com/google/go-cmp/cmp=go-cmp -exclude-src internal/detrand/rand_test.go
+bootstrap_go_package {
+ name: "golang-protobuf-android",
+ pkgPath: "google.golang.org/protobuf/android",
+ deps: [
+ "golang-protobuf-internal-detrand",
+ ],
+ srcs: [
+ "android/android.go",
+ ],
+}
+
blueprint_go_binary {
name: "protoc-gen-go",
deps: [