summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
Commit message (Collapse)AuthorAgeFilesLines
* selinux: add tools to dev pathJeff Vander Stoep2015-06-121-1/+1
| | | | | | | | Adds audit2allow to the path. No build required. (cherry picked from 5f50f0534067c3df5a531f142f5a879a0da95a02) Bug: 21724977 Change-Id: Ide320a56b9cdbfa426b978443f6df07fa2a38fbc
* am 0b584f2b: am f994458b: am b4b996a8: Merge "Include vendorsetup scripts in ↵Ying Wang2015-04-041-2/+2
|\ | | | | | | | | | | | | order" * commit '0b584f2b394051684e2506cc7304b583df29bca6': Include vendorsetup scripts in order
| * Include vendorsetup scripts in orderOleksiy Avramchenko2015-04-031-2/+2
| | | | | | | | | | | | This fixes randomness of the combo index. Change-Id: I533161fea8d1bc0c9dbd6ca2f3393d27310c9588
* | am 8b6fabc4: am 18aad5fe: am 24a71e15: Merge "Return non-zero if can\'t ↵Ying Wang2015-04-021-0/+6
|\ \ | |/ | | | | | | | | | | locate top of the tree in m/mm/mmm." * commit '8b6fabc4619f6b1c5c4c1834783268bea0e77afc': Return non-zero if can't locate top of the tree in m/mm/mmm.
| * Return non-zero if can't locate top of the tree in m/mm/mmm.Ying Wang2015-04-011-0/+6
| | | | | | | | | | Bug: 20017058 Change-Id: I85fac71061673d00a1b583ad13afc8567d794cd6
* | Allow variable overrides in mmm and mmmaAdrian Roos2015-03-051-2/+2
| | | | | | | | Change-Id: I12e8cc62e72d0af3b777f69727eafec9aa1713e3
* | am 01e0cb2c: am fc93e284: am 6492792d: Merge "Consult tput about color ↵Greg Hackmann2015-03-031-13/+13
|\ \ | |/ | | | | | | | | | | control sequence support" * commit '01e0cb2ce011e65099737ca6052d10758d885c8b': Consult tput about color control sequence support
| * am 6492792d: Merge "Consult tput about color control sequence support"Greg Hackmann2015-03-031-13/+13
| |\ | | | | | | | | | | | | * commit '6492792d8a30f218fff6d54765ba5502de0a9a2a': Consult tput about color control sequence support
| | * Merge "Consult tput about color control sequence support"Greg Hackmann2015-03-031-13/+13
| | |\
| | | * Consult tput about color control sequence supportGreg Hackmann2015-02-121-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blocking these sequences on Darwin has false positives (Terminal.app) and false negatives (Eclipse CDT on Linux). Instead let's ask the terminal what it supports. Change-Id: I907942925a8b30abc1ea920f077b5fc3af815ba4 Signed-off-by: Greg Hackmann <ghackmann@google.com>
| * | | Merge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEADBill Yi2015-02-191-1/+89
| |\ \ \ | | |/ / | |/| |
* | | | Add rcgrep for searching init.rc style files.Jeff Sharkey2015-02-261-0/+5
| | | | | | | | | | | | | | | | Change-Id: Iece26217a7c59c7b2fd1bf19a7edccbe4be92947
* | | | am 0badfceb: Merge "Remove the unsets for removed gdbclient functions."Dan Albert2015-02-171-10/+0
|\ \ \ \ | |/ / / | | / / | |/ / |/| | * commit '0badfcebe71805a495d151ac4df48bb48940bde0': Remove the unsets for removed gdbclient functions.
| * | Remove the unsets for removed gdbclient functions.Dan Albert2015-02-121-10/+0
| | | | | | | | | | | | Change-Id: I6bb8b42dbc7ac45bec6b8267733f9b4d6212315f
* | | am 8f1965ed: Merge "Remove gdbclient from envsetup."Dan Albert2015-02-121-297/+10
|\ \ \ | |/ / | | | | | | | | | * commit '8f1965ed0152c1f93358e3a424e9156b29c56813': Remove gdbclient from envsetup.
| * | Remove gdbclient from envsetup.Dan Albert2015-02-121-297/+10
| |/ | | | | | | | | | | | | gdbclient is being promoted to a real script: https://android-review.googlesource.com/#/c/131831/ Change-Id: I4bb70ad44cec0ebf62d9e8e355c22ed8b708868b
* | am 01da8cbc: Merge "envsetup.sh : add help text for sepgrep and mangrep ↵Elliott Hughes2015-01-301-0/+2
|\ \ | |/ | | | | | | | | | | commands" * commit '01da8cbc8c01d73debb14bc236e2d82ad3d7ebbc': envsetup.sh : add help text for sepgrep and mangrep commands
| * envsetup.sh : add help text for sepgrep and mangrep commandsTrevor Drake2015-01-301-0/+2
| | | | | | | | Change-Id: Iac3942da05c1803039b9fcf15fee1fc0e0f4efda
* | am 23396bfc: Merge "gdbclient: Improve error handling"Dmitriy Ivanov2015-01-231-1/+8
|\ \ | |/ | | | | | | * commit '23396bfc8d613f9319bce836a49ae6ee7ad18c0b': gdbclient: Improve error handling
| * gdbclient: Improve error handlingDmitriy Ivanov2015-01-221-1/+8
| | | | | | | | | | | | Print error message when unable to resolve exefile by pid Change-Id: I5d04bdc348e5f95818ac90e29148947edfce42eb
* | am 53ed9df8: Merge "Fix incorrect name for x86 platform\'s gdb"Pirama Arumuga Nainar2015-01-051-2/+2
|\ \ | |/ | | | | | | * commit '53ed9df8dcc4930fc314212433c339336f0e1b9f': Fix incorrect name for x86 platform's gdb
| * Fix incorrect name for x86 platform's gdbPirama Arumuga Nainar2015-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | gdbclient looks for 'x86_64-linux-androideabi-gdb' whereas the prebuilts have gdb as 'x86_64-linux-android-gdb' $ cd $ANDROID_BUILD_TOP $ find prebuilts -iname *x86*gdb prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gdb prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8/bin/x86_64-linux-android-gdb prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gdb prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.8/bin/x86_64-linux-android-gdb Change-Id: Ib940ecd6f345ea501da79834168b91cc0f6e5a96
* | am e98755f9: Merge "Add a SANITIZE_HOST flag."Dan Albert2014-12-091-0/+6
|\ \ | |/ | | | | | | * commit 'e98755f9d6619ff141d099f9da655d141da72b8e': Add a SANITIZE_HOST flag.
| * Add a SANITIZE_HOST flag.Dan Albert2014-12-051-0/+6
| | | | | | | | | | | | | | | | We had discussed the idea of making all host tools default to using ASAN. Even if we don't make it the default, this makes it easy for the user to switch all host binaries over. Change-Id: I64a5c741b1b4e9aefed3a6be8dcd4f386e06b29c
* | am 0616000d: Merge "Make cgrep check .hpp files as well."Dan Albert2014-11-221-1/+1
|\ \ | |/ | | | | | | * commit '0616000d09905ac423dae0ffccdb0ef3fe24f36d': Make cgrep check .hpp files as well.
| * Make cgrep check .hpp files as well.Dan Albert2014-11-221-1/+1
| | | | | | | | Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed
* | am fbb553dc: Merge "Colorize build success/failure message."Dan Albert2014-11-171-5/+13
|\ \ | |/ | | | | | | * commit 'fbb553dcd8a1cc65a7b2f56fca7604d5850f59c8': Colorize build success/failure message.
| * Merge "Colorize build success/failure message."Dan Albert2014-11-171-5/+13
| |\
| | * Colorize build success/failure message.Dan Albert2014-11-141-5/+13
| | | | | | | | | | | | Change-Id: I8901689876e65f5b72050c40e1580f167e49c2b0
* | | am dd20e68d: Merge "Fix device detection and path to tapas"Dmitriy Ivanov2014-11-141-8/+41
|\ \ \ | |/ / | | | | | | | | | * commit 'dd20e68d8c37b28be86f2c2a5be8350ec35dd814': Fix device detection and path to tapas
| * | Fix device detection and path to tapasDmitriy Ivanov2014-11-131-8/+41
| |/ | | | | | | | | | | | | | | | | | | 1. Some devices do not set ro.product.device in which case take it from ro.hardware 2. Add path to tapas symbols to sysroot and solib-search-path for tapas users only Change-Id: I4eed2d3c3aefd95070beebdbfba4464a524c3066
* | am 1b7f0f8c: am a94282c6: Mount tmpfs on /coresNick Kralevich2014-11-051-0/+1
|\ \ | | | | | | | | | | | | * commit '1b7f0f8c1def705e255242780ef72090061237ac': Mount tmpfs on /cores
| * | Mount tmpfs on /coresNick Kralevich2014-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Proper selinux labeling support for files on rootfs was never completely implemented. Instead of putting coredump files on rootfs, put them on tmpfs instead. See: http://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg01815.html Bug: 18227650 Change-Id: I2eeabee4fe1a14bfbf990a4a518d538d6b4b6e87
* | | am 854252d2: am af5de97b: rename coredump-* --> coredump_*Iliyan Malchev2014-11-051-6/+6
|\ \ \ | |/ / | | | | | | | | | * commit '854252d2957c792ce19aba6c3b99194abb688a07': rename coredump-* --> coredump_*
| * | rename coredump-* --> coredump_*Iliyan Malchev2014-11-041-6/+6
| | | | | | | | | | | | | | | | | | | | | b/18229600 shamu kernel is failing to build on build machine Change-Id: Ia67443853443e4d7db9311bf8da69a5dc0da8e5e Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | am fc133135: am 29d225c9: Set a default value for TARGET_BUILD_DENSITYJustin Morey2014-11-041-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit 'fc13313551dec50e60fbed36f64b08dbfe5bf888': Set a default value for TARGET_BUILD_DENSITY
| * | Set a default value for TARGET_BUILD_DENSITYJustin Morey2014-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | | If no density value is specified when invoking tapas, we now export a default value of 'alldpi' Change-Id: I12b22a4cbd0ef604826aad66c5f7ab9271eb6d57
* | | am eaf5b7bb: build: rename coredump-setup --> coredump_setup automerge: e675cfbIliyan Malchev2014-11-041-2/+2
|\ \ \ | |/ / | | | | | | | | | * commit 'eaf5b7bb06d92efab0c0779d38dd3b040497f51e': build: rename coredump-setup --> coredump_setup
| * | build: rename coredump-setup --> coredump_setupIliyan Malchev2014-11-041-2/+2
| | | | | | | | | | | | | | | | | | b/18229600 shamu kernel is failing to build on build machine Change-Id: I1b7e6d0ebf3e966a89ae4c7fed0cfd2db3f0a6a9 Signed-off-by: Iliyan Malchev <malchev@google.com>
| * | Replacement for gdbclientDmitriy Ivanov2014-10-311-1/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differences between this implementation and the old one: 1. Resolves symbols/gdb based on device information (lunch target is irrelevant) 2. Works with downloaded from build-server symbols 3. Does not require user to specify exe file - detects it automatically Bug: 18208329 (cherry picked from commit 9b8e4b377208db6d405bc84e9af73bd37f75a93c) Change-Id: I13ae2debb6e2d827b9aa55e93864b5d60c2bd32e
* | | am 8d7f2e62: am bd0e8af7: Merge "Replacement for gdbclient"Dmitriy Ivanov2014-11-011-1/+142
|\ \ \ | | |/ | |/| | | | | | | * commit '8d7f2e6289ebb7e7d7a72cc3cf581b1e4ad23acf': Replacement for gdbclient
| * | am bd0e8af7: Merge "Replacement for gdbclient"Dmitriy Ivanov2014-11-011-1/+142
| |\ \ | | | | | | | | | | | | | | | | * commit 'bd0e8af734d5b6e28e2710bf53beb1b674e3fdb2': Replacement for gdbclient
| | * | Replacement for gdbclientDmitriy Ivanov2014-10-311-1/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differences between this implementation and the old one: 1. Resolves symbols/gdb based on device information (lunch target is irrelevant) 2. Works with downloaded from build-server symbols 3. Does not require user to specify exe file - detects it automatically Change-Id: I4e7ce0a51868634593a9f104fe3f2fa67b54ca9f
* | | | am 2b756f79: am 248f4d53: envsetup.sh: add functions to enable and generate ↵Iliyan Malchev2014-10-311-0/+78
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | core dumps * commit '2b756f79461c3cc5c227dc83e6dd3f360ad3f247': envsetup.sh: add functions to enable and generate core dumps
| * | | envsetup.sh: add functions to enable and generate core dumpsIliyan Malchev2014-10-311-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shell functions in this patch enable crashing processes with the core limit set correctly to dump core in directory /cores. They do so by remounting the root partition, which is RAM-backed, and by creating the 0777-chmodded /cores under it. They also set the core file pattern in /proc/sys/kernel/core_pattern to be /cores/core.%p, such that a core dump will have the crashing process' PID appended to it. You enable core-dump generation once per boot, as follows: coredump-setup If a process does not have its core-size rlimit set (as most do not), you can either set it manually by typing "adb shell prlimit <pid> 4 -1 -1", or by typing coredump-enable <name>, e.g. coredump-enable $(pid mediaserver) Alternatively, you can cause a running process to dump core by sending it a SIGSEGV via the shell function core <name>, e.g.: core $(pid mediaserver) Change-Id: Ib174e7ee95515fb9866fa6bf0d5b5bf23f3ec61b Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"Neil Fuller2014-10-291-20/+9
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit 'f7ce9508dec85c67d3a2ebe84db073a01355eba5': Remove Java 6 build support
| * | am 4dfda1fa: Merge "Remove Java 6 build support"Neil Fuller2014-10-241-20/+9
| |\ \ | | |/ | | | | | | | | | * commit '4dfda1fa4201e41022396b77054168ffc73b590c': Remove Java 6 build support
| | * Remove Java 6 build supportNeil Fuller2014-10-221-20/+9
| | | | | | | | | | | | Change-Id: I9754844af58e3f81d7eb9dae286128d17a2cb56c
| | * Use "$@" to preserve argument word breaksYing Wang2014-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This fixes mmma broken due to quotes stripped in the argument passing. (cherry picked from commit dcc8b3729dd1cb89ed344a3855bac9584ac183ac) Change-Id: Ic8c4bb8e7cb347c1f80b5bc1648f63e58a010e8d
| | * Fix mma/mmma by making gettop canonicalize TOP when setBrian Carlstrom2014-09-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 17253957 (cherry picked from commit a5c4f178ae3f3e94b1d1dceae3cc8d3196633c4a) Change-Id: Id5f5a6e9c81d4332ef5a846423ea41384a053db6