最終更新:2015-08-26 (水) 21:23:49 (3494d)
AOSP/build/envsetup.sh
Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- シェルスクリプトの関数が幾つか定義されている。
追加されるコマンド
- croot? - Androidのソースコードのトップディレクトリに移動する
- m - ツリー構造の先頭からMakeを実行する
- mm - カレントディレクトリのモジュールをすべてビルドする
- mmm? - 引数で与えたディレクトリのモジュールをすべてビルドする
- cgrep? - C/C++ファイルに対してgrepを行う
- jgrep? - Javaファイルに対してgrepを行う
- resgrep? - res/*.xmlファイルに対してgrepを行う
- godir? - 該当するファイルが含まれているディレクトリに移動する
その他
- lunch - ビルドターゲットの指定が行える
- choosecombo
メモ
- sourceで読み込んでからhelpすると関数一覧が表示される。
- Look at the source to view more functions. The complete list is:
- _lunch?
- add_lunch_combo?
- addcompletions?
- cgrep?
- check_product?
- check_variant?
- choosecombo
- chooseproduct?
- choosetype?
- choosevariant?
- cproj?
- croot?
- findmakefile?
- gdbclient?
- get_abs_build_var?
- get_build_var
- getbugreports?
- getprebuilt?
- gettop?
- godir?
- help?
- isviewserverstarted?
- jgrep?
- key_back?
- key_home?
- key_menu?
- lunch
- m
- mm
- mmm?
- pid?
- print_lunch_menu
- printconfig
- resgrep?
- runhat?
- runtest?
- set_java_home?
- set_sequence_number?
- set_stuff_for_environment?
- setpaths
- settitle?
- smoketest?
- startviewserver?
- stopviewserver?
- systemstack?
- tapas
- tracedmdump?
vendorsetup.sh
# Execute the contents of any vendorsetup.sh files we can find. for f in `/bin/ls vendor/*/vendorsetup.sh vendor/*/*/vendorsetup.sh device/*/*/vendorsetup.sh 2> /dev/null` do echo "including $f" . $f done
android-5.1.1_r1
- including
- AOSP/device/htc/flounder/vendorsetup.sh?
- AOSP/device/generic/mini-emulator-x86_64/vendorsetup.sh?
- AOSP/device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh?
- AOSP/device/generic/mini-emulator-mips/vendorsetup.sh?
- AOSP/device/generic/mini-emulator-x86/vendorsetup.sh?
- AOSP/device/generic/mini-emulator-arm64/vendorsetup.sh?
- AOSP/device/moto/shamu/vendorsetup.sh?
- AOSP/device/asus/fugu/vendorsetup.sh?
- AOSP/device/asus/flo/vendorsetup.sh?
- AOSP/device/asus/deb/vendorsetup.sh?
- AOSP/device/asus/tilapia/vendorsetup.sh?
- AOSP/device/asus/grouper/vendorsetup.sh?
- AOSP/device/lge/mako/vendorsetup.sh?
- AOSP/device/lge/hammerhead/vendorsetup.sh?
- AOSP/device/samsung/manta/vendorsetup.sh?
- AOSP/sdk/bash_completion/adb.bash?