1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Update emacsbug and version.el for the Android port

* java/Makefile.in (install_temp/assets/version): New generated
file.
* lisp/loadup.el: Set emacs versions appropriately prior to
dumping on Android.
* lisp/mail/emacsbug.el (emacs-build-description): Insert
Android build fingerprint.
* lisp/version.el (emacs-repository-version-android)
(emacs-repository-get-version, emacs-repository-get-branch):
Implement for Android.
* src/androidterm.c (android_set_build_fingerprint): New
function.
(syms_of_androidterm): New variable `android-build-fingerprint'.
This commit is contained in:
Po Lu 2023-02-17 21:09:00 +08:00
parent 1f81186d67
commit d70bb47aeb
5 changed files with 145 additions and 4 deletions

View file

@ -439,6 +439,13 @@ lost after dumping")))
(defconst emacs-build-number
(if versions (1+ (apply #'max versions)) 1))))
;; Just set the repository branch during initial dumping on Android.
(if (and (eq system-type 'android)
(not (pdumper-stats)))
(setq emacs-repository-version
(ignore-errors (emacs-repository-get-version))
emacs-repository-branch
(ignore-errors (emacs-repository-get-branch))))
(message "Finding pointers to doc strings...")
(if (and (or (and (fboundp 'dump-emacs)