summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
Commit message (Collapse)AuthorAgeFilesLines
* Call art-on only when debugging ART processes.Christopher Ferris2014-10-051-0/+4
| | | | | | | | | If you are debugging a native process, SIGSEGV gets ignored by default. Make it so that the special ART gdb macro is only called when debugging app_processXX. Bug: 17815162 Change-Id: Idba86860dfd94e7483f2668beeb76b3e6032fb34
* Merge "envsetup.sh: Fix handling of emulator prebuilts path." into lmp-devDavid 'Digit' Turner2014-09-161-18/+0
|\
| * envsetup.sh: Fix handling of emulator prebuilts path.David 'Digit' Turner2014-09-161-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a bad previous merge, everytime 'lunch' is called, a new instance of prebuilts/android-emulator/<system>/ will be added to your PATH. This patch fixes the issue by removing the duplicate code that should have been removed during the merge. Note that android-emulator is still being added once to the PATH by code that appears before in the script. BUG=17524154 Change-Id: Iaa03159b0c81b15ef4c7c420e2f76e0a48aba789
* | Merge "Fix mma/mmma by making gettop canonicalize TOP when set" into lmp-devBrian Carlstrom2014-09-121-1/+2
|\ \
| * | Fix mma/mmma by making gettop canonicalize TOP when setBrian Carlstrom2014-09-121-1/+2
| |/ | | | | | | | | Bug: 17253957 Change-Id: Ifd6d5984f63981e1f99b6ae6f9459c2801588459
* | Remove the vbox target from the build system.Dan Albert2014-09-111-1/+0
|/ | | | | | | | I've been told this is no longer in use, and it's the only user of external/grub, which is distressingly out of date. Change-Id: I434a55e0d68f6db97fa71e294e983ff1802e9ba6 (cherry picked from commit de21059acf371a58019ef02aa79457923750aa79)
* Allow to overrde command make in envsetup.sh.Ying Wang2014-08-241-1/+6
| | | | | | | To override define function get_make_command() in vendor's vendor-envsetup.sh. Change-Id: I553e60816eb789750ccd16110f2e82a5087587e8
* Merge "Tweak sgrep to add cc and aidl files." into lmp-devJeff Brown2014-08-141-3/+4
|\
| * Tweak sgrep to add cc and aidl files.Jeff Brown2014-07-261-3/+4
| | | | | | | | | | | | Also add it to the help list since it was missing. Change-Id: I11403e63bc421fd146ad88452eac05043eacabc3
* | [MIPS] Unite mipsel and mips64el 4.9 gcc toolchainsDuane Sand2014-08-051-5/+2
|/ | | | | | | | | | | | | | Use 4.9 mips64el toolchain for both 64- and 32-bit builds. Tell ld when 32-bit links are required. Override 4.9's changed defaults for mips floating point register use, to get same assembler rules as 4.8 and earlier. Also: drop unused soft-fp build targets, cleanout redundant compiler options, and remove extraneous Android.mk file. (cherry picked from commit 6670e24aed1ca66f21a6af759a0d156bb3df1739) Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
* runhat: use /data/local/tmpNick Kralevich2014-07-181-3/+1
| | | | | | | | | | | | | | Use /data/local/tmp for runhat reports, instead of the sdcard. system_server isn't allowed to handle sdcard file descriptors, since the sdcard could be ejected at any time, causing the kernel to kill the system process. This addresses the following SELinux denial: W/main ( 9906): type=1400 audit(0.0:16): avc: denied { read write } for path="/mnt/shell/emulated/0/hprof-600" dev="fuse" ino=3077890536 scontext=u:r:system_server:s0 tcontext=u:object_r:fuse:s0 tclass=file Bug: 16375996 Change-Id: I4c2053c327526c2f8e6812f4ed911a712ae9a9b8
* am baad790d: am f27e3fb4: am c35cc93d: Merge "Allow symlinks to device or ↵Ying Wang2014-07-101-2/+2
|\ | | | | | | | | | | | | vendor tree in envsetup.sh." * commit 'baad790de671f680d6584edc4712a9cde823f49c': Allow symlinks to device or vendor tree in envsetup.sh.
| * am f27e3fb4: am c35cc93d: Merge "Allow symlinks to device or vendor tree in ↵Ying Wang2014-07-101-2/+2
| |\ | | | | | | | | | | | | | | | | | | envsetup.sh." * commit 'f27e3fb4cf1d51f3abd5261d5626997c71df22b7': Allow symlinks to device or vendor tree in envsetup.sh.
| | * Allow symlinks to device or vendor tree in envsetup.sh.Ying Wang2014-07-091-2/+2
| | | | | | | | | | | | Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529
* | | Use "$@" to preserve argument word breaksYing Wang2014-07-011-1/+1
| | | | | | | | | | | | | | | | | | This fixes mmma broken due to quotes stripped in the argument passing. Change-Id: I6095c7ccf0660ba7b17a659f5df29b05e50e6303
* | | am 556efe00: am 9e05c9e4: am dc58c2a6: Merge "Remove nonexistent from ↵Ying Wang2014-06-301-2/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | /buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-a * commit '556efe002f852dfa5ca5331e92b1d65a32339f26': Remove nonexistent $ANDROID_QTOOLS from $PATH.
| * | am 9e05c9e4: am dc58c2a6: Merge "Remove nonexistent from ↵Ying Wang2014-06-301-2/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | /buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.r * commit '9e05c9e4e642673dc6d9104c44d26810773c382d': Remove nonexistent $ANDROID_QTOOLS from $PATH.
| | * Remove nonexistent $ANDROID_QTOOLS from $PATH.Ying Wang2014-06-301-2/+1
| | | | | | | | | | | | | | | Bug: 15983070 Change-Id: Id3807a6dabd616ae06aafc2b894c1858e4400e26
* | | no color output, thanks Mac; better callback to real makeEd Heyl2014-06-271-7/+6
| | | | | | | | | | | | Change-Id: Iff2a15ed8aad28c264209b26a33d1206ec80b794
* | | build: fix vendor symbols in gdbColin Cross2014-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | Set TARGET_OUT_VENDOR_SHARED_LIBRARIES_UNSTRIPPED Append '64' for 64-bit libraries Change-Id: Ief289bb23950d4bed84cf616cff6038fbd8caf95
* | | am e75101af: am e49d461a: am b0c6ea9f: Merge "Invoke debuggerd64 when ↵Michael Wright2014-06-251-8/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | appropriate with stacks." * commit 'e75101afdfc528aed486adbc0170964d1b32a91d': Invoke debuggerd64 when appropriate with stacks.
| * | am e49d461a: am b0c6ea9f: Merge "Invoke debuggerd64 when appropriate with ↵Michael Wright2014-06-251-8/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | stacks." * commit 'e49d461a8f713e61ad39ba20b48d2b5fee7beafe': Invoke debuggerd64 when appropriate with stacks.
| | * Merge "Invoke debuggerd64 when appropriate with stacks."Michael Wright2014-06-231-8/+5
| | |\
| | | * Invoke debuggerd64 when appropriate with stacks.Michael Wright2014-06-241-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Read out the ELF header to see if the executable is 64-bit or 32-bit, then call the appropriate debuggerd. In bash. Ugh. Change-Id: I6550fe92e775659cd0370bcb70f40dd59238ad8f
* | | | am dde1a37e: am fbc6f257: am c04b4455: Merge "Updated gdbclient path support."Elliott Hughes2014-06-231-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'dde1a37eb61a807af666c2adcfcb7c197465da90': Updated gdbclient path support.
| * | | am fbc6f257: am c04b4455: Merge "Updated gdbclient path support."Elliott Hughes2014-06-231-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'fbc6f25712362b1f9b7b8970a96833ed0be0f12c': Updated gdbclient path support.
| | * | Merge "Updated gdbclient path support."Elliott Hughes2014-06-201-0/+3
| | |\ \
| | | * | Updated gdbclient path support.Brigid Smith2014-06-201-0/+3
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now gdbclient accepts a fully qualified pathname for EXEs, which it will not modify, or a relative pathname, to which it will prefix "/system/bin". As an example, each of the following now works. Fully qualified: adb shell gdbserver :5039 /system/bin/ping bg gdbclient /system/bin/ping :5039 /system/bin/ping Relative: adb shell gdbserver :5039 /system/bin/ping bg gdbclient ping :5039 /system/bin/ping Change-Id: I1e4c9fca64c4fbc52c255271cc7f83f35c258509
* | | | am e9ef4005: am cd66e5ca: am 6a8b3b43: Merge " delete duplicate variable ↵Ying Wang2014-06-231-1/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | definition" * commit 'e9ef4005ea41b757bf1381236acaae124110d9fb': delete duplicate variable definition
| * | | am cd66e5ca: am 6a8b3b43: Merge " delete duplicate variable definition"Ying Wang2014-06-231-1/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'cd66e5ca0a8ab3235b5a49c904a692ff9142999e': delete duplicate variable definition
| | * | Merge " delete duplicate variable definition"Ying Wang2014-06-201-1/+0
| | |\ \ | | | |/ | | |/|
| | | * delete duplicate variable definitionAndrey Belous2014-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CALLED_FROM_SETUP and BUILD_SYSTEM set in get_build_var before make execution no need to set them before calling get_build_var function Change-Id: Ia79e11e5e3aa5c7fd337b989c16d50750b6c1442 Signed-off-by: Andrey Belous <belous.andrey@gmail.com>
* | | | wrap make and print success/failure message, more laterEd Heyl2014-06-231-2/+33
| | | | | | | | | | | | Change-Id: I48a4687d81bc4b950a1be42b34d2f0d76733574a
* | | | am 1a03ddb8: am 09a4cac1: am 7cc3174d: Merge "Removed /system/bin prefix ↵Elliott Hughes2014-06-181-9/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | from gdbclient." * commit '1a03ddb805f2efc45345aa545d1d724e75972ae7': Removed /system/bin prefix from gdbclient.
| * | | am 09a4cac1: am 7cc3174d: Merge "Removed /system/bin prefix from gdbclient."Elliott Hughes2014-06-181-9/+10
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '09a4cac12e3b040fb6d18490ff444b2fdd6cb451': Removed /system/bin prefix from gdbclient.
| | * | Removed /system/bin prefix from gdbclient.Brigid Smith2014-06-171-9/+10
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now a program run through gdbclient will not automatically have /system/bin added to its path, so programs not in /system/bin will no longer need to be prefixed with ../../. The following now works as an example: adb shell gdbserver :5039 /system/xbin/crasher bg gdbclient /system/xbin/crasher :5039 /system/xbin/crasher And the following now no longer works: adb shell gdbserver :5039 /system/xbin/crasher bg gdbclient ../../system/xbin/crasher :5039 /system/xbin/crasher Change-Id: I299b66d03915aeb1dc300e43a81c9a51f0bd7dec
* | | am b541ab6c: Support to build 64-bit unbundled binaries.Ying Wang2014-05-301-6/+9
|\ \ \ | | | | | | | | | | | | | | | | * commit 'b541ab6c51734530ed615e307f8912f32e616967': Support to build 64-bit unbundled binaries.
| * | | Support to build 64-bit unbundled binaries.Ying Wang2014-05-291-6/+9
| | | | | | | | | | | | | | | | Change-Id: I4656c983d60aaf535ce4d14528c28ae8cef98fd8
* | | | Revert, strange side affects to other (like lunch) commands.Ed Heyl2014-05-281-31/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6acfdd62de0454c98b27db51cf0e6af7f2250d2f. Change-Id: Ic0a84700912570ddec70d152767a9d40f8fa71b0
* | | | wrap make and print success/failure message, more laterEd Heyl2014-05-281-0/+31
| | | | | | | | | | | | | | | | Change-Id: I7debc62babcd855a2d6355dddd00f4531050151c
* | | | am 423242b5: am 828b5183: am e45c8607: Merge changes ↵Colin Cross2014-05-221-3/+5
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130 * commit '423242b59ea01dffbb7f79c7c045528f7c351c4b': set a prebuilt directory name for the 2nd arch add vendor directories to gdb shared library search path add 2nd arch gcc to the path fix paths when 2nd arch gcc is a different version
| * | am 828b5183: am e45c8607: Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130Colin Cross2014-05-221-3/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | * commit '828b518377f69516ea6cbb9ad160d81ced6980d5': set a prebuilt directory name for the 2nd arch add vendor directories to gdb shared library search path add 2nd arch gcc to the path fix paths when 2nd arch gcc is a different version
| | * add vendor directories to gdb shared library search pathColin Cross2014-05-221-1/+2
| | | | | | | | | | | | Change-Id: Ib4ccf3739d6b2f14597605ce06f00e4776f67976
| | * add 2nd arch gcc to the pathColin Cross2014-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Add the 2nd arch gcc to the path so users can manually run gdb, addr2line, objdump, etc. Change-Id: I30ff439bb6548b897d13bfa87151991d5f2948b3
| | * fix paths when 2nd arch gcc is a different versionColin Cross2014-05-221-1/+2
| | | | | | | | | | | | | | | | | | | | | arm64 is using gcc 4.9, arm is using gcc 4.8. Fix setpaths() to get a separate version for the 2nd arch. Change-Id: I7bde01308fc7718360e7d0fbd46b3ae8c5f55fa7
* | | am bcbf9ae4: am 965f3919: am a2cd924b: Merge "Fix extra/missing : in path ↵Christopher Ferris2014-05-211-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | setup." * commit 'bcbf9ae4de41b2cd98ef96f61066496030ef31a1': Fix extra/missing : in path setup.
| * | am 965f3919: am a2cd924b: Merge "Fix extra/missing : in path setup."Christopher Ferris2014-05-201-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '965f39190cb50d97b98d47ba8ca205661cfa2c3d': Fix extra/missing : in path setup.
| | * Fix extra/missing : in path setup.Christopher Ferris2014-05-201-1/+1
| | | | | | | | | | | | Change-Id: I4d95efc781c58af704012922d95841e009bf6286
* | | am fff1b6d8: am 744e4aa2: am e624fd28: Merge "Put prebuilt emulator path ↵Ji-Hwan Lee2014-05-181-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | after host output" * commit 'fff1b6d80002d83c0db5c426961780f58b7391df': Put prebuilt emulator path after host output
| * | am 744e4aa2: am e624fd28: Merge "Put prebuilt emulator path after host output"Ji-Hwan Lee2014-05-181-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '744e4aa228b4ad25d444acb020ee3816fd2c2eb1': Put prebuilt emulator path after host output