This file contains hidden or 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 | |
# | |
# Script to collect Windows dependent dynamic libraries. | |
# Run under a Cygwin or Windows Subsystem for Linux bash shell. | |
# | |
# Author(s): Philip Lamb | |
# | |
# Get our location. |
This file contains hidden or 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
mod __gl_imports { | |
pub use std::mem; | |
pub use std::marker::Send; | |
pub use std::os::raw; | |
} | |
pub mod types { | |
#![allow(non_camel_case_types, non_snake_case, dead_code, missing_copy_implementations)] |
This file contains hidden or 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
mod __gl_imports { | |
pub use std::mem; | |
pub use std::os::raw; | |
} | |
pub mod types { | |
#![allow(non_camel_case_types, non_snake_case, dead_code, missing_copy_implementations)] | |
This file contains hidden or 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 | |
# | |
# Script to collect macOS dependent dynamic libraries outside system paths. | |
# | |
# Author(s): Philip Lamb | |
# | |
# Get our location. | |
OURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
This file contains hidden or 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
git log --first-parent --pretty="format:* [\`%h\`](/mozillareality/firefoxreality/commit/%h) %s" 1.1.4c..HEAD | sed -E -e 's/\(#([0-9]+)\)$/[\`#\1\`](\/mozillareality\/firefoxreality\/pull\/\1)/g' |
This file contains hidden or 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 | |
# | |
# Usage ./merge_static_libs.sh [--prefix <prefix>] [--ext <ext>] [--indir <indir>] [--target_platform macos|ios|android|linux] [--android_toolchain <toolchain> outlib inlib1 [inlib2] [inlib3] [...] | |
# <prefix> defaults to 'lib', <ext> defaults to '.a', <indir> defaults to '.' | |
# <toolchain> defaults to "arm-linux-androideabi". Other options: "aarch64-linux-android", "x86", "x86_64", "mipsel-linux-android", "mips64el-linux-android". | |
# | |
# | |
This file contains hidden or 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 | |
# Bash script to assert that the current version of the NDK is at least the | |
# specified version. Prints 'true' to standard out if it's the right version, | |
# 'false' if it's not. | |
# | |
# Typically used like this, in your jni/Android.mk: | |
# | |
# ifneq ($(shell $(LOCAL_PATH)/assert_ndk_version.sh "r5c"),true) | |
# $(error NDK version r5c or greater required) |