Lines Matching +full:runs +full:- +full:on
8 # runs <command> as if we issued
10 # mount --bind <build dir> out
21 # ~/aosp/build/soong/scripts/setup-android-build.sh aosp_blueline-userdebug
23 # ~/aosp/build/soong/scripts/setup-android-build.sh aosp_cf_arm64_phone-userdebug
34 set -e
39 [[ "$(uname)" == Linux ]] || die "This setup runs only on Linux\n"
40 declare -r mydir="${0%/*}"
41 declare -r source="${mydir%/build/soong/scripts}"
44 [[ ! -e .repo && ! -e .git ]] || \
47 if [[ -x ./run ]]; then
49 . <(sed -nr 's/^# *source=(.*)/oldsource=\1/p;s/^# *config=(.*)/oldconfig=\1/p' run)
58 declare -r config="$1"
59 declare -r target="$PWD"
64 declare -r cmd=\$(printf ' %q' "\$@")
65 "$source/prebuilts/build-tools/linux-x86/bin/nsjail"\
66 -Mo -q -e -t 0\
67 -EANDROID_QUIET_BUILD=true \
68 -B / -B "$target:$source/out"\
69 --cwd "$source"\
70 --skip_setsid \
71 --keep_caps\
72 --disable_clone_newcgroup\
73 --disable_clone_newnet\
74 --rlimit_as soft\
75 --rlimit_core soft\
76 --rlimit_cpu soft\
77 --rlimit_fsize soft\
78 --rlimit_nofile soft\
79 --proc_rw\
80 --hostname $(hostname) \
81 --\
82 /bin/bash -i -c ". build/envsetup.sh && lunch "$config" &&\$cmd"
90 get_build_var COMMON_LUNCH_CHOICES | tr ' ' '\n' | pr -c4 -tT -W"$(tput cols)"