aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-10-28 13:57:06 -0700
committerJoel Galenson <jgalenson@google.com>2021-10-28 14:02:04 -0700
commitfdcf7c808165493ea6e99da06b5a1bfe6c5ef3d5 (patch)
tree20d23f98afdddc14045d4d2c40896f389a5b7592
parentdafb9684c423543957a43185916251d0a88a5376 (diff)
downloadprotobuf-codegen-fdcf7c808165493ea6e99da06b5a1bfe6c5ef3d5.tar.gz
Remove deprecated file.
This readme talked about updating the version number, but this is now handled by cargo2android.py and the cargo_pkg_version field in the Android.bp file. It also warns about rerunning cargo2android.py and verifying changes caused by build.rs, but that's true for other crates, so this doesn't seem required, although it could potentially still have value. Test: None Change-Id: I3fe74b3acd40b80fca4e1cc71e7067daf872d99f
-rw-r--r--README.android15
1 files changed, 0 insertions, 15 deletions
diff --git a/README.android b/README.android
deleted file mode 100644
index a75eb35..0000000
--- a/README.android
+++ /dev/null
@@ -1,15 +0,0 @@
-Since we do not run build.rs during an Android build,
-we need to set up the version number in src/lib.rs
-until we have a smarter way to patch it based on new
-version number in Cargo.toml.
-
-To update this package, please make sure that the following code
-in src/lib.rs is up to data.
-
- // Hack: hard code version number here because Android.bp
- // rust modules cannot pass it though env variable yet.
- w.write_generated_by("rust-protobuf", "2.16.2");
-
-If there are non-trivial changes in build.rs or src/lib.rs,
-please rerun cargo2android.py and verify the differences in
-Android.bp and src/lib.rs.