This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Build Programs with Android NDK & ccache | |
function android_build() { | |
TOOLCHAIN="$NDK"/toolchains/llvm/prebuilt/linux-x86_64 | |
TARGET=$1 | |
API=$2 | |
shift 2 | |
AR="$TOOLCHAIN/bin/llvm-ar" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LC_ALL=C.UTF-8 LANG=C.UTF-8 checkonly=false | |
check_terminal() | |
{ | |
tty -s || exec xterm "$0" | |
} | |
check_root() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import getopt | |
import os | |
import pathlib | |
import sys | |
import zlib | |
from abc import ABCMeta, abstractmethod | |
from typing import ByteString |