summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | 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 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 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>
* | | 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 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 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 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
| * Put prebuilt emulator path after host outputJi-Hwan Lee2014-05-151-1/+1
| | | | | | | | | | | | | | So that built emulator is used instead of prebuilt one when BUILD_EMULATOR=true. Change-Id: I67dfbfc2c3bf9bf051e56de425caa07b08d4b2e4
* | am 9e3259f5: am fb67f05d: Merge changes I53b2ada9,I30794ea5David 'Digit' Turner2014-05-111-0/+19
|\ \ | |/ | | | | | | | | * commit '9e3259f50d6aa2ca4430430d71d2fffd58662650': Disable emulator from platform builds. envsetup.sh: Use prebuilt emulator binaries if available.
| * envsetup.sh: Use prebuilt emulator binaries if available.David 'Digit' Turner2014-05-091-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the setpaths() function in envsetup.sh to probe for prebuilts/android-emulator/<host>/, and prepend it to PATH if it exists. See https://android-review.googlesource.com/#/c/93399/ for a related patch that adds the binaries. BUG=13747402 Change-Id: I30794ea52f6dfc58908e6271f2c0da8e2f0b68e8
* | am 3f1d1608: am 475a3d17: Merge "Use java_home to determine jdk location."Narayan Kamath2014-04-301-1/+1
|\ \ | |/ | | | | | | * commit '3f1d1608ebc4a0c307c94b67943bee004d8428a1': Use java_home to determine jdk location.
| * Use java_home to determine jdk location.Jason Parks2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | Specifying the major version rather than hard coding to a minor version. (cherry-picked from commit 13b2e19ef240804908629ed2e54a98ec9dede337) Change-Id: Ie2c08d35fcff2129b26c1dfa8a2e5cd7b19c4b49
* | am 5646d2f6: am 7250b63a: Merge "Fix PATH setup for arm64."Torne (Richard Coles)2014-04-281-6/+3
|\ \ | |/ | | | | | | * commit '5646d2f6aa851ca79440d573e73fa51cf6afaf81': Fix PATH setup for arm64.
| * Fix PATH setup for arm64.Torne (Richard Coles)2014-04-281-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | On architectures other than "arm", the combination of ANDROID_KERNEL_TOOLCHAIN_PATH being empty, and CODE_REVIEWS being empty, leads to adding a :: into the user's PATH, which is highly undesirable. Neither CODE_REVIEWS nor the mips toolchaindir is ever used, so just remove them, and make sure we only include the extra colon when setting the kernel toolchain path to a non-empty value. Change-Id: I2dfa7d3a322b56b6abbc47476082dc6ae4dd6a82
* | am dbf1f804: am 80f7dbd4: Merge "gdbclient: use 64-bit suffix for all ↵Colin Cross2014-04-101-1/+3
|\ \ | |/ | | | | | | | | | | library symbols" * commit 'dbf1f8047be813537ddaebd777adc242a34f8204': gdbclient: use 64-bit suffix for all library symbols
| * gdbclient: use 64-bit suffix for all library symbolsColin Cross2014-04-101-1/+3
| | | | | | | | | | | | | | Correct the solib-search-path for 64-bit to look in /system/lib64 for all libraries including those in subdirectories. Change-Id: I606a0eae1137a857564facc79306ad83097d9659
* | am 9ccadc82: am a8245d1d: Merge "ggrep" into klp-ub-devJon Boekenoogen2014-04-091-0/+6
|\ \ | |/ |/| | | | | * commit '9ccadc8246c6c805265046ce02cb5e42c9cc2ee9': ggrep
| * am a8245d1d: Merge "ggrep" into klp-ub-devJon Boekenoogen2014-04-091-0/+6
| |\ | | | | | | | | | | | | * commit 'a8245d1dc1746a8cd26aead8c15aa05c9b703455': ggrep
| | * ggrepJon Boekenoogen2014-04-071-0/+6
| | | | | | | | | | | | | | | | | | | | | Add ggrep to search Gradle files more easily. Similar to jgrep, cgrep, mgrep, etc... Change-Id: I9f0bc74560c1df4c369216eabdb9e825bcb6fe75
* | | Build with java7 by default.Narayan Kamath2014-04-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All introduce a flag LEGACY_USE_JAVA6 to force java6 builds. This is an unsupported configuration, and provided temporarily to iron out regressions and compare build output (if required.). - Increment the version check sequence number. - Move a more specific check (OpenJDK vs non OpenJDK) after the more general version check. - Update the link in the version check error message to the "initializing" page instead of the "download" page. The latter talks about repo, mainly. bug: 8992787 Change-Id: I313e17b1911768d4f3bc318c4162c53dec6eaf0d Conflicts: core/main.mk
* | | OProfile is no longer compiled now.Ben Cheng2014-03-051-4/+0
| | | | | | | | | | | | | | | BUG: 13249790 Change-Id: I2d4fd8f888823687ea41ddbee1f7ce2a7ebc99f7
* | | Merge "Use analyzer at new location: ↵Andrew Hsieh2014-03-041-2/+2
|\ \ \ | | | | | | | | | | | | prebuilts/misc/{linux-x86,darwin-x86}/analyzer"
| * | | Use analyzer at new location: prebuilts/misc/{linux-x86,darwin-x86}/analyzerAndrew Hsieh2014-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analyzer needed by WITH_STATIC_ANALYZER and WITH_SYNTAX_CHECK is moved from prebuilts/clang/{linux-x86,darwin-x86}/host/3.3 to prebuilts/misc/{linux-x86,darwin-x86}/analyzer See https://android-review.googlesource.com/#/c/83852/ BUG=13243591 Usage: "WITH_SYNTAX_CHECK=1 make ..." instructs build system to invoke "clang -fsyntax-only" to utilize clang's better diagnostics before calling LOCAL_CC/LOCAL_CXX for code generation. The compilation time is slightly longer, and the generated object file should be the same as w/o WITH_SYNTAX_CHECK "WITH_STATIC_ANALYZER=1 m/mm/mmm/mma/mmma ..." instructs build system to run static analyzer via "clang --analyze" on a successful build. If analyzer finds any issue, instruction to open report is displayed. See http://clang-analyzer.llvm.org/scan-build.html for details. WITH_STATIC_ANALYZER trumps WITH_SYNTAX_CHECK if both exist. Project use lots of GCC extensions (eg. nested function) not supported by clang may opt out by adding LOCAL_NO_STATIC_ANALYZER:=true Change-Id: Ib3dda3ffb0fd3aaf2eadec867a966d1dd2868fb1
* | | | Merge "Add usage comment to explain how to limit modules in mmm."Primiano Tucci2014-03-031-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Add usage comment to explain how to limit modules in mmm.Primiano Tucci2014-02-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68895a96 has introduced the possibility to limit the modules being built by mmm. In many occasions this can save a lot of developement time since it allows to build one target without processing all the makefiles in the Android tree. Unfortunatelly this nice feature is undocumented. This CL adds the one line documentation. Change-Id: I6ded32c4774047599e9c44e5ea71c07e65731cda
* | | | Make gdbclient smarter for gdb[server] setup.Ben Cheng2014-02-281-13/+61
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | It can detect and support 3 different scenarios: - 32-bit exe / 32-bit OS - 64-bit exe / 64-bit OS - 32-bit exe / 64-bit OS Change-Id: I799a91277a5e2331aebf4b2f031e9a79f7ab5bb0
* | | Merge "gettop: fix symlink detection"Ying Wang2014-02-141-1/+1
|\ \ \
| * | | gettop: fix symlink detectionsynergy2013-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: We must use the -P flag for pwd to properly get $PWD from the environment *with* symlinks. Otherwise symlink detection is broken and anything we do using $(gettop) at the top of a symlinked path won't work properly. I noticed this issue while running on a system that has a SSD RAID symlinked to my android build home directory, which is ~/ssd_storage. The top in this instance is a symlink, which means that gettop() returns my home path, or the path above the symlink directory (but not the symlinked directory). This is a major issue in case developers choose to use $(gettop), $ANDROID_BUILD_TOP, or $T (doesn't really matter either way). Test Plan: Create a symlink and sync android source into the path. Open up the symlink, run envsetup.sh, and check $(gettop) output. While this isn't the best solution, it fixes an issue without creating new issues. Change-Id: I65bc345753805e6161098d2af6e0bee0b07d37b1
* | | | [MIPS64] Add mips64 targetChris Dearman2014-02-051-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ice1621101c0d5a3314db288542ca8020e3f406bf Signed-off-by: Duane Sand <duane.sand@imgtec.com>
* | | | Add 64-bit gdbclients.Serban Constantinescu2014-01-301-3/+8
| |/ / |/| | | | | | | | | | | | | | | | | This patch adds gdbclient combo for arm64, mips64, and x86_64. Change-Id: I659b662276c93e5cce92aadc203a4bc111f5c2af Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | | build: rename aarch64 target to arm64Colin Cross2014-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | | Merge "Make jgrep, cgrep, resgrep not recurse into 'out' directory."Ying Wang2014-01-221-3/+3
|\ \ \
| * | | Make jgrep, cgrep, resgrep not recurse into 'out' directory.Anatolii Shuba2013-07-051-3/+3
| |/ / | | | | | | | | | | | | Change-Id: Ieadfe63075aacccb637ddafe6518f5fad62dcd02 Signed-off-by: Anatolii Shuba <x0158321@ti.com>
* | | Make envsetup.sh set JAVA_HOME correctly for java7.Narayan Kamath2014-01-221-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that despite the location of this change, this function is run only during "lunch" and not during ". build/envsetup.sh" Also, make it easier to switch back and forth between java6 and 7 on the same session. bug: 8992787 Change-Id: I56ec0ba8552b46c04204a8b96b9abc0180f7605f
* | | Add aosp_aarch64-eng to the default lunch menu.Ben Cheng2014-01-141-0/+1
| | | | | | | | | | | | Change-Id: I55f6ab6ea90670def30796fdce76c27031ecef01
* | | envsetup.sh: cd to toplevel in get_build_varAndrew Boie2013-12-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dumpvar doesn't work right if we're not called from the toplevel; due to the way the build system works internally, -C does not suffice. This was already done in get_abs_build_var. Redundant -C calls removed since we're at the toplevel already. Change-Id: Iaaa48982547d099186922cc3ddc417a82c85e9a5 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
* | | am 0b42554f: am 12eeb000: Merge "Add generic aarch64 board config and build ↵Ben Cheng2013-10-071-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | rules." * commit '0b42554fd8c7a43ca45504e4586f1eef578308de': Add generic aarch64 board config and build rules.