Sign in
android
/
platform
/
external
/
libabigail
/
c1db8a7be6923a47b640ce1bb3c62b1eccfada2a
/
.
/
android_build_version.sh
blob: b6ff238b695327c3a2a84452d816e0785aec2d69 [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
x
set
-
e
dir
=
"$1"
out
=
"$2"
version
=
$
(
git
-
C
"$dir"
describe
--
abbrev
=
8
--
always
)-
soong
echo
"#define ANDROID_BUILD_VERSION \"${version}\""
>
"$out"