gn: Bump to latest 20211116
This commit is contained in:
parent
2697b3aea4
commit
4d27b8efbd
@ -10,6 +10,9 @@
|
||||
/clean.sh @Grimler91 @xeffyr
|
||||
/scripts/ @Grimler91 @xeffyr
|
||||
|
||||
# GN setup script
|
||||
/scripts/build/setup/termux_setup_gn.sh @thunder-coding
|
||||
|
||||
# Repository utilities.
|
||||
/scripts/bin/ @xeffyr
|
||||
|
||||
|
@ -4,8 +4,8 @@ TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
|
||||
# While updating commit hash here also update it in
|
||||
# termux_setup_gn
|
||||
_COMMIT=de86ec4176235871a7cb335756987e41246dae4a
|
||||
TERMUX_PKG_VERSION=20210913
|
||||
_COMMIT=4aa9bdfa05b688c58d3d7d3e496f3f18cbb3d89e
|
||||
TERMUX_PKG_VERSION=20211116
|
||||
TERMUX_PKG_RECOMMENDS="ninja"
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
@ -34,8 +34,8 @@ termux_step_configure() {
|
||||
cat <<- EOF > ./out/last_commit_position.h
|
||||
#ifndef OUT_LAST_COMMIT_POSITION_H_
|
||||
#define OUT_LAST_COMMIT_POSITION_H_
|
||||
#define LAST_COMMIT_POSITION_NUM ${TERMUX_PKG_VERSION}
|
||||
#define LAST_COMMIT_POSITION "${TERMUX_PKG_VERSION}"
|
||||
#define LAST_COMMIT_POSITION_NUM 1945
|
||||
#define LAST_COMMIT_POSITION "1945 ${_COMMIT:0:8}"
|
||||
#endif // OUT_LAST_COMMIT_POSITION_H_
|
||||
EOF
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
termux_setup_gn() {
|
||||
termux_setup_ninja
|
||||
local GN_COMMIT=de86ec4176235871a7cb335756987e41246dae4a
|
||||
local GN_COMMIT=4aa9bdfa05b688c58d3d7d3e496f3f18cbb3d89e
|
||||
local GN_TARFILE=$TERMUX_COMMON_CACHEDIR/gn_$GN_COMMIT.tar.gz
|
||||
local GN_SOURCE=https://gn.googlesource.com/gn/+archive/$GN_COMMIT.tar.gz
|
||||
|
||||
@ -30,8 +30,8 @@ termux_setup_gn() {
|
||||
cat <<-EOF >./out/last_commit_position.h
|
||||
#ifndef OUT_LAST_COMMIT_POSITION_H_
|
||||
#define OUT_LAST_COMMIT_POSITION_H_
|
||||
#define LAST_COMMIT_POSITION_NUM 1
|
||||
#define LAST_COMMIT_POSITION "${GN_COMMIT}"
|
||||
#define LAST_COMMIT_POSITION_NUM 1945
|
||||
#define LAST_COMMIT_POSITION "1945 ${GN_COMMIT:0:8}"
|
||||
#endif // OUT_LAST_COMMIT_POSITION_H_
|
||||
EOF
|
||||
ninja -C out/
|
||||
|
Loading…
Reference in New Issue
Block a user