Android development tools paths are pre-pended to system PATH

Bug: 1068808
Change-Id: I4304a8ac713558880ac9f584a8ddfefce82cbc76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2171798
Auto-Submit: Carlos Knippschild <carlosk@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#763593}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dedee28fa988b5257b9e2c778fea3ccaee42a4b8
This commit is contained in:
Carlos Knippschild 2020-04-28 22:37:50 +00:00 коммит произвёл Commit Bot
Родитель f57c3175e6
Коммит 6d41f313a6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -26,9 +26,9 @@ android_envsetup_main() {
export ANDROID_HOME="$ANDROID_SDK_ROOT"
# Set up PATH to point to SDK-provided (and other) tools, such as 'adb'.
export PATH=$PATH:${ANDROID_SDK_ROOT}/platform-tools
export PATH=$PATH:${ANDROID_SDK_ROOT}/tools/
export PATH=$PATH:${CHROME_SRC}/build/android
export PATH=${CHROME_SRC}/build/android:$PATH
export PATH=${ANDROID_SDK_ROOT}/tools/:$PATH
export PATH=${ANDROID_SDK_ROOT}/platform-tools:$PATH
}
# In zsh, $0 is the name of the file being sourced.
android_envsetup_main "${BASH_SOURCE:-$0}"