Function: android-read-build-system
android-read-build-system is a byte-compiled function defined in
version.el.gz.
Signature
(android-read-build-system)
Documentation
Obtain the host name of the system on which Emacs was built.
Use the data stored in the special file /assets/build_info.
Value is the string `Unknown' upon failure, else the hostname
of the build system.
Source Code
;; Defined in /usr/src/emacs/lisp/version.el.gz
;; If either of the files examined by the following two functions does
;; not exist, Emacs was configured `--disable-build-details'.
(defun android-read-build-system ()
"Obtain the host name of the system on which Emacs was built.
Use the data stored in the special file `/assets/build_info'.
Value is the string ``Unknown'' upon failure, else the hostname
of the build system."
(when (file-exists-p "/assets/build_info")
(with-temp-buffer
(insert-file-contents "/assets/build_info")
(let ((string (buffer-substring 1 (line-end-position))))
(and (not (equal string "Unknown")) string)))))