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
(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."
(with-temp-buffer
(insert-file-contents "/assets/build_info")
(let ((string (buffer-substring 1 (line-end-position))))
(and (not (equal string "Unknown")) string))))