OSDN Git Service

envsetup: export ANDROID_BUILD_TOP earlier
authorChirayu Desai <cdesai@cyanogenmod.org>
Tue, 19 Mar 2013 12:20:37 +0000 (17:50 +0530)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
Change-Id: Ia3497f61f4e9aaeeb793cecd3b4f488f0a48181a

envsetup.sh

index b75985d..da44a29 100644 (file)
@@ -305,7 +305,6 @@ function set_stuff_for_environment()
     setpaths
     set_sequence_number
 
-    export ANDROID_BUILD_TOP=$(gettop)
     # With this environment variable new GCC can apply colors to warnings/errors
     export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
     export ASAN_OPTIONS=detect_leaks=0
@@ -2421,3 +2420,5 @@ done
 unset f
 
 addcompletions
+
+export ANDROID_BUILD_TOP=$(gettop)