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
# How to use ART to compile arm oat files on the host: | |
# - Get source code according to https://source.android.com/source/downloading.html | |
# - source build/envsetup.sh | |
# - mm build-art | |
# - Use this script in the source root directory to compile APKs | |
CWD=`pwd` | |
export ANDROID_DATA="${CWD}/out/host/datadir/dalvik-cache/x86_64" | |
export ANDROID_ROOT="${CWD}/out/host/linux-x86" | |
BOOT_IMAGE="${CWD}/out/host/linux-x86/framework/core.art" |
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
# How to use ART to compile arm oat files on the host: | |
# - Get source code according to https://source.android.com/source/downloading.html | |
# - source build/envsetup.sh | |
# - mm build-art | |
# - Build the full android image for aosp_arm-eng | |
# (Follow the directions at https://source.android.com/source/building.html) | |
# - Use this script in the source root directory to compile APKs | |
CWD=`pwd` | |
export ANDROID_DATA="${CWD}/out/host/datadir/dalvik-cache/x86_64" |
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 | |
# This script generates a diff of two different git revisions of a | |
# tex file. Note that a few things should be true: | |
# -The two revisions should share the same latex style. (article,llncs,etc.) | |
# -The main file of each should be called main.tex | |
# -Everything must be in a git repository | |
if [ "$#" -ne 2 ] | |
then |