History log of /build/make/envsetup.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36a570f7e05a6df2cfbfd5379afd3c787dfc79f6 24-Mar-2017 Christopher Ferris <cferris@google.com> Merge "Small fixes for environment variables." am: fd0cb496b1 am: 37f3a728a0
am: 7eb7796868

Change-Id: Iafed66e19bc114552b0261dd299379dbb37873c6
fd0cb496b10e61409bf18068804820da023d28b6 24-Mar-2017 Christopher Ferris <cferris@google.com> Merge "Small fixes for environment variables."
1b81278572f132fc5449b52bc828089ab7434544 24-Mar-2017 Colin Cross <ccross@android.com> Merge "Add TARGET_PLATFORM_VERSION to lunch" am: a007142381 am: 7b5dc8ad3e
am: 086d109f35

Change-Id: If005f3917b1f1664b111ce7d070590a47a259ce5
55257d2b78404cf5fa5e40450cb77566eff98e4e 23-Mar-2017 Christopher Ferris <cferris@google.com> Small fixes for environment variables.

Fix all of the leaking of local variables by marking locals properly.

Fix a case where ANDROID_TOOLCHAIN_2ND_ARCH is set incorrectly.

Test: lunch'd aosp_angler-userdebug and then aosp_fugu-userdebug
Test: and verified ANDROID_TOOLCHAIN_2ND_ARCH is set properly after
Test: the first lunch and unset after the second lunch.
Test: Also attempt to build the two targets.
Change-Id: I49548e0d6654bfb1105a6ecaf2705825b9ddf3a5
/build/make/envsetup.sh
8873713f36c4b0a737947b31ea8e28300e6df759 22-Mar-2017 Colin Cross <ccross@android.com> Add TARGET_PLATFORM_VERSION to lunch

lunch can now take combos in the form:
$TARGET_PRODUCT
$TARGET_PRODUCT-$TARGET_BUILD_VARIANT
$TARGET_PRODUCT-$TARGET_BUILD_VARIANT-$TARGET_PLATFORM_VERSION

If all 3 are not specified the unspecified ones will take the
default values provided by the build system (eng, and currently
OPR1).

In addition, error handling for invalid products, variants and
versions is moved to the build system.

Bug: 34972208
Test: build/make/tests/envsetup_tests.sh
Change-Id: Ib0aaa98633448ba9bd8df911704c9cb3a8ebbe85
/build/make/envsetup.sh
57795ff2a8e4965c18a3db6b36bbc55d07f943d1 01-Mar-2017 Josh Gao <jmgao@google.com> Merge "Fix stacks on 64 bit processes." am: aea79fa207 am: d3e865abbe
am: a941b547c0

Change-Id: I37a1e3a3ab37b7f8b35b2951815d6af8c96e0d5f
310b6ff6760e82ed603e7b5349446ab41451e17f 01-Mar-2017 Josh Gao <jmgao@google.com> Fix stacks on 64 bit processes.

debuggerd64 doesn't exist anymore, `debuggerd $PID` works on both 32
and 64 bit processes.

Bug: http://b/35872661
Change-Id: I47be05c7ec346e5d657d06e6c3aff1723494639b
/build/make/envsetup.sh
5a5dc1eb39fccb2c08c8f4e4df5fb75e2f0ee6ce 14-Feb-2017 Simran Basi <sbasi@google.com> Merge "Share *_OUT_TESTCASES environment variables with TF" am: 6eeba8f6ec am: 13ced77ea2 am: 78be58d869
am: 2de40b411a

Change-Id: I9c322935a7a8fb8c6a1c15ab0cf92ed17d2fc39f
dd050ed1b3d38447bc68d827589c90797b91acbf 13-Feb-2017 Simran Basi <sbasi@google.com> Share *_OUT_TESTCASES environment variables with TF

Instead of having test tools search the OUT_DIR for the
testcases folders (of which there can be multiple different
targets), let's have these variables become part of the runtime
environment after a developer has run lunch.

Bug: 35322559
Test: . build/envsetup.sh ; lunch ; printenv | grep TESTCASES
Change-Id: Ic4addc2b9727ff717b2e595b9be224650e2f1b1d
/build/make/envsetup.sh
c2578317056c07517e26e1b8ae07fd8eb36136a1 21-Oct-2016 Joe Onorato <joeo@google.com> Merge "Add bit helper utility"
002a6c769d188eca565a07b9a767638ef6226f03 21-Oct-2016 Joe Onorato <joeo@google.com> Add bit helper utility

- Add it to the base build (the first one in the hierarchy that includes
the activity manager).
- Add tab completion commands to envsetup.sh

Test: . build/envsetup.sh ; make
Change-Id: Id24acaa0f17f198bda329016ff17170ad93624ec
/build/make/envsetup.sh
79056db4e082e8d42e94257f5e2d7eaa493f7c97 20-Oct-2016 Wei Wang <wvw@google.com> Support Android.bp in mgrep

This patch enabled Android.bp in mgrep result

Bug: 32313127
Test: mgrep
Change-Id: Ie3171a10ab54322bfc3844d1f629c783286ec212
/build/make/envsetup.sh
127fceae06798d150b055b5fdffa01ec3f77cc20 02-Sep-2016 Colin Cross <ccross@android.com> Walk up tree to find makefiles in mma

Call findmakefile in mma to walk up the tree to find the nearest
makefile. Fixes mma in subdirectories of directories that have
Android.mk or Android.bp files.

Change-Id: I6fa509171699071fc34a2a75dd7e191d4ddca31a
/build/make/envsetup.sh
4bfae06e715a8d732cbcb48e5793e241e549583d 01-Sep-2016 Colin Cross <ccross@android.com> Canonicalize mmm path

Canonicalize the mmm path relative to the top level before creating the
MODULES-IN-dir target. Fixes cd frameworks/base; mmm -j .

Test: cd frameworks/base; mmm -j
Change-Id: If7bc321e8a87b76121f876bf4bc296b0f9b80578
/build/make/envsetup.sh
9fc9cac0ac41e37c335cd7062fb3f64bab201d00 15-Aug-2016 Dan Willemsen <dwillemsen@google.com> Merge "Fix GET-INSTALL-PATH to work with Soong"
am: 6b9aa6938d

Change-Id: I9f433cb383846ec6ccb8e39be4b30110d60d54fd
53e3899222a7c49721e5b2be13cadbbf3b66c721 12-Aug-2016 Dan Willemsen <dwillemsen@google.com> Fix GET-INSTALL-PATH to work with Soong

This was printing all of the Soong modules in addition to the modules
defined in the ONE_SHOT_MAKEFILE. So replicate what we did with
MODULES-IN-* with GET-INSTALL-PATH-IN-* and update all the users.

Bug: 30191725
Change-Id: Ib1e4bf00f64d7a3e8cd91f44eaf1ff82fdfbf162
/build/make/envsetup.sh
6f8244b62dbaa6da40c7914c0d4e94ed53e226ac 27-May-2016 Colin Cross <ccross@android.com> Merge "Fix mm and mmm in Android.bp directories" am: 8ed91b6624
am: 323396993c

* commit '323396993c6651b4b98974df9e9d53118f27a840':
Fix mm and mmm in Android.bp directories

Change-Id: I95d6bde7a0ea72b47779f1a5b0577ff423524b6f
8642525726b3f3d11e64d0abf52af803f4e308ce 27-May-2016 Colin Cross <ccross@android.com> Fix mm and mmm in Android.bp directories

mm and mmm were not parsing out/soong/Android.mk, so they were ignoring
all modules defined in an Android.bp file. Always include
out/soong/Android.mk when ONE_SHOT_MAKEFILE is set, and convert the mm
and mmm functions to build MODULES-IN-$DIR instead of all_modules so
that only the subset of modules defined in out/soong/Android.mk for the
requested directory are built.

Bug: 28986194
Change-Id: I6e1ff8cacfc668a4154a0d5937450db840bb7a6b
/build/make/envsetup.sh
9cdb6f1a31a93f842d927c79c5d9ba0e1271422c 24-May-2016 Vishwath Mohan <vishwath@google.com> Merge "Double quote some statements for zsh compatibility" am: 576fd3ebb9
am: 29c2c4db19

* commit '29c2c4db19c6c9f152a1c48aee368a3439cd195f':
Double quote some statements for zsh compatibility

Change-Id: Id02db06a190370d18e3b7828a453cd16948d77c1
7d35f001e1a02937d2d136aacfeb1ebbcd00965e 11-Mar-2016 Vishwath Mohan <vishwath@google.com> Double quote some statements for zsh compatibility

Two eval commands did not enclose their arguments in double quotes, and
this broke compatibility on zsh - preventing lunch from running to
completion. This CL adds the double quotes and fixes the issue.

Change-Id: I5ed884b455e2e61182f6c29fb807ed92372af039
/build/make/envsetup.sh
46a259651fc0cd2c541ff92768e850899d9d2cf0 26-Apr-2016 Keun Soo Yim <yim@google.com> resolve merge conflicts of 72b82dc to nyc-dev-plus-aosp

Change-Id: I6e62226774584154ad1a802594e386fe7942504b
3d4847525f27d0e2958c0ea07e5c0f116d318d28 19-Feb-2016 Keun Soo Yim <yim@google.com> build rule change for VTS (vendor test suite)'s metadata files

Change-Id: I76b81529a97b672e08632703d2f6a2777ee8811e
/build/make/envsetup.sh
32ec50a1f10136069c003a5b1c1fce2a822791b7 22-Apr-2016 Marie Janssen <jamuraa@google.com> make croot slightly more useful

Have croot take an argument of a directory to end up in,
so we can jump around the tree even faster.

Change-Id: Ieb6a8d47fee0412006a11192b29ed44604961312
/build/make/envsetup.sh
a9a55c7c7e76b2741eb675c0880d242e350b79a3 01-Apr-2016 Chih-Hung Hsieh <chh@google.com> Call clang-tidy based on WITH_TIDY* variables.

* Call clang-tidy before every C/C++ compilation if
(1) clang-tidy is found at $(PATH_TO_CLANG_TIDY)
(2) $(my_clang) is true
(3) LOCAL_TIDY is 1 or true, or
LOCAL_TIDY is undefined and WITH_TIDY is 1 or true.
* clang-tidy is called with -checks=$(my_tidy_checks),
which has default '-*,google*,-google-readability*'
and can be overwritten by WITH_TIDY_CHECKS.
* LOCAL_TIDY_CHECKS is appended to $(my_tidy_checks)
* Extra flags are passed to clang-tidy through
WITH_TIDY_FLAGS or LOCAL_TIDY_FLAGS.
* To quickly find and fix clang-tidy warnings, set $(WITH_TIDY_ONLY)
to 1 or true to skip compilation of C/C++ files.
* Add a PHONY tidy_only target,
which includes all $(cpp_objects) and $(c_objects).
* The 'mm' and 'mmm' functions are changed to call make with
the 'tidy_only' target when WITH_TIDY_ONLY is true or 1.
In that case, only clang-tidy is called for C and C++ files.

Bug: http://b/27779618
Change-Id: I8adcfff217d68af49849b79aacee7d7654cafb1b
/build/make/envsetup.sh
910a35594761f078fa50d8586d165575f1ee7a6e 07-Mar-2016 Elliott Hughes <enh@google.com> Use ulimit -p rather than prlimit.

Neither is standard, but ulimit is toybox and therefore a bit more
regular and at least has help text.

Change-Id: Id7ba9adc9ca256b821d8060506010abef30dee28
/build/make/envsetup.sh
ac9092730ed0ac74a02a0384891aca198e0c42f8 04-Mar-2016 Ying Wang <wangying@google.com> Small fixes.

Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
(cherry-pick from commit f0cb397a9e204c86be7730f94ae5fba84d88f89a)
/build/make/envsetup.sh
7dfdb843b25b4ef04c47b148e0095f292eceacd4 04-Mar-2016 Ying Wang <wangying@google.com> Speed up lunch/tapas/etc. shell utility functions.

1. Combined ~10 calls to the make build system to only one.
We added a phony target "dump-many-vars" to the build system to dump
"<var>=<value>" pairs. We then store the pairs as shell variables.
With this cache get_build_var/get_abs_build_var can just return
the shell variables instead of querying the build system.
2. Prune .git when we search for AndroidProduct.mks.

In internal source tree lunch time was reduced from ~15s to ~1.5s.

Bug: 27429759

(cherry picked from commit 08800fd905e70faf01d9392d00ff3f49d99097b7)

Change-Id: I862a0ec3c1aae97c552054dacec133e857042edf
/build/make/envsetup.sh
f0cb397a9e204c86be7730f94ae5fba84d88f89a 04-Mar-2016 Ying Wang <wangying@google.com> Small fixes.

Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
/build/make/envsetup.sh
08800fd905e70faf01d9392d00ff3f49d99097b7 04-Mar-2016 Ying Wang <wangying@google.com> Speed up lunch/tapas/etc. shell utility functions.

1. Combined ~10 calls to the make build system to only one.
We added a phony target "dump-many-vars" to the build system to dump
"<var>=<value>" pairs. We then store the pairs as shell variables.
With this cache get_build_var/get_abs_build_var can just return
the shell variables instead of querying the build system.
2. Prune .git when we search for AndroidProduct.mks.

In internal source tree lunch time was reduced from ~15s to ~1.5s.

Bug: 27429759
Change-Id: I24e88598f6fab598ef26518885fd5e86e71a772d
/build/make/envsetup.sh
42d5c292d9478b3e6f371a4d6b797004ccabd819 25-Feb-2016 Chih-Hung Hsieh <chh@google.com> Use new clang scan-build script.

The actual clang compiler called for static analysis is decided
by build/core/binary.mk, not the one given to --use-analyzer.

BUG: 13287788
Change-Id: I58105c20b56ce17ddf329a275c750d14284d1e25
/build/make/envsetup.sh
fcf7c81a7fdd0a427965f147742f4eabe45aab1c 25-Jan-2016 Neil Fuller <nfuller@google.com> Revert "Revert "Make OpenJDK 8 the default""

Reapply the JDK 8 switch in internal builds.

This reverts commit 85bddfdedffb425d85657314591a57191113806b.
/build/make/envsetup.sh
1f495b865e7632771e937f7cc5c1f926fc5ac7dd 25-Jan-2016 Neil Fuller <nfuller@google.com> Revert "Revert "Make OpenJDK 8 the default""

Reapply the switch to JDK 8 on aosp/master.

This reverts commit 85bddfdedffb425d85657314591a57191113806b.

Change-Id: If2e8733ba78b007d37914c0512cd6be1bd4c1e69
/build/make/envsetup.sh
85bddfdedffb425d85657314591a57191113806b 25-Jan-2016 Neil Fuller <nfuller@google.com> Revert "Make OpenJDK 8 the default"

Temporary revert to help out Brillo folks.
It will be resubmitted tomorrow.

This reverts commit 4495f6afb8c23950c24dc9ee114050582da08f05.

Change-Id: Id378c7d3a6e72e9be50f9404b19d5763568987a5
/build/make/envsetup.sh
4495f6afb8c23950c24dc9ee114050582da08f05 16-Dec-2015 Neil Fuller <nfuller@google.com> Make OpenJDK 8 the default

To return to OpenJDK 7:
export LEGACY_USE_JAVA7=true

And run envsetup.sh/lunch again.

Bug: 25786468
Change-Id: I8e00591a24d13e3b8b6baaafe0fdff6536c58770
/build/make/envsetup.sh
8f354bc8c2d4c27d93c7e13a853e0c9088d6ba94 20-Nov-2015 Neil Fuller <nfuller@google.com> Merge "Use sensible default locations for Java"
91e012cd99cdc16772aa788a115a4b44eb2da8a1 19-Nov-2015 Neil Fuller <nfuller@google.com> Use sensible default locations for Java

Use sensible default locations for Java based on
the EXPERIMENTAL_USE_JAVA8 flag.

Bug: 25786468
Change-Id: I7ec035b5329785efc41b3f971d5e3ae202293576
/build/make/envsetup.sh
4afc2c0f6faa37ae809469b15bf2016547599e27 10-Nov-2015 Marie Janssen <jamuraa@google.com> envsetup: fix for provision to work on zsh

The -p option means something else on zsh and breaks this function.

Bug: None
Change-Id: Ie0ba8119e34c616f5b8f931806063d6b1d3d893e
/build/make/envsetup.sh
881ec090c4790bdd588048f17038d167d7b52d87 02-Nov-2015 Gaurav Shah <gauravsh@google.com> Merge "build: Add support for defining products in /product"
am: acb8a7c1f8

* commit 'acb8a7c1f8cacaf136edba1a25d64467d352a432':
build: Add support for defining products in /product
455f6f458df5814e841e176eef51df112df3bc23 20-Aug-2015 Lee Campbell <leecam@google.com> build: Add support for defining products in /product

The build will now search for AndroidProducts.mk in /product

BUG: 22030305

Change-Id: I2d067d95d0c8dc1341a55167f9ac7f6926e04ce3
/build/make/envsetup.sh
2bd3f6e12cc46efde050fb91a129c33f9a64e9f1 22-Oct-2015 Mike Frysinger <vapier@google.com> Merge "use `find -exec ... +` everywhere"
am: 6ff6e9552c

* commit '6ff6e9552c90d091adf4e3f686d2922585d8060f':
use `find -exec ... +` everywhere
5e47973204c4ae3f8db2b89aba8895e3a5aaabbb 23-Sep-2015 Mike Frysinger <vapier@google.com> use `find -exec ... +` everywhere

This is more efficient as find itself can handle correctly passing
arguments down to the command, and this is in POSIX. The current
versions of OS X also support this form.

BUG=None
TEST=mgrep still works

Change-Id: Ie570867609113868daaf068658c4f7e6f4ae42fa
/build/make/envsetup.sh
fef5ba8ec719a9fdd5f8b3d91d61d01a353e1ede 20-Oct-2015 Roland Levillain <rpl@google.com> Merge "Typos in envsetup.sh."
am: 8503cfb49c

* commit '8503cfb49c797bffa2568cffaab483071230fef0':
Typos in envsetup.sh.
39341924db60d747fe493dd0752546c4a9e46b56 20-Oct-2015 Roland Levillain <rpl@google.com> Typos in envsetup.sh.

Change-Id: I31cc811e1352b9c924bdf164561f334b032d6f5c
/build/make/envsetup.sh
3a6ad87039910b7fc7bfb078fec8a66d66441d81 20-Oct-2015 Ying Wang <wangying@android.com> Merge "envsetup: Show error when supplied dir isn\'t present with mmm"
am: 475054a16a

* commit '475054a16ad57b184fa476c093cf1ce8e9ec3e15':
envsetup: Show error when supplied dir isn't present with mmm
a72a6e7c72143bdc5b88e8143ccf784563414030 18-Oct-2015 Abhinav1997 <abhinav.jhanwar.august2@gmail.com> envsetup: Show error when supplied dir isn't present with mmm

When a directory isn't present with mmm, don't show "No Android.mk present", rather show that the directory isn't present

Change-Id: I7259a60012c6f30c470daa60d5a5097d01ffc4c7
Signed-off-by: Abhinav1997 <abhinav.jhanwar.august2@gmail.com>
/build/make/envsetup.sh
10abe694783012a99aa4d75318d5588df6937f28 04-Oct-2015 Brian Carlstrom <bdc@google.com> am b43cf696: am 848b8e9d: am fa2ce3b3: am f73f79f1: Merge "Use /filelist when OUT_DIR is set" into mnc-dev

* commit 'b43cf69672c72c025f0fe764d49ec950e3b57b81':
Use $OUT_DIR/filelist when OUT_DIR is set
f2257427d9b2635e9bafbf94043f5f17d4192207 01-Oct-2015 Brian Carlstrom <bdc@google.com> Use $OUT_DIR/filelist when OUT_DIR is set

Change-Id: Iadf3f05e752d71371d3d74e670ade3e937b1cd92
/build/make/envsetup.sh
2fb9d0904f25f01cbe87603abad0fc55bccdeaf4 30-Sep-2015 David Zeuthen <zeuthen@google.com> am 0238e879: Merge "envsetup.sh: Add \'provision\' function."

* commit '0238e879893bbbbab4e75b0fd1355c43547ca31e':
envsetup.sh: Add 'provision' function.
1b126ffedc0a6e7b4d5d3377f382138f08357455 30-Sep-2015 David Zeuthen <zeuthen@google.com> envsetup.sh: Add 'provision' function.

This will run ${ANDROID_PRODUCT_OUT}/provision-device which in turn can
run fastboot (and other vendor-specific bits, if needed) to repartition
the device and reflash all partitions with known versions. Options
passed to the 'provision' command will be passed on to said script which
is expected to pass them on to fastboot.

Since this is a rather destructive operation involving data loss etc.,
user confirmation is required. This confirmation can be bypassed using
the option --no-confirmation.

Change-Id: Iec5667f2f5070b95d2eb70ad1b2984909ae4184c
/build/make/envsetup.sh
945bc2f28865935125a465f1480e4fbc39a54b99 25-Sep-2015 Ying Wang <wangying@android.com> am 92facb1f: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."

* commit '92facb1fed26492746aca267df51b6082286521c':
Substitue "/" with "-" in the MODULES-IN phony goal names.
61cd884a111de0c06a6836da0fb5d20e20f5a411 25-Sep-2015 Ying Wang <wangying@google.com> Substitue "/" with "-" in the MODULES-IN phony goal names.

This avoids Ninja's path canonicalization on those goal names.
Without this, Ninja complains about duplicate rules for
MODULES-IN/a/b/.. and MODULES-IN/a.

Bug: 24309760
Change-Id: Id3aa9da5d3887a2cd1426cbb5fdf35659c65805e
/build/make/envsetup.sh
2f9f1fb32f8e2320cbb515c82a3b471da4b6e848 24-Sep-2015 Ying Wang <wangying@google.com> resolved conflicts for 964f06b1 to stage-aosp-master

Change-Id: I0cebad2e440ec7d605afafac893352f06ca2f419
caeaa08f9dcf011c71ef28278e616a425262f1fc 24-Sep-2015 Ying Wang <wangying@google.com> Re-implement mma/mmma using make goals.

Previously we use command line variable BUILD_MODULES_IN_PATHS which
causes kati to regenerate build.ninja if any variable value changes.

TODO: Remove the old rules of BUILD_MODULES_IN_PATHS in
build/core/main.mk and ninja.mk once users have re-sourced envsetup.sh.
Probably in a few weeks.

Caveat: With this change, if a user sources the new envsetup.sh, mma/mmma
won't work in old branches from the same shell.

Bug: 24309760
Change-Id: I212e82aeebaaa2bd4114e2066f1995da8886b5e2
/build/make/envsetup.sh
2afd720936919821012ef8cd713dbb0320eb0da8 21-Sep-2015 Dan Albert <danalbert@google.com> am 86e1aa1a: Merge "Move python-adb to development/python-packages."

* commit '86e1aa1a1d3593861f3a127e337fbdb8d965ee4f':
Move python-adb to development/python-packages.
f5caa3d3ba06196ffccf1a10bcccaeb4a1ffe64f 18-Sep-2015 Dan Albert <danalbert@google.com> Move python-adb to development/python-packages.

Nothing else was being imported from system/core yet, and a path under
development makes more sense for this.

Bug: http://b/22881740
Change-Id: Ib0beb02137805b3e382535514a2bc067b7fd1d33
/build/make/envsetup.sh
1dd4dfbfd744665239028a21ff74fd19de3f80f3 16-Sep-2015 Ying Wang <wangying@android.com> am 6eb3d977: Merge "Remove legacy kernel build toolchain PATH setup in envsetup.sh"

* commit '6eb3d977c5a8b7612058f1a55e648f8200de2b8f':
Remove legacy kernel build toolchain PATH setup in envsetup.sh
750396dd30e8636e82a6edb7c76a162f2d07a969 15-Sep-2015 Ying Wang <wangying@google.com> Remove legacy kernel build toolchain PATH setup in envsetup.sh

We used to rely on envsetup.sh to set up PATH before doing kernel build.
Now we have new kernel build process.
Also the variable doesn't work any more as we don't have corresponding arm-eabi
toolchain for the latest arm-linux-androideabi toolchain.

Change-Id: I99443fdc58e94f57f4f1f7e88da6dd127f3b2fac
/build/make/envsetup.sh
8405451f90bd0076018199191e2387c1d5ca76e8 01-Aug-2015 Dan Albert <danalbert@google.com> am 4982ef9d: am 010f652e: Merge "Add system/core to the PYTHONPATH."

* commit '4982ef9d76d4ca7189e56377a4032d8fe68fd994':
Add system/core to the PYTHONPATH.
515ab1e2d11052069f2e3127bb6ab71c347b4eba 28-Jul-2015 Dan Albert <danalbert@google.com> Add system/core to the PYTHONPATH.

There's an adb Python interface now, and system/core needs to be in
the PYTHONPATH for `import adb` to find it.

Change-Id: I712767a2ba96cb017ce5857dc367e4cacf2ec51f
/build/make/envsetup.sh
41da3d1209d542735bcd7075b87746bbfc94b293 15-Jul-2015 Nick Kralevich <nnk@google.com> am abbf8eeb: am a521a37d: Merge "mgrep: add output to environment commands"

* commit 'abbf8eeb674b1a9d9b8ac1cc8744f03144c3968c':
mgrep: add output to environment commands
23a298b1907d9e4ff2c556dbbd76aee9a60871fa 13-Jul-2015 William Roberts <william.c.roberts@intel.com> mgrep: add output to environment commands

Change-Id: I7a97e00c7ef5ac179333303d89511c2f72cbd100
Signed-off-by: William Roberts <william.c.roberts@intel.com>
/build/make/envsetup.sh
e50b3ec5f8cb7ca538fd51a2f1496aa66dad7e0f 12-Jun-2015 Jeff Vander Stoep <jeffv@google.com> am f9af2646: am ed6e4d19: Merge "selinux: add tools to dev path"

* commit 'f9af26462fe9dd7c68ca49a8b5b148f00d4ea3ec':
selinux: add tools to dev path
5aa6832e6b5dc4274066346f4dbab93c17145577 12-Jun-2015 Jeff Vander Stoep <jeffv@google.com> selinux: add tools to dev path

Adds audit2allow to the path. No build required.

(cherry picked from 5f50f0534067c3df5a531f142f5a879a0da95a02)
Bug: 21724977
Change-Id: Ide320a56b9cdbfa426b978443f6df07fa2a38fbc
/build/make/envsetup.sh
5f50f0534067c3df5a531f142f5a879a0da95a02 12-Jun-2015 Jeff Vander Stoep <jeffv@google.com> selinux: add tools to dev path

Adds audit2allow to the path. No build required.

Bug: 21724977
Change-Id: Ide320a56b9cdbfa426b978443f6df07fa2a38fbc
/build/make/envsetup.sh
bc0f1f565143a676dfdb5e2234c94e7da3116a0f 08-Jun-2015 Ying Wang <wangying@google.com> am ac3f88d8: am 080f57ae: Merge "Remove the unnecessary full_x86_64 and full_mips64."

* commit 'ac3f88d8a2812cd2134f9b67ec4a928d886a4eb6':
Remove the unnecessary full_x86_64 and full_mips64.
0a76df5ce744ee396d77ce30719212f72b1d31b6 08-Jun-2015 Ying Wang <wangying@google.com> Remove the unnecessary full_x86_64 and full_mips64.

For historical reason, the aosp_* products were named full_*.
We keep the full, full_x86 and full_mips in case some tools still
reference these legacy names; But no reason the have the full_* product
names for the new 64-bit archs.

Change-Id: I240ed0c6ded0ded2d80603bd0c5ff24750999afc
/build/make/envsetup.sh
4c4db2d809fb6481561faf4931eda33b89185827 29-May-2015 Christopher Ferris <cferris@google.com> am ce78cf40: am 6bd0bbd5: Merge "Portable way to color"

* commit 'ce78cf40a4dbdfe2644215102c1269a4e72bec8b':
Portable way to color
89483b83fb48b1ff070081ea31ea84f231f0228c 15-May-2015 Jacky Cao <cao.zhong1@gmail.com> Portable way to color

Change-Id: I62ae1da772f4e3eb80ed26aca89ebe47aff8efa7
/build/make/envsetup.sh
55c838f11580c8954730809ff8931483733e13a0 04-Apr-2015 Ying Wang <wangying@android.com> am 0b584f2b: am f994458b: am b4b996a8: Merge "Include vendorsetup scripts in order"

* commit '0b584f2b394051684e2506cc7304b583df29bca6':
Include vendorsetup scripts in order
15760a8a965c63276b93918df3fb050da2df2a3b 06-Oct-2014 Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com> Include vendorsetup scripts in order

This fixes randomness of the combo index.

Change-Id: I533161fea8d1bc0c9dbd6ca2f3393d27310c9588
/build/make/envsetup.sh
131d2f15c862e8c0ee7706d0e98360d8d917a045 02-Apr-2015 Ying Wang <wangying@google.com> am 8b6fabc4: am 18aad5fe: am 24a71e15: Merge "Return non-zero if can\'t 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.
0c1374cc709389d6a21cf426ec93d1669e04e143 01-Apr-2015 Ying Wang <wangying@google.com> Return non-zero if can't locate top of the tree in m/mm/mmm.

Bug: 20017058
Change-Id: I85fac71061673d00a1b583ad13afc8567d794cd6
/build/make/envsetup.sh
afa958f4132cef0b65479fe60e142f4d1caed99d 05-Mar-2015 Adrian Roos <roosa@google.com> Allow variable overrides in mmm and mmma

Change-Id: I12e8cc62e72d0af3b777f69727eafec9aa1713e3
/build/make/envsetup.sh
e39b0c118a00a2083759a935fbfe31fc8db05927 03-Mar-2015 Greg Hackmann <ghackmann@google.com> am 01e0cb2c: am fc93e284: am 6492792d: Merge "Consult tput about color control sequence support"

* commit '01e0cb2ce011e65099737ca6052d10758d885c8b':
Consult tput about color control sequence support
fc93e284ddc127d51455da98426dec4b8221b1a5 03-Mar-2015 Greg Hackmann <ghackmann@google.com> am 6492792d: Merge "Consult tput about color control sequence support"

* commit '6492792d8a30f218fff6d54765ba5502de0a9a2a':
Consult tput about color control sequence support
6492792d8a30f218fff6d54765ba5502de0a9a2a 03-Mar-2015 Greg Hackmann <ghackmann@google.com> Merge "Consult tput about color control sequence support"
ea0068a2eef66f31c643fb2a98d6c1854ec54052 26-Feb-2015 Jeff Sharkey <jsharkey@android.com> Add rcgrep for searching init.rc style files.

Change-Id: Iece26217a7c59c7b2fd1bf19a7edccbe4be92947
/build/make/envsetup.sh
251412b472c092616c3d54540495420267a8ac95 19-Feb-2015 Bill Yi <byi@google.com> Merge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEAD
20ebefa89989c910ed0cc560a62ea3b0777266db 17-Feb-2015 Dan Albert <danalbert@google.com> am 0badfceb: Merge "Remove the unsets for removed gdbclient functions."

* commit '0badfcebe71805a495d151ac4df48bb48940bde0':
Remove the unsets for removed gdbclient functions.
b5a3e2fe9d85523f9e0ea3a0311ce7607b97a194 12-Feb-2015 Dan Albert <danalbert@google.com> am 8f1965ed: Merge "Remove gdbclient from envsetup."

* commit '8f1965ed0152c1f93358e3a424e9156b29c56813':
Remove gdbclient from envsetup.
617be5ede51a0b92da8a6252d5816cc2e49eb95d 12-Feb-2015 Dan Albert <danalbert@google.com> Remove the unsets for removed gdbclient functions.

Change-Id: I6bb8b42dbc7ac45bec6b8267733f9b4d6212315f
/build/make/envsetup.sh
f9631fd9db447a32135f4060a0d5b51bb799f2d4 12-Feb-2015 Dan Albert <danalbert@google.com> Remove gdbclient from envsetup.

gdbclient is being promoted to a real script:
https://android-review.googlesource.com/#/c/131831/

Change-Id: I4bb70ad44cec0ebf62d9e8e355c22ed8b708868b
/build/make/envsetup.sh
d95c7f70ab563d9b9cdb2ae9a092404651790025 23-Jun-2014 Greg Hackmann <ghackmann@google.com> Consult tput about color control sequence support

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>
/build/make/envsetup.sh
84146f73014ac0037bfafa84f5075aa98dd6e2ef 30-Jan-2015 Elliott Hughes <enh@google.com> am 01da8cbc: Merge "envsetup.sh : add help text for sepgrep and mangrep commands"

* commit '01da8cbc8c01d73debb14bc236e2d82ad3d7ebbc':
envsetup.sh : add help text for sepgrep and mangrep commands
9c8897653148c1979fd3f5264a082e21eddbd801 30-Jan-2015 Trevor Drake <trevordrake.gerrit@gmail.com> envsetup.sh : add help text for sepgrep and mangrep commands

Change-Id: Iac3942da05c1803039b9fcf15fee1fc0e0f4efda
/build/make/envsetup.sh
5586efa028dfa466a724c4d80f1affd02de5c425 23-Jan-2015 Dmitriy Ivanov <dimitry@google.com> am 23396bfc: Merge "gdbclient: Improve error handling"

* commit '23396bfc8d613f9319bce836a49ae6ee7ad18c0b':
gdbclient: Improve error handling
dfff170148f9d8d93a459fc58d712f192dc8a97a 22-Jan-2015 Dmitriy Ivanov <dimitry@google.com> gdbclient: Improve error handling

Print error message when unable to resolve exefile by pid

Change-Id: I5d04bdc348e5f95818ac90e29148947edfce42eb
/build/make/envsetup.sh
e019e8206ab3eb96641eeae8bfc6dfadc804d710 05-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am 53ed9df8: Merge "Fix incorrect name for x86 platform\'s gdb"

* commit '53ed9df8dcc4930fc314212433c339336f0e1b9f':
Fix incorrect name for x86 platform's gdb
8c346f6adad904138a1116d03cf43f8ebbac9f4d 05-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Fix incorrect name for x86 platform's gdb

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
/build/make/envsetup.sh
023fd1fca8b200d73d0b2628180a602750ae59ee 09-Dec-2014 Dan Albert <danalbert@google.com> am e98755f9: Merge "Add a SANITIZE_HOST flag."

* commit 'e98755f9d6619ff141d099f9da655d141da72b8e':
Add a SANITIZE_HOST flag.
4ae5d4b331923ee837f0d6afd5605da0a49419c9 01-Nov-2014 Dan Albert <danalbert@google.com> Add a SANITIZE_HOST flag.

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
/build/make/envsetup.sh
fc0d1e6f58b3815f4e56e341997ec5e575888bf8 22-Nov-2014 Dan Albert <danalbert@google.com> am 0616000d: Merge "Make cgrep check .hpp files as well."

* commit '0616000d09905ac423dae0ffccdb0ef3fe24f36d':
Make cgrep check .hpp files as well.
019611958ff2d2e97debfa106620d0d3d27f3627 22-Nov-2014 Dan Albert <danalbert@google.com> Make cgrep check .hpp files as well.

Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed
/build/make/envsetup.sh
becb42cafa173886e3a6103a6b7ad91974d166eb 17-Nov-2014 Dan Albert <danalbert@google.com> am fbb553dc: Merge "Colorize build success/failure message."

* commit 'fbb553dcd8a1cc65a7b2f56fca7604d5850f59c8':
Colorize build success/failure message.
fbb553dcd8a1cc65a7b2f56fca7604d5850f59c8 17-Nov-2014 Dan Albert <danalbert@google.com> Merge "Colorize build success/failure message."
b59995d0cd78aff58f5d9525c134ec1487ce01a0 09-Nov-2014 Dan Albert <danalbert@google.com> Colorize build success/failure message.

Change-Id: I8901689876e65f5b72050c40e1580f167e49c2b0
/build/make/envsetup.sh
11b4800be580f2fc0de5c3ea57c0ed90f3d06916 14-Nov-2014 Dmitriy Ivanov <dimitry@google.com> am dd20e68d: Merge "Fix device detection and path to tapas"

* commit 'dd20e68d8c37b28be86f2c2a5be8350ec35dd814':
Fix device detection and path to tapas
8cde5289a4b045a8578c9b7e640ed11af4dd3505 12-Nov-2014 Dmitriy Ivanov <dimitry@google.com> Fix device detection and path to tapas

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
/build/make/envsetup.sh
3f49047534dc71034d93f8cf6ef548bf940923a4 05-Nov-2014 Nick Kralevich <nnk@google.com> am 1b7f0f8c: am a94282c6: Mount tmpfs on /cores

* commit '1b7f0f8c1def705e255242780ef72090061237ac':
Mount tmpfs on /cores
e04299a84cfa8f92b9864bd653e004f661164e9b 05-Nov-2014 Iliyan Malchev <malchev@google.com> am 854252d2: am af5de97b: rename coredump-* --> coredump_*

* commit '854252d2957c792ce19aba6c3b99194abb688a07':
rename coredump-* --> coredump_*
a94282c6598ed91e260b7bdf199ff3db7d6c5a92 04-Nov-2014 Nick Kralevich <nnk@google.com> Mount tmpfs on /cores

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
/build/make/envsetup.sh
af5de97b8a368aec05b598af951e83729c95b6dc 05-Nov-2014 Iliyan Malchev <malchev@google.com> rename coredump-* --> coredump_*

b/18229600 shamu kernel is failing to build on build machine

Change-Id: Ia67443853443e4d7db9311bf8da69a5dc0da8e5e
Signed-off-by: Iliyan Malchev <malchev@google.com>
/build/make/envsetup.sh
c32d5a31f863a4bb8cf9db1a1067671264ca9490 04-Nov-2014 Justin Morey <jmorey@google.com> am fc133135: am 29d225c9: Set a default value for TARGET_BUILD_DENSITY

* commit 'fc13313551dec50e60fbed36f64b08dbfe5bf888':
Set a default value for TARGET_BUILD_DENSITY
29d225c992b7bc5b5d4af53550a88c6cb602a2a0 04-Nov-2014 Justin Morey <jmorey@google.com> Set a default value for TARGET_BUILD_DENSITY

If no density value is specified when invoking tapas, we now export
a default value of 'alldpi'

Change-Id: I12b22a4cbd0ef604826aad66c5f7ab9271eb6d57
/build/make/envsetup.sh
9315262884605ec1c40a31f5ced336e29d11ba3c 04-Nov-2014 Iliyan Malchev <malchev@google.com> am eaf5b7bb: build: rename coredump-setup --> coredump_setup automerge: e675cfb

* commit 'eaf5b7bb06d92efab0c0779d38dd3b040497f51e':
build: rename coredump-setup --> coredump_setup
e675cfbfb9d4d61388d703778d5e03ae07c43ea1 04-Nov-2014 Iliyan Malchev <malchev@google.com> build: rename coredump-setup --> coredump_setup

b/18229600 shamu kernel is failing to build on build machine
Change-Id: I1b7e6d0ebf3e966a89ae4c7fed0cfd2db3f0a6a9
Signed-off-by: Iliyan Malchev <malchev@google.com>
/build/make/envsetup.sh
4e44183f54524ab343af74801f09b2da2b63353a 01-Nov-2014 Dmitriy Ivanov <dimitry@google.com> am 8d7f2e62: am bd0e8af7: Merge "Replacement for gdbclient"

* commit '8d7f2e6289ebb7e7d7a72cc3cf581b1e4ad23acf':
Replacement for gdbclient
8d7f2e6289ebb7e7d7a72cc3cf581b1e4ad23acf 01-Nov-2014 Dmitriy Ivanov <dimitry@google.com> am bd0e8af7: Merge "Replacement for gdbclient"

* commit 'bd0e8af734d5b6e28e2710bf53beb1b674e3fdb2':
Replacement for gdbclient
fd0f1c848f012f2e215f8246b154237c7d6c5132 31-Oct-2014 Dmitriy Ivanov <dimitry@google.com> Replacement for gdbclient

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
/build/make/envsetup.sh
9b8e4b377208db6d405bc84e9af73bd37f75a93c 31-Oct-2014 Dmitriy Ivanov <dimitry@google.com> Replacement for gdbclient

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
/build/make/envsetup.sh
2e835e714c45ffe84760114d2ec85770ffda8842 31-Oct-2014 Iliyan Malchev <malchev@google.com> am 2b756f79: am 248f4d53: envsetup.sh: add functions to enable and generate core dumps

* commit '2b756f79461c3cc5c227dc83e6dd3f360ad3f247':
envsetup.sh: add functions to enable and generate core dumps
248f4d53b306bd3baddb1534d3d06076460e83d4 29-Oct-2014 Iliyan Malchev <malchev@google.com> envsetup.sh: add functions to enable and generate core dumps

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>
/build/make/envsetup.sh
c5c60e2c2af542294d38dc0e2284115a62dbb310 29-Oct-2014 Neil Fuller <nfuller@google.com> am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"

* commit 'f7ce9508dec85c67d3a2ebe84db073a01355eba5':
Remove Java 6 build support
f7ce9508dec85c67d3a2ebe84db073a01355eba5 24-Oct-2014 Neil Fuller <nfuller@google.com> am 4dfda1fa: Merge "Remove Java 6 build support"

* commit '4dfda1fa4201e41022396b77054168ffc73b590c':
Remove Java 6 build support
5069bd6bfa49c0f978ed47d44e0439b15b74cef5 05-Sep-2014 Jeff Hamilton <jham@android.com> Add a density axis to tapas.

It allows overriding the density the app
is built for. Currently only used in the
GMS core APK's gradle file.

Change-Id: I3606df313a3110208cd8e6acade5f558261c921f
(cherry picked from commit 7e3d2341570681e566872216796dc4f79c8695ef)
/build/make/envsetup.sh
46e00ea4ba3cddfd9792b501d30d95d93828dd66 16-Oct-2014 Neil Fuller <nfuller@google.com> Remove Java 6 build support

Change-Id: I9754844af58e3f81d7eb9dae286128d17a2cb56c
/build/make/envsetup.sh
855d27f6297966ac0576a57cd9b0c931d4a30fb6 04-Oct-2014 Christopher Ferris <cferris@google.com> Call art-on only when debugging ART processes.

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
/build/make/envsetup.sh
850ca0db5ec2744d2c345ee4dac620f00ce97b89 01-Jul-2014 Ying Wang <wangying@google.com> Use "$@" to preserve argument word breaks

This fixes mmma broken due to quotes stripped in the argument passing.

(cherry picked from commit dcc8b3729dd1cb89ed344a3855bac9584ac183ac)

Change-Id: Ic8c4bb8e7cb347c1f80b5bc1648f63e58a010e8d
/build/make/envsetup.sh
d036711427ff7ecbf603b51e04c75986504138d9 16-Sep-2014 David 'Digit' Turner <digit@google.com> Merge "envsetup.sh: Fix handling of emulator prebuilts path." into lmp-dev
50d5ccc1b2740b28eba8ef458c94f86a2e83b191 16-Sep-2014 David 'Digit' Turner <digit@google.com> envsetup.sh: Fix handling of emulator prebuilts path.

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
/build/make/envsetup.sh
0ff3aba580eee692703fa0e204707386c114011f 12-Sep-2014 Brian Carlstrom <bdc@google.com> Fix mma/mmma by making gettop canonicalize TOP when set

Bug: 17253957

(cherry picked from commit a5c4f178ae3f3e94b1d1dceae3cc8d3196633c4a)

Change-Id: Id5f5a6e9c81d4332ef5a846423ea41384a053db6
/build/make/envsetup.sh
0c837a093e9c6952885ef370a34b82213f12300c 12-Sep-2014 Brian Carlstrom <bdc@google.com> Merge "Fix mma/mmma by making gettop canonicalize TOP when set" into lmp-dev
a5c4f178ae3f3e94b1d1dceae3cc8d3196633c4a 12-Sep-2014 Brian Carlstrom <bdc@google.com> Fix mma/mmma by making gettop canonicalize TOP when set

Bug: 17253957
Change-Id: Ifd6d5984f63981e1f99b6ae6f9459c2801588459
/build/make/envsetup.sh
b7af531ecc9ccd8f2fe3344429536d6a5b32218a 11-Sep-2014 Dan Albert <danalbert@google.com> Remove the vbox target from the build system.

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)
/build/make/envsetup.sh
de21059acf371a58019ef02aa79457923750aa79 11-Sep-2014 Dan Albert <danalbert@google.com> Remove the vbox target from the build system.

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
/build/make/envsetup.sh
ed21d4c0168157f636b9dd46d992f4e3df5e3e27 25-Aug-2014 Ying Wang <wangying@google.com> Allow to overrde command make in envsetup.sh.

To override define function get_make_command() in vendor's
vendor-envsetup.sh.

Change-Id: I553e60816eb789750ccd16110f2e82a5087587e8
/build/make/envsetup.sh
e29069dc0e4c765787f77f2ee5561103c60891d9 14-Aug-2014 Jeff Brown <jeffbrown@google.com> Merge "Tweak sgrep to add cc and aidl files." into lmp-dev
9e7b9b996e5affd62bcd48e9afb5e18ae2cdf9a1 18-Jun-2014 Ed Heyl <edheyl@google.com> wrap make and print success/failure message, more later

Change-Id: I48a4687d81bc4b950a1be42b34d2f0d76733574a
(cherry picked from commit cc6be0a369ece60818edbd2f604b5a929496b3f5)
/build/make/envsetup.sh
3c4fcd84515ff6edcbeae7a0ceaacb1eecae437e 22-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains

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
/build/make/envsetup.sh
46cbd200988a650be9a595e095af92c045f8f522 27-Jul-2014 Jeff Brown <jeffbrown@google.com> Tweak sgrep to add cc and aidl files.

Also add it to the help list since it was missing.

Change-Id: I11403e63bc421fd146ad88452eac05043eacabc3
/build/make/envsetup.sh
6670e24aed1ca66f21a6af759a0d156bb3df1739 22-Jul-2014 Duane Sand <duane.sand@imgtec.com> [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains

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.

Change-Id: I86f1075266349edb2b08a7709b9f5472d8cfda32
/build/make/envsetup.sh
9948b1e9ed2f88ba1c8025587f680cf5295dee7e 19-Jul-2014 Nick Kralevich <nnk@google.com> runhat: use /data/local/tmp

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
/build/make/envsetup.sh
703709dba45405834fbe0516509f52fd13b379d3 10-Jul-2014 Ying Wang <wangying@google.com> am baad790d: am f27e3fb4: am c35cc93d: Merge "Allow symlinks to device or vendor tree in envsetup.sh."

* commit 'baad790de671f680d6584edc4712a9cde823f49c':
Allow symlinks to device or vendor tree in envsetup.sh.
baad790de671f680d6584edc4712a9cde823f49c 10-Jul-2014 Ying Wang <wangying@google.com> am f27e3fb4: am c35cc93d: Merge "Allow symlinks to device or vendor tree in envsetup.sh."

* commit 'f27e3fb4cf1d51f3abd5261d5626997c71df22b7':
Allow symlinks to device or vendor tree in envsetup.sh.
506410a549f2681a2d3fef99a69e02ba242e524a 10-Jul-2014 Ying Wang <wangying@google.com> Allow symlinks to device or vendor tree in envsetup.sh.

Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529
/build/make/envsetup.sh
dcc8b3729dd1cb89ed344a3855bac9584ac183ac 01-Jul-2014 Ying Wang <wangying@google.com> Use "$@" to preserve argument word breaks

This fixes mmma broken due to quotes stripped in the argument passing.

Change-Id: I6095c7ccf0660ba7b17a659f5df29b05e50e6303
/build/make/envsetup.sh
3e164be71dc74aa3e97f1e868e847ae4bef1d5f1 30-Jun-2014 Ying Wang <wangying@google.com> am 556efe00: am 9e05c9e4: am dc58c2a6: Merge "Remove nonexistent from /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.
556efe002f852dfa5ca5331e92b1d65a32339f26 30-Jun-2014 Ying Wang <wangying@google.com> am 9e05c9e4: am dc58c2a6: Merge "Remove nonexistent from /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.
2a859d5a6267e6e046c695d0ef374a1c862828c0 30-Jun-2014 Ying Wang <wangying@google.com> Remove nonexistent $ANDROID_QTOOLS from $PATH.

Bug: 15983070
Change-Id: Id3807a6dabd616ae06aafc2b894c1858e4400e26
/build/make/envsetup.sh
c6d11f8c66f40d715192f1a2ec7715f14ad5ed7f 27-Jun-2014 Ed Heyl <edheyl@google.com> no color output, thanks Mac; better callback to real make

Change-Id: Iff2a15ed8aad28c264209b26a33d1206ec80b794
/build/make/envsetup.sh
a58f8e04c9ba28c88a30b558e9b0a176d40b0c62 20-Jun-2014 Colin Cross <ccross@android.com> build: fix vendor symbols in gdb

Set TARGET_OUT_VENDOR_SHARED_LIBRARIES_UNSTRIPPED
Append '64' for 64-bit libraries

Change-Id: Ief289bb23950d4bed84cf616cff6038fbd8caf95
/build/make/envsetup.sh
49753f8fa16c6993e8c9dcb48333ffb8838243aa 25-Jun-2014 Michael Wright <michaelwr@google.com> am e75101af: am e49d461a: am b0c6ea9f: Merge "Invoke debuggerd64 when appropriate with stacks."

* commit 'e75101afdfc528aed486adbc0170964d1b32a91d':
Invoke debuggerd64 when appropriate with stacks.
e75101afdfc528aed486adbc0170964d1b32a91d 25-Jun-2014 Michael Wright <michaelwr@google.com> am e49d461a: am b0c6ea9f: Merge "Invoke debuggerd64 when appropriate with stacks."

* commit 'e49d461a8f713e61ad39ba20b48d2b5fee7beafe':
Invoke debuggerd64 when appropriate with stacks.
b0c6ea9f290261c12b6cb127b7bcd53f8ecc2d60 25-Jun-2014 Michael Wright <michaelwr@google.com> Merge "Invoke debuggerd64 when appropriate with stacks."
aeed721fccb1d51a702028d34ae2a428526a100e 20-Jun-2014 Michael Wright <michaelwr@google.com> Invoke debuggerd64 when appropriate with stacks.

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
/build/make/envsetup.sh
7df87a04f90e1cfac81b4a5b33cc27bc0528c11b 23-Jun-2014 Elliott Hughes <enh@google.com> am dde1a37e: am fbc6f257: am c04b4455: Merge "Updated gdbclient path support."

* commit 'dde1a37eb61a807af666c2adcfcb7c197465da90':
Updated gdbclient path support.
dde1a37eb61a807af666c2adcfcb7c197465da90 23-Jun-2014 Elliott Hughes <enh@google.com> am fbc6f257: am c04b4455: Merge "Updated gdbclient path support."

* commit 'fbc6f25712362b1f9b7b8970a96833ed0be0f12c':
Updated gdbclient path support.
267a928deb5a4e7aef83f47fba7da953cfd91a49 23-Jun-2014 Ying Wang <wangying@android.com> am e9ef4005: am cd66e5ca: am 6a8b3b43: Merge " delete duplicate variable definition"

* commit 'e9ef4005ea41b757bf1381236acaae124110d9fb':
delete duplicate variable definition
e9ef4005ea41b757bf1381236acaae124110d9fb 23-Jun-2014 Ying Wang <wangying@android.com> am cd66e5ca: am 6a8b3b43: Merge " delete duplicate variable definition"

* commit 'cd66e5ca0a8ab3235b5a49c904a692ff9142999e':
delete duplicate variable definition
cc6be0a369ece60818edbd2f604b5a929496b3f5 18-Jun-2014 Ed Heyl <edheyl@google.com> wrap make and print success/failure message, more later

Change-Id: I48a4687d81bc4b950a1be42b34d2f0d76733574a
/build/make/envsetup.sh
c04b4455689280fad51d48a5587fd93aa8980d01 23-Jun-2014 Elliott Hughes <enh@google.com> Merge "Updated gdbclient path support."
7a569a6282e44a5c7f90be76690ad839738b5162 20-Jun-2014 Brigid Smith <brigidsmith@google.com> Updated gdbclient path support.

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
/build/make/envsetup.sh
6a8b3b43bbc99f23439ae32c0ec1180d5586b773 23-Jun-2014 Ying Wang <wangying@android.com> Merge " delete duplicate variable definition"
1a03ddb805f2efc45345aa545d1d724e75972ae7 18-Jun-2014 Elliott Hughes <enh@google.com> am 09a4cac1: am 7cc3174d: Merge "Removed /system/bin prefix from gdbclient."

* commit '09a4cac12e3b040fb6d18490ff444b2fdd6cb451':
Removed /system/bin prefix from gdbclient.
9b0bae3b372c7f6a69716d79bb83ed18a0145b42 18-Jun-2014 Elliott Hughes <enh@google.com> am 1a03ddb8: am 09a4cac1: am 7cc3174d: Merge "Removed /system/bin prefix from gdbclient."

* commit '1a03ddb805f2efc45345aa545d1d724e75972ae7':
Removed /system/bin prefix from gdbclient.
0a2712d349df3caa3bb84df106f86e889e372fcc 28-May-2014 Brigid Smith <brigidsmith@google.com> Removed /system/bin prefix from gdbclient.

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
/build/make/envsetup.sh
a2b0f685bb19c2e7cc4a7fd7733df6c91d276487 11-Jun-2014 Andrey Belous <belous.andrey@gmail.com> delete duplicate variable definition

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>
/build/make/envsetup.sh
21e9474252760372e5ee33f6285da592b8e8f4ab 30-May-2014 Ying Wang <wangying@google.com> am b541ab6c: Support to build 64-bit unbundled binaries.

* commit 'b541ab6c51734530ed615e307f8912f32e616967':
Support to build 64-bit unbundled binaries.
b541ab6c51734530ed615e307f8912f32e616967 30-May-2014 Ying Wang <wangying@google.com> Support to build 64-bit unbundled binaries.

Change-Id: I4656c983d60aaf535ce4d14528c28ae8cef98fd8
/build/make/envsetup.sh
d9686fbb8c0e507bd515bf9a108d48084090c52e 28-May-2014 Ed Heyl <edheyl@google.com> Revert, strange side affects to other (like lunch) commands.

This reverts commit 6acfdd62de0454c98b27db51cf0e6af7f2250d2f.

Change-Id: Ic0a84700912570ddec70d152767a9d40f8fa71b0
/build/make/envsetup.sh
6acfdd62de0454c98b27db51cf0e6af7f2250d2f 28-May-2014 Ed Heyl <edheyl@google.com> wrap make and print success/failure message, more later

Change-Id: I7debc62babcd855a2d6355dddd00f4531050151c
/build/make/envsetup.sh
949ed75bb957b47e89e857bf68969ed49e6de3cc 22-May-2014 Colin Cross <ccross@android.com> am 423242b5: am 828b5183: am e45c8607: Merge changes 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
423242b59ea01dffbb7f79c7c045528f7c351c4b 22-May-2014 Colin Cross <ccross@android.com> am 828b5183: am e45c8607: Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130

* 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
3655a68565f17856b6f3a70df276f597b7eb0372 22-May-2014 Colin Cross <ccross@android.com> add vendor directories to gdb shared library search path

Change-Id: Ib4ccf3739d6b2f14597605ce06f00e4776f67976
/build/make/envsetup.sh
6a5fa0684a5a79abcb0cf116fe102e8f79081ece 22-May-2014 Colin Cross <ccross@android.com> add 2nd arch gcc to the path

Add the 2nd arch gcc to the path so users can manually run gdb,
addr2line, objdump, etc.

Change-Id: I30ff439bb6548b897d13bfa87151991d5f2948b3
/build/make/envsetup.sh
03b424a50b4dbd22efdea17151e220020f7b2ceb 22-May-2014 Colin Cross <ccross@android.com> fix paths when 2nd arch gcc is a different version

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
/build/make/envsetup.sh
5b7030390f8f5b4fcdc489144de462391f3d5055 21-May-2014 Christopher Ferris <cferris@google.com> am bcbf9ae4: am 965f3919: am a2cd924b: Merge "Fix extra/missing : in path setup."

* commit 'bcbf9ae4de41b2cd98ef96f61066496030ef31a1':
Fix extra/missing : in path setup.
bcbf9ae4de41b2cd98ef96f61066496030ef31a1 21-May-2014 Christopher Ferris <cferris@google.com> am 965f3919: am a2cd924b: Merge "Fix extra/missing : in path setup."

* commit '965f39190cb50d97b98d47ba8ca205661cfa2c3d':
Fix extra/missing : in path setup.
7110f241ab0d59796970975f5807fea4fd896fd7 20-May-2014 Christopher Ferris <cferris@google.com> Fix extra/missing : in path setup.

Change-Id: I4d95efc781c58af704012922d95841e009bf6286
/build/make/envsetup.sh
6772438d9250c23783a119e405f402e1f2b8d36f 18-May-2014 Ji-Hwan Lee <jihwan@google.com> am fff1b6d8: am 744e4aa2: am e624fd28: Merge "Put prebuilt emulator path after host output"

* commit 'fff1b6d80002d83c0db5c426961780f58b7391df':
Put prebuilt emulator path after host output
fff1b6d80002d83c0db5c426961780f58b7391df 18-May-2014 Ji-Hwan Lee <jihwan@google.com> am 744e4aa2: am e624fd28: Merge "Put prebuilt emulator path after host output"

* commit '744e4aa228b4ad25d444acb020ee3816fd2c2eb1':
Put prebuilt emulator path after host output
9f5d3dde17bd22430bdc99d836166c7792a99a84 15-May-2014 Ji-Hwan Lee <jihwan@google.com> Put prebuilt emulator path after host output

So that built emulator is used instead of prebuilt one when
BUILD_EMULATOR=true.

Change-Id: I67dfbfc2c3bf9bf051e56de425caa07b08d4b2e4
/build/make/envsetup.sh
edc702c7d6d44222a30fad5492aca916d48f0da2 11-May-2014 David 'Digit' Turner <digit@google.com> am 873782cc: am 9e3259f5: am fb67f05d: Merge changes I53b2ada9,I30794ea5

* commit '873782ccd44349c766f5d74e65b3b323618dd6ed':
Disable emulator from platform builds.
envsetup.sh: Use prebuilt emulator binaries if available.
873782ccd44349c766f5d74e65b3b323618dd6ed 11-May-2014 David 'Digit' Turner <digit@google.com> am 9e3259f5: am fb67f05d: Merge changes I53b2ada9,I30794ea5

* commit '9e3259f50d6aa2ca4430430d71d2fffd58662650':
Disable emulator from platform builds.
envsetup.sh: Use prebuilt emulator binaries if available.
94d16e5a0fb7552d56dc548c6ebaa27729a9a2e6 05-May-2014 David 'Digit' Turner <digit@google.com> envsetup.sh: Use prebuilt emulator binaries if available.

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
/build/make/envsetup.sh
7cde030346b5fa13c2d73eba0e11e2c31f726fe0 05-May-2014 David 'Digit' Turner <digit@google.com> envsetup.sh: Use prebuilt emulator binaries if available.

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://googleplex-android-review.googlesource.com/#/c/459741/
for a related patch that adds the binaries.

BUG=13747402

Change-Id: I30794ea52f6dfc58908e6271f2c0da8e2f0b68e8
/build/make/envsetup.sh
7d26e97e7f7ecc8ee7af373d5a5e3c96d317c910 30-Apr-2014 Narayan Kamath <narayan@google.com> am 3f1d1608: am 475a3d17: Merge "Use java_home to determine jdk location."

* commit '3f1d1608ebc4a0c307c94b67943bee004d8428a1':
Use java_home to determine jdk location.
30cfbd756be70fe61c6ff3b4ae2662ec5ba4c956 28-Apr-2014 Jason Parks <jparks@google.com> Use java_home to determine jdk location.

Specifying the major version rather than hard coding
to a minor version.

(cherry-picked from commit 13b2e19ef240804908629ed2e54a98ec9dede337)

Change-Id: Ie2c08d35fcff2129b26c1dfa8a2e5cd7b19c4b49
/build/make/envsetup.sh
13b2e19ef240804908629ed2e54a98ec9dede337 28-Apr-2014 Jason Parks <jparks@google.com> Use java_home to determine jdk location.

Specifying the major version rather than hard coding
to a minor version.

Change-Id: Ieccec98c1b41e3eb7f512bcebc83f6034d634862
/build/make/envsetup.sh
0b1204753ecb3e0177706ca6933ce08361b16aa8 28-Apr-2014 Torne (Richard Coles) <torne@google.com> am 93d0245b: am 5646d2f6: am 7250b63a: Merge "Fix PATH setup for arm64."

* commit '93d0245bc9cebf68a677d59b2ada1f72f9ea2dd2':
Fix PATH setup for arm64.
93d0245bc9cebf68a677d59b2ada1f72f9ea2dd2 28-Apr-2014 Torne (Richard Coles) <torne@google.com> am 5646d2f6: am 7250b63a: Merge "Fix PATH setup for arm64."

* commit '5646d2f6aa851ca79440d573e73fa51cf6afaf81':
Fix PATH setup for arm64.
f24c356a968e13d03f80df9840fe0a9b2652f872 25-Apr-2014 Torne (Richard Coles) <torne@google.com> Fix PATH setup for arm64.

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
/build/make/envsetup.sh
0d8179e84bcf729f580d9cad81cd2770e1af8a79 16-Apr-2014 Doug Zongker <dougz@google.com> fix tapas to work in more shells

tapas with multiple app names currently works in bash but discards all
but the first app in others (specifically, zsh). Use shell
constructions that are more universal.

Change-Id: I2f836ddf75b89019ac04ef99647d782ffe79cfee
/build/make/envsetup.sh
fa75d63cd7d512871e7f6038bfc75b19560dae2a 10-Apr-2014 Colin Cross <ccross@android.com> am dbf1f804: am 80f7dbd4: Merge "gdbclient: use 64-bit suffix for all library symbols"

* commit 'dbf1f8047be813537ddaebd777adc242a34f8204':
gdbclient: use 64-bit suffix for all library symbols
84480ad0ee651ce438f75306a56779065a2cbc6d 10-Apr-2014 Colin Cross <ccross@android.com> gdbclient: use 64-bit suffix for all library symbols

Correct the solib-search-path for 64-bit to look in /system/lib64
for all libraries including those in subdirectories.

Change-Id: I606a0eae1137a857564facc79306ad83097d9659
/build/make/envsetup.sh
0f2e5657d4818806a6ffc6be4069d9978b22f1e2 09-Apr-2014 Jon Boekenoogen <jboekeno@google.com> am 9ccadc82: am a8245d1d: Merge "ggrep" into klp-ub-dev

* commit '9ccadc8246c6c805265046ce02cb5e42c9cc2ee9':
ggrep
9ccadc8246c6c805265046ce02cb5e42c9cc2ee9 09-Apr-2014 Jon Boekenoogen <jboekeno@google.com> am a8245d1d: Merge "ggrep" into klp-ub-dev

* commit 'a8245d1dc1746a8cd26aead8c15aa05c9b703455':
ggrep
cbca56fb72532b2aedfe1f02bca995f1636d5ac1 07-Apr-2014 Jon Boekenoogen <jboekeno@google.com> ggrep

Add ggrep to search Gradle files more easily. Similar
to jgrep, cgrep, mgrep, etc...

Change-Id: I9f0bc74560c1df4c369216eabdb9e825bcb6fe75
/build/make/envsetup.sh
c84889b80ae40dec85ac4810fc500db70cbc82b2 01-Apr-2014 Narayan Kamath <narayan@google.com> Build with java7 by default.

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
/build/make/envsetup.sh
d8ce7d8fd6524d13e7c14ababc643c7e8bd3bee3 05-Mar-2014 Ben Cheng <bccheng@google.com> OProfile is no longer compiled now.

BUG: 13249790
Change-Id: I2d4fd8f888823687ea41ddbee1f7ce2a7ebc99f7
/build/make/envsetup.sh
6808c2608f0eff3275110154d7267f934700c167 04-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> Merge "Use analyzer at new location: prebuilts/misc/{linux-x86,darwin-x86}/analyzer"
368faf835b45647bd1961a3a2321daa45ad31568 03-Mar-2014 Primiano Tucci <primiano@google.com> Merge "Add usage comment to explain how to limit modules in mmm."
c4f7fbae020ef662de1ec6d037f9bb2b16b46d46 03-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> Use analyzer at new location: prebuilts/misc/{linux-x86,darwin-x86}/analyzer

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
/build/make/envsetup.sh
fba67bf896df000d6a79355ce71a24da0798ef7a 25-Feb-2014 Ben Cheng <bccheng@google.com> Make gdbclient smarter for gdb[server] setup.

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
/build/make/envsetup.sh
6a8069d8d6d85c1b2609dee0db7f36f0503537ea 26-Feb-2014 Primiano Tucci <primiano@google.com> Add usage comment to explain how to limit modules in mmm.

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
/build/make/envsetup.sh
872d3c2c6a07e4f1c171439449727a870dfaa59d 14-Feb-2014 Ying Wang <wangying@android.com> Merge "gettop: fix symlink detection"
1efd9e462a157c38d8ce0049582b27b3591c8c45 04-Feb-2014 Chris Dearman <chris.dearman@imgtec.com> [MIPS64] Add mips64 target

Change-Id: Ice1621101c0d5a3314db288542ca8020e3f406bf
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
/build/make/envsetup.sh
9b68fb2837a2f77c73730453f9de292e6029717c 14-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> Add 64-bit gdbclients.

This patch adds gdbclient combo for arm64, mips64, and x86_64.

Change-Id: I659b662276c93e5cce92aadc203a4bc111f5c2af
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
/build/make/envsetup.sh
4f0eb7d50c5b472be762c581eeda580a9b8ede1b 22-Jan-2014 Colin Cross <ccross@android.com> build: rename aarch64 target to arm64

Rename aarch64 build targets to arm64. The gcc toolchain is still
aarch64.

Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
/build/make/envsetup.sh
dbc9eacb272634b5974a80457da2f3a60487882b 22-Jan-2014 Ying Wang <wangying@android.com> Merge "Make jgrep, cgrep, resgrep not recurse into 'out' directory."
9260bba06fa65036e3813787388cee6a4a079019 17-Jan-2014 Narayan Kamath <narayan@google.com> Make envsetup.sh set JAVA_HOME correctly for java7.

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
/build/make/envsetup.sh
89ccc4895dd7eb148fa332d3afc12ad0f4a76ca7 15-Jan-2014 Ben Cheng <bccheng@google.com> Add aosp_aarch64-eng to the default lunch menu.

Change-Id: I55f6ab6ea90670def30796fdce76c27031ecef01
/build/make/envsetup.sh
6905e2163fac5d2be59afeabbfc81ec41ac04560 19-Dec-2013 Andrew Boie <andrew.p.boie@intel.com> envsetup.sh: cd to toplevel in get_build_var

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>
/build/make/envsetup.sh
a698dab816aa79c88b14a84b9701ca48645bf70d 07-Oct-2013 Ben Cheng <bccheng@google.com> am 0b42554f: am 12eeb000: Merge "Add generic aarch64 board config and build rules."

* commit '0b42554fd8c7a43ca45504e4586f1eef578308de':
Add generic aarch64 board config and build rules.
db4fc200c47d37b73d21c71c8923e4a844f9fde0 05-Oct-2013 Ben Cheng <bccheng@google.com> Add generic aarch64 board config and build rules.

Change-Id: I8b4a377596705dfa0a3bd234162d183ec2ae9530
/build/make/envsetup.sh
6a6db9432f3d3f5c65cc1fc07465420062c26724 03-Oct-2013 Ying Wang <wangying@android.com> am ab7b53b8: am 5d92a933: Merge "x86_64: Adding new target"

* commit 'ab7b53b8e09e3d346384a5257e8f7a440a53dfc0':
x86_64: Adding new target
fd82a49e04adb5513977acd0f616ddac421c715b 26-Nov-2012 Pavel Chupin <pavel.v.chupin@intel.com> x86_64: Adding new target

Add x86_64 Android builds. Compiler is expected to be able to understand
-m64 code generation option.

Change-Id: I99e7337c5a5766afc5e528a481bd21631ff44dd5
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
/build/make/envsetup.sh
c5c32d8f4a202f19a967678c283e71b75d1061c8 14-Sep-2013 Ying Wang <wangying@android.com> am fad629f4: am 7f2ad751: Merge "Switch x86 default compiler to multilib version"

* commit 'fad629f4dd07720b427c6a219ad93886e23ca277':
Switch x86 default compiler to multilib version
7f2ad751aebf9d13d63f20a451c28d4a41c4569a 14-Sep-2013 Ying Wang <wangying@android.com> Merge "Switch x86 default compiler to multilib version"
87ceb423a74ff1a0788da57873bc99c76512b609 13-Sep-2013 Andrew Hsieh <andrewhsieh@google.com> am 169395bf: am 0407e1a8: Merge "Rename bin/clang to bin/analyzer"

* commit '169395bf1a7378db1ffbb50f3c6461d9dab17596':
Rename bin/clang to bin/analyzer
af738a4bdb93b0d32975f38cb3d70e1ebbd30155 13-Sep-2013 Andrew Hsieh <andrewhsieh@google.com> Rename bin/clang to bin/analyzer

Change-Id: Ie77018e4943823f7d0f18e9249f973a98ee3652a
/build/make/envsetup.sh
246daf755a6607db575b5bef13d5cc761d4ebbb0 11-Sep-2013 Andrew Hsieh <andrewhsieh@google.com> resolved conflicts for merge of 2b5d2c55 to klp-dev-plus-aosp

Change-Id: Icd9d5eff3f9acba042c100f694309f902c9d56cf
906cb78168718dafea120b0a0a6cf239b90a2a71 10-Sep-2013 Andrew Hsieh <andrewhsieh@google.com> Add "WITH_STATIC_ANALYZER=1 m/mm/mmm/mma/mmma ..."

The new option WITH_STATIC_ANALYZER=1 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: I9970560560bd52ce5f0fd7129c3488629627c735
/build/make/envsetup.sh
54a81734450e876cf5699d74b224c19771b89461 28-Aug-2013 Mathias Agopian <mathias@google.com> am 5a4cc0da: Merge "fix uses of grep in envsetup.h" into klp-dev

* commit '5a4cc0da02e2e2bfde7b07b612d57eecd8ade64e':
fix uses of grep in envsetup.h
445832714254de79eb2339de4792050ed866796b 27-Aug-2013 Mathias Agopian <mathias@google.com> fix uses of grep in envsetup.h

make sure we don't use a grep alias if one exists.

Change-Id: Id8e394f5889d9a5f1d320ecb289c974da8f14207
/build/make/envsetup.sh
c1a5664ea3882800dfc538a9591828f9c429f6d7 23-Aug-2013 Pavel Chupin <pavel.v.chupin@intel.com> Switch x86 default compiler to multilib version

Switch from gcc-4.7 32-bit only to gcc-4.7 multilib (32/x32/64) compiler.
Tested x86 image build on Linux and Darwin.

This bionic patch is required:
https://android-review.googlesource.com/#/c/64183

Change-Id: Ifc2c6c5d6a4a1b71a00a87af072bb7f67b1c284d
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
/build/make/envsetup.sh
e787eb61150c4292f54946b0956a99196d250280 21-Aug-2013 Jeff Brown <jeffbrown@google.com> am 91efe6bb: Merge "Enhance \'stacks\' script to handle native processes." into klp-dev

* commit '91efe6bbb7bd05038b7ec4e713b70582b7dd53a2':
Enhance 'stacks' script to handle native processes.
b12c2e531c410ab91ad17c32125932e5ae51de49 20-Aug-2013 Jeff Brown <jeffbrown@google.com> Enhance 'stacks' script to handle native processes.

Automatically detects whether the process is native or managed
and dumps the stacks accordingly.

Change-Id: Ifba65279f1d1b9714b66aa6990bab05575871d28
/build/make/envsetup.sh
208c677263f2df820f498ccb04abeabbaae50548 17-Aug-2013 Ying Wang <wangying@google.com> am a7deb085: Add phony goal GET-INSTALL-PATH

* commit 'a7deb0857c4fc0799cd1ebb82ff79dcbe2745ec0':
Add phony goal GET-INSTALL-PATH
a7deb0857c4fc0799cd1ebb82ff79dcbe2745ec0 16-Aug-2013 Ying Wang <wangying@google.com> Add phony goal GET-INSTALL-PATH

It can be used as a goal of mm/mmm.
It prints out modules' install paths, which can be used by the runtest
utility.

Change-Id: If113e4c990b672acbacf723104583c0157d43c3b
/build/make/envsetup.sh
6d98d3b9426241983df9ee50fe62dcde8463a010 14-Aug-2013 Ying Wang <wangying@android.com> am a4ad06ac: am 750e0c08: Merge "Prepare upcoming GCC 4.8 release."

* commit 'a4ad06ac1db1dfc041fe386b76b22233fdc54341':
Prepare upcoming GCC 4.8 release.
aac3f81657b9111b3680c370083c01879612c443 13-Aug-2013 Ben Cheng <bccheng@google.com> Prepare upcoming GCC 4.8 release.

o Add -Wno-unused-parameter -Wno-unused-but-set-parameter to suppress
new warnings.
o Define GCC_COLORS to enable colorful diagnostic messages.

Change-Id: Icbd62300b0e6f39d4e514edec2431a06b4d72421
(cherry picked from internal commit ccd8e6082b5b1e519a75068fa6c887a1a85b53c4)
/build/make/envsetup.sh
47e0a88dbc64b06de2f1a32de558f3732e861afe 30-Jul-2013 Daniel Sandler <dsandler@android.com> Add --exact flag to `pid` tool; new `qpid` tool.

The new --exact flag for pid does an exact match on the
process name, rather than grepping anywhere in the ps
output, which helps target a specific process if its name is
a substring of another process name. (Nothing else about
pid's output, including inclusion of the ps header if it
matches, is affected.)

qpid ("quick pid" or "quiet pid") lists all processes in the
following simplified format:

<pid> <procname>

It also helpfully strips off the header line from ps.

With an argument, qpid will search for processes or pids
matching the argument. With --exact it matches process names
exactly (as does pid, above).

Change-Id: I28a201df40281a66cb1a2918b7ee3a0b2d7b6ffd
/build/make/envsetup.sh
9352474dae6835bad03151c763ff4c67b7c34dd9 25-Jul-2013 Ying Wang <wangying@android.com> am 6f9c87ed: am 45339b01: Merge "Use consistent search depth."

* commit '6f9c87ede60c52a42b107fa5fb06e0f2f654ca9f':
Use consistent search depth.
45339b01d61586aa46c4ca98b37e320879fac050 25-Jul-2013 Ying Wang <wangying@android.com> Merge "Use consistent search depth."
58570e7d5ef8ec486e6c91deee8d61b404dba25d 04-Oct-2012 Guilhem IMBERTON <guilhem.imberton@intel.com> Use consistent search depth.

AndroidProducts.mk allows for a maxdepth of 4 in device and vendor while
vendorsetup.sh and BoardConfig.mk only allow for smaller depth.

Make search depth consistent for these files.

Change-Id: I406770c1423d4f27fe097956a7c705a0da937e35
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Laurent Fert <laurent.fert@intel.com>
Signed-off-by: Guilhem Imberton <guilhem.imberton@intel.com>
Author: Laurent Fert <laurent.fert@intel.com>
/build/make/envsetup.sh
b112a405a92a3f6b348f05369f22b019978599bb 06-Jul-2013 synergy <synergye@codefi.re> gettop: fix symlink detection

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
/build/make/envsetup.sh
91c72d24bd12e5e5e220a4c8a049de934a7fe5c3 05-Jul-2013 Anatolii Shuba <x0158321@ti.com> Make jgrep, cgrep, resgrep not recurse into 'out' directory.

Change-Id: Ieadfe63075aacccb637ddafe6518f5fad62dcd02
Signed-off-by: Anatolii Shuba <x0158321@ti.com>
/build/make/envsetup.sh
7239816079399844df30ca2ae116a2de923bfb98 24-Jun-2013 Ben Cheng <bccheng@google.com> Source $ANDROID_BUILD_TOP/development/scripts/gdb/dalvik.gdb

Example for future gdb scripts: A handy command "dbt" is
added to unwind the Dalvik stack.

Change-Id: I564ec865c30453879439203d9d15623d5f1ec235
/build/make/envsetup.sh
764b4f80fdaa2d8cae1e2e4559c178fb9238b1fd 21-May-2013 Christopher Ferris <cferris@google.com> Add missing adbOptions in runhat.

One of the adb commands in runhat was not using the adbOptions and would
fail if specifying a single serial device with multiple connected devices.

Change-Id: I804a6fccc51090cdc78dc2af76bbc0a24d843e3d
/build/make/envsetup.sh
998519f1a4de75c4bcbd9c7da90f08f6dcea99f1 08-May-2013 Jeff Sharkey <jsharkey@android.com> am 1d0608f9: Merge "sepgrep -- function to grep SELinux policy files."

* commit '1d0608f9c5d04ee0cd106e3bd80c41be7444046f':
sepgrep -- function to grep SELinux policy files.
ba5fc8e59397ff2d986681457ed590742ce522e8 06-May-2013 Alex Klyubin <klyubin@google.com> sepgrep -- function to grep SELinux policy files.

Change-Id: Ib86a124296ecbc2b2ce9a0323c40c85ceb6cd466
/build/make/envsetup.sh
0f7e0694a575fa4472f43e6a4e11c053ff99d69b 30-Mar-2013 Ying Wang <wangying@google.com> am a1fd8e44: Merge "Augment ANDROID_DEV_SCRIPTS with prebuilts/devtools/tools"

* commit 'a1fd8e44b71a83f2733258b020c4057af3c4046a':
Augment ANDROID_DEV_SCRIPTS with prebuilts/devtools/tools
564f91222333d2d48d6db9e7c76823fdeb352458 30-Mar-2013 Ying Wang <wangying@google.com> Augment ANDROID_DEV_SCRIPTS with prebuilts/devtools/tools

Change-Id: Ia3647674f294c42e9fbe2163bf0d70012313bb15
/build/make/envsetup.sh
324c123500d0f0da0ce92b246c65386050618563 22-Mar-2013 Jean-Baptiste Queru <jbq@google.com> Rename AOSP builds to aosp_*

Change-Id: If609f66904ac560bc7a6e9ff9a43c2e039525687
/build/make/envsetup.sh
bacedf66d2ecf05d100cf830d6dc4bd22f8562e7 11-Mar-2013 Ying Wang <wangying@android.com> am 4f499fba: am c36f41fd: Merge "Support gdb wrappers"

* commit '4f499fba73dd7bc04248f310df9b8b90f93d5de8':
Support gdb wrappers
c36f41fd38c0dfc09ef486e6c3b2eda26c3a5b24 11-Mar-2013 Ying Wang <wangying@android.com> Merge "Support gdb wrappers"
eb73384e02639259b3ef04bb1856607d4dcf265c 09-Mar-2013 Michael Wright <michaelwr@google.com> Fixed whitespace and env pollution issues in pez

Change-Id: I40574d6cdab31e920535c09d24fe8463aee57586
/build/make/envsetup.sh
f0d08ebd2f6b32e879efda3c496d24503919e0e9 09-Mar-2013 Alex Ray <aray@google.com> pez: colored SUCCESS/FAILURE indicator

pez is a new bash function that can be prepended to existing functions
or commands to clearly show a colored exit status.

Example:
$ pez mmm frameworks/base/etc

will print all the usual output, and at the end either a green "SUCCESS"
line or a red "FAILURE" line.

Change-Id: I7e369b0280d6ece16fb0be1895278c26922491fe
/build/make/envsetup.sh
502002526f461900abf1f5859bd44cdaa4ab913c 09-Nov-2012 John Michelau <w14107@motorola.com> Support gdb wrappers

Use gdbwrapper() for launching gdb. This can be redefined to launch
one of the many gdb wrappers instead.

Example:
function gdbwrapper()
{
ddd --debugger $ANDROID_TOOLCHAIN/$GDB -x "$@"
}

Change-Id: I3cce8a2ca1bae6d531e2388a93cb52075b21a42c
/build/make/envsetup.sh
301bbadb12a6ad5df8baa1aaa7a11adb6329b7d9 08-Mar-2013 Jeff Sharkey <jsharkey@android.com> Function to grep AndroidManifest.xml files.

(cherry picked from commit 50b61e9e66bad2f8addc425271b41e74babf3a34)

Change-Id: I1998a9d6a05176fc7fc8643c5d1c40e2dd699d4e
/build/make/envsetup.sh
cfe0969ab9db403684d2a6a97dd6c487cc0b13fc 20-Feb-2013 Jeff Sharkey <jsharkey@android.com> Utility to dump stacks from arbitrary processes.

Saves any existing traces, dumps stacks from the target process,
then restores the original traces.

(cherry picked from commit f582437162ff483b342ad9d02cb0af948a734c5a)

Change-Id: I2513f0de0d90cccd56c4949ca7d218e430439c00
/build/make/envsetup.sh
50b61e9e66bad2f8addc425271b41e74babf3a34 08-Mar-2013 Jeff Sharkey <jsharkey@android.com> Function to grep AndroidManifest.xml files.

Change-Id: I1998a9d6a05176fc7fc8643c5d1c40e2dd699d4e
/build/make/envsetup.sh
f582437162ff483b342ad9d02cb0af948a734c5a 20-Feb-2013 Jeff Sharkey <jsharkey@android.com> Utility to dump stacks from arbitrary processes.

Saves any existing traces, dumps stacks from the target process,
then restores the original traces.

Change-Id: I2513f0de0d90cccd56c4949ca7d218e430439c00
/build/make/envsetup.sh
b607f7bd4c270c8bef16db46966992528ce25ebc 09-Feb-2013 Ying Wang <wangying@google.com> mma and mmma

augmented mm/mmm:
Their usages are the same as mm/mmm.
They build not only all modules in given path(s), but also their
dependencies.
With them, to run mm/mmm you don't need to run a full build first now:
Just run mma/mmma first.
Note that mma/mmma need to load all the makefiles in the source tree
so they are much slower than mm/mmm.
You should run mma/mmma the first time, and then mm/mmm for
incremental build.

Bug: 8163814
Change-Id: I554a97c0a23343b65c50870406225eb0064e0651
/build/make/envsetup.sh
fa72a60d0ca8d373127a844010871392c6749ef4 11-Jan-2013 Joe Onorato <joeo@google.com> Add -f option to make for m, mm and mmm

It lets these shell functions work even if you have some
other makefile at the root of your tree.

Change-Id: Ic84688abd89cc70c062e156f1397296837fb137e
/build/make/envsetup.sh
f05c4f75244e82b60942567a7c6ab18551635265 31-Jan-2013 Ying Wang <wangying@google.com> Resurrect generic_armv5

But only for unbundled build.
Add it to tapas arch options.

Bug: 8108463
Change-Id: I53cd63c6ab2113fee3992650b561658231ea9921
/build/make/envsetup.sh
51b5840de7a226a42a4f4d61c94e7416014ade25 14-Dec-2012 Ying Wang <wangying@google.com> am 0adc185a: am 9eedd3ab: Merge "Use "\cd" to disable alias temporarily."

* commit '0adc185a8cf117c5c7edda7cf5a8257343948342':
Use "\cd" to disable alias temporarily.
0adc185a8cf117c5c7edda7cf5a8257343948342 14-Dec-2012 Ying Wang <wangying@google.com> am 9eedd3ab: Merge "Use "\cd" to disable alias temporarily."

* commit '9eedd3abed1d38ac5639a1f47ee80a7dbd0fb207':
Use "\cd" to disable alias temporarily.
9cd1764814541855e5d2ea6b093c6e7ff6febdef 13-Dec-2012 Ying Wang <wangying@google.com> Use "\cd" to disable alias temporarily.

http://code.google.com/p/android/issues/detail?id=41372

Change-Id: I78e468cb5d57e51774d2e42376ef1f4b52096d33
/build/make/envsetup.sh
02d29216c92272fe2c3839a835c5a2c1ea6268f2 12-Dec-2012 Ben Cheng <bccheng@google.com> am b3a68f6e: am 62f1d86e: Merge "Define TARGET_GCC_VERSION in target specific make files."

* commit 'b3a68f6e002cdbc946d08a76656067d63542a98a':
Define TARGET_GCC_VERSION in target specific make files.
b3a68f6e002cdbc946d08a76656067d63542a98a 12-Dec-2012 Ben Cheng <bccheng@google.com> am 62f1d86e: Merge "Define TARGET_GCC_VERSION in target specific make files."

* commit '62f1d86e4850bdc4f470cf1f0c2428f5b427a347':
Define TARGET_GCC_VERSION in target specific make files.
5011dd80ee4aff6254bd5600429b3ced1e52f792 12-Dec-2012 Ben Cheng <bccheng@google.com> Refresh ARM toolchain to GCC 4.7 / binutils 2.22.

Change-Id: Id3689376ae4c4fc183569955b2ee98df5c069510
/build/make/envsetup.sh
054ffd2e7c3da585ab223518569e7436858ba5e0 11-Dec-2012 Ben Cheng <bccheng@google.com> Define TARGET_GCC_VERSION in target specific make files.

So that GCC refresh can be performed in a target specific way.

Change-Id: I867e8b8fd671bef8c5af300e657a6da4fface032
/build/make/envsetup.sh
96ddf10e339c856c4dd99227840f161f785656c5 11-Dec-2012 Ben Cheng <bccheng@google.com> am 297e28a9: am a7b85086: Merge "Export TARGET_GCC_VERSION as an env variable."

* commit '297e28a9a713346dfb5d91630c96d365a6e69750':
Export TARGET_GCC_VERSION as an env variable.
297e28a9a713346dfb5d91630c96d365a6e69750 11-Dec-2012 Ben Cheng <bccheng@google.com> am a7b85086: Merge "Export TARGET_GCC_VERSION as an env variable."

* commit 'a7b850864c54bb6f223d4b186c5937fd20aa68d8':
Export TARGET_GCC_VERSION as an env variable.
1526670628fc1a44cbe553253bdcd23f078c13be 11-Dec-2012 Ben Cheng <bccheng@google.com> Export TARGET_GCC_VERSION as an env variable.

Have it referenced by the adbs tool to pick the specified toolchain.

Change-Id: I23df88946254a55d0749d6753e54559faf33e121
/build/make/envsetup.sh
b40018cf1f8e2dbb5479708af06b557730838e64 27-Nov-2012 Ying Wang <wangying@google.com> am caee64a9: am f44a518c: am c69b7735: Put ANDROID_BUILD_PATHS before the system default PATH

* commit 'caee64a98ac6f7f88888e2105ca07da17bb6311b':
Put ANDROID_BUILD_PATHS before the system default PATH
c69b773506ecf2316059a9fe947bbeb524a402b3 27-Nov-2012 Ying Wang <wangying@google.com> Put ANDROID_BUILD_PATHS before the system default PATH

So tools like adb that are built from source won't be overridden by the
host system tools, when you run these tools without specifying the path.

Change-Id: I2f0a288b38fabf57c7a4aa3bae5e42d7b734398d
/build/make/envsetup.sh
aa1c9b583780016d6a7e36e953e54a4c36778ee5 27-Nov-2012 Ying Wang <wangying@google.com> Put ANDROID_BUILD_PATHS before the system default PATH

So tools like adb that are built from source won't be overridden by the
host system tools, when you run these tools without specifying the path.

Change-Id: I2f0a288b38fabf57c7a4aa3bae5e42d7b734398d
/build/make/envsetup.sh
2a43d74fb47c5cb812887265a9407e2544ed47b4 17-Nov-2012 Ben Cheng <bccheng@google.com> am bf031a25: am 17c679d0: Merge "[ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*."

* commit 'bf031a2586daccf2a47a66c7cc80ac050ba1c16a':
[ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*.
8bc4c438bd8483c8bf794a51908229c8e644b3f3 16-Nov-2012 Ben Cheng <bccheng@google.com> [ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*.

In the future to upgrade the gcc version we just need to edit one
line in core/config.mk.

Change-Id: I01bb38c38f2388913bb7369aa4b2da480411dfbe
/build/make/envsetup.sh
20c136a15100cd54e4fbd924360babf67fb79f91 10-Nov-2012 Chris Craik <ccraik@google.com> Improve gdbclient pid handling

Improves attaching to multi-process applications, connecting to the root process
if child process not specified instead of passing bad data to gdbserver

Also logs error instead of passing bad data to gdbserver if pid undetermined

Change-Id: I68ad62645c4f0a7a24aef02c84e3b5b84e14461e
/build/make/envsetup.sh
11b15b15ce69b2d0b88080888865ed9f590a18fd 12-Oct-2012 Ying Wang <wangying@google.com> Resovle symlink in findmakefiles in envsetup.sh

So the returned path can match the one returned by gettop,
and so we can get the correct relative path of ONE_SHOT_MAKEFILE when running mm.

Change-Id: I492d68fec47e59ec9f4ea0fb5139b1a28af0f6cd
/build/make/envsetup.sh
6b9549fd73c10b54a754dbbf3bef5a1db0d30bc2 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Make runhat command work again.

Change-Id: Ia3d2aefd32579b61da72e65c78dc6053dbaaad28
/build/make/envsetup.sh
c8d107740f526c0a63f46106120cdc3a81787879 28-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am fe95bc0f: am 1d0f5f91: Merge "Include all standard shared library paths in /system/lib"

* commit 'fe95bc0fd6bf5c45e264740654ee4ad45fcb37d4':
Include all standard shared library paths in /system/lib
6858d51a03e25a3767b68adc04d969f1eabc695d 02-Feb-2012 Chris Dearman <chris@mips.com> Include all standard shared library paths in /system/lib

Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: Ib33ce42532cc8cedc6f48036a257a2a225c82a69
/build/make/envsetup.sh
f8c154f4b0b402968a911bf2c00ea40d252ccb60 23-Aug-2012 Victoria Lease <violets@google.com> Merge "getsdcardpath, getscreenshotpath, getlastscreenshot" into jb-mr1-dev
67f02920115002933d9a694fcbb0fc9761aa214d 22-Aug-2012 Ying Wang <wangying@google.com> Allow target arch in tapas parameters.

For example:
$ tapas App1 App2 x86 userdebug

Change-Id: I19601a93484f70dac677d2d68033684db32e1321
/build/make/envsetup.sh
1b296b4749f7f77846ab5cf6f5f05e607b20ec31 22-Aug-2012 Victoria Lease <violets@google.com> getsdcardpath, getscreenshotpath, getlastscreenshot

Added a few new functions to envsetup.sh:
- getsdcardpath() returns the sdcard path. This will be more useful
when multiuser storage complicates the sdcard path.
- getscreenshotpath() returns the path to screenshots
- getlastscreenshot() adb pulls the most recently-taken screenshot

Change-Id: I851145088344dff6f1672f0a423201f3aa3e4390
/build/make/envsetup.sh
324c2b20734cc07e8ae74c28a5c86fbe64595739 18-Aug-2012 Ying Wang <wangying@google.com> Skip the top out directory in mgrep.

Change-Id: I0530b24179034f521dc2366588cdc906ef466750
/build/make/envsetup.sh
8da4310646da498255173b475915aa066de4200a 26-Jul-2012 Raghu Gandham <raghu@mips.com> MIPS support to *.mk files and envsetup.sh

Change-Id: Iba4d046e3202524b29cfe32980927f8cc0aa8496
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Raghu Gandham <raghu@mips.com>
/build/make/envsetup.sh
42ced6d5e2380a965fd2257770cfe11381f8f381 18-Jul-2012 Bruce Beare <bruce.j.beare@intel.com> x86: cleanups for toolchain

The 4.4.3 TC was still being specified in one spot.
Also, no need to cross-set x86/ARM variables when buliding
for ARM/x86.

Change-Id: Icbb0f772a983a24dc10ccab0800d4b7bbd60a099
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/build/make/envsetup.sh
feec98b139d2ca0b0164a5e178e75ce88b8f492f 16-May-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 62855a83 to jb-dev-plus-aosp

Change-Id: Ic424ff756396463b98d137f8353d4a230e806a07
402d7f3654cc3ad58b1df5d2ba12e908b57f861b 29-Apr-2012 H.J. Lu <hongjiu.lu@intel.com> Use i686-linux-android-4.6 for x86 build

Change-Id: Ibbb0a899f147013503d6830bb93050c5ae588539
Author: "H.J. Lu" <hongjiu.lu@intel.com>
/build/make/envsetup.sh
0987f03d52d7bfc518f1c402f9639fdb1e71e383 27-Apr-2012 Robert Greenwalt <rgreenwalt@google.com> Add Development/scripts to path.

Adding a script to there and people thought it would be nice if it were
available/in seach path.

bug:4208971
Change-Id: I58475f5f0149cec2485dc5bc787b5fb3cc68ba0a
/build/make/envsetup.sh
a50ef1c12441d9eccfa75409c1392befaf2abed5 21-Apr-2012 Jean-Baptiste Queru <jbq@google.com> Switch to new locations of toolchains

Change-Id: I15a8be11b3d0f1985ffd97dd51a1af18e1ce7b67
/build/make/envsetup.sh
08f5e9a54c6758e81c8ee5ad14eaf95453ad6186 18-Apr-2012 Ying Wang <wangying@google.com> Add back ARM_EABI_TOOLCHAIN.

ARM_EABI_TOOLCHAIN is still used by the kernel build.

Change-Id: I5cdad0b478c0836e06a2af567e4e212602da1f3b
/build/make/envsetup.sh
2056c25edd1c8e9294e1807dfceb274ff767b941 17-Apr-2012 David 'Digit' Turner <digit@google.com> resolved conflicts for merge of 296e4828 to master

Change-Id: Iae41a458f1eed497119c3abe4bf27194821c075d
7d0ede730d55ec28c9e219b7c1e894047ffe50f1 14-Mar-2012 Mark D Horn <mark.d.horn@intel.com> Update gdbclient for x86 target

Check the Target Architecture to choose the correct
version of the gdb client.

Change-Id: I1d75df235a18e60c6a7142a95c93b0fce69ee736
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
/build/make/envsetup.sh
f5172c7564e0d84bf02b9add47809ce10a9cff4f 30-Mar-2012 Jing Yu <jingyu@google.com> Switch default gcc toolchain from 4.4.3 to 4.6.

Switch both arm-linux-androideabi toolchainand arm-eabi toolchain.

Change-Id: I7b2771fe684853ab37e3b5b7cfe4146f9f901e02
/build/make/envsetup.sh
9bf081e910eae44c0a6a1342881f04a2cf4dc36b 26-Mar-2012 Kenny Root <kroot@google.com> Add hardware API libs and SSL engines to gdb path

Hardware API implementations and SSL engines are stored as a
subdirectory to the /system/lib directory. This makes it easier to debug
them with the "gdbclient" command.

Change-Id: If7c3c7ffbca87425aac85d527e44fbea3bb025ad
/build/make/envsetup.sh
1a5fc95a4a9081365cac8365f9d0df473d12ae41 08-Mar-2012 Scott Anderson <saa@android.com> Rename help function in envsetup.sh to be hmm

Bash has a built-in command "help" that is useful for getting
help on bash commands without wading through the bash man page
(e.g. "help test" will give you the syntax for those "if [ ]"
expressions). Overwriting a built-in with a convenience function
is not good.

The function "hmm" was added recently that serves much the same
purpose as help. It seems like a good idea to remove the new
"hmm" command and rename "help" to be "hmm" so we no longer
overwrite the built-in.

Change-Id: I2079b3e6a10715956ec077d31e817a939c6ee4a0
Signed-off-by: Scott Anderson <saa@android.com>
/build/make/envsetup.sh
cb8f66305caf4f9252112608ad93e2ef58321244 11-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Revert "Point arm toolchain to the new gcc-4.6 one."

This reverts commit 1f87795eef3ab5f63675dc6e01f304d1a6e46d2a.
/build/make/envsetup.sh
1f87795eef3ab5f63675dc6e01f304d1a6e46d2a 06-Jan-2012 Jing Yu <jingyu@google.com> Point arm toolchain to the new gcc-4.6 one.

Tested build mysid-eng, sojus-eng, trygon-eng, yakju-eng.

Change-Id: I742cf9fcf2407b9098c99136d67161ecf062ac01

Conflicts:

core/combo/TARGET_linux-arm.mk
/build/make/envsetup.sh
32038917503586643628e7bbb60b807c882a482f 05-Jan-2012 Jeff Davidson <jpd@google.com> Add hm/hmm/hmmm command.

Everyone always mixes up m/mm/mmm and may not know about the "help"
command; this seems to be a nice way to remind yourself. :)

Change-Id: I009c7f7891768a8605c06e8d16384a812e607438
/build/make/envsetup.sh
68895a96999f651b9f5020e13197250a57a91eaa 30-Nov-2011 Alon Albert <aalbert@google.com> Add support for building specific modules with mmm using the following syntax:
Build all modules: mmm dir
Build a single module: mmm dir:module
Build multiple modules: mmm dir:module1,module2
Or in other words:

Change-Id: If32770c19f03a4d460f32046a3dd06656e33ee11
/build/make/envsetup.sh
2260c40bc791a89dd95e739fb79313a97121519d 28-Nov-2011 Ben Cheng <bccheng@google.com> Merge "Point OPROFILE_EVENTS_DIR to oprofile dir in source tree."
057fde14d1258375def4ffdc813683dade9027e2 28-Nov-2011 Ben Cheng <bccheng@google.com> Point OPROFILE_EVENTS_DIR to oprofile dir in source tree.

Otherwise oprofile will punt with the following error message when
processing results collected by perf events since the event descriptions
are not stored in the default location on the host.

profile: could not open unit mask description file
/usr/local/share/oprofile//arm/armv7/unit_masks

Change-Id: I4ff2f2a87546ed3606490596285fb3e466e8d661
/build/make/envsetup.sh
293f9392ba39115a9429b5c8f98a5ca4054b3e21 19-Nov-2011 Jeff Hamilton <jham@android.com> Bypass alias for grep in the tapas command.

Change-Id: I82705535bda927ddc7e9aebb9610d712b68a50d2
/build/make/envsetup.sh
227b9f8b9b5f5041b79b1e33a8d5815b1458d886 14-Nov-2011 Dianne Hackborn <hackbod@google.com> Merge "Dev branch for ICS MR2."
0ab21d3ed34edbeb8631002db47a6a309581d9a4 11-Nov-2011 Nick Kralevich <nnk@google.com> make gdbclient work on x86

Change-Id: I2fd4fc2b89db13a8db1b177afdab593772cb12f8
/build/make/envsetup.sh
6e4e1bbbc1f3e3c8e53940ffec24da9d1be4ff25 11-Nov-2011 Dianne Hackborn <hackbod@google.com> Dev branch for ICS MR2.

Change-Id: I53c18f2e84cd0a5c6529da1acc5f2c8d0ad0ef2e
/build/make/envsetup.sh
bf8cf79f602efcc37b91a8ffd5bc5c55b562275e 18-Jul-2011 Kenny Root <kroot@google.com> am 3146eb76: am 1708a6f7: am 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '3146eb76cf193ce95f0f88a477b1c708a1b5cf9b':
Avoid complaining about empty directories
3146eb76cf193ce95f0f88a477b1c708a1b5cf9b 18-Jul-2011 Kenny Root <kroot@google.com> am 1708a6f7: am 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '1708a6f74bf36ad6d520476895695c26bdaf7306':
Avoid complaining about empty directories
4880b436656d7cfd00bb82ebde1b408e0bd19bda 18-Jul-2011 Kenny Root <kroot@google.com> am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '62a2b1882fb95e960b5889b46fe8f669ddc7c8ac':
Avoid complaining about empty directories
7546d613af0aaa50ced28b4ff9b306df5708dc03 18-Jul-2011 Kenny Root <kroot@google.com> Avoid complaining about empty directories

Change-Id: If46bffd1c4e6b94f2e476b2d7d506ef337bbf8e1
/build/make/envsetup.sh
b080a7392c5910219e315c46fa12c5f4733059ce 18-Jul-2011 Kenny Root <kroot@google.com> am 1b61d1ba: am db549686: am 099aa4cf: am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"

* commit '1b61d1ba7b7f2c0017193bcfc3a28e30af1ce603':
Only include "[a-z]*.bash" files for completion
1b61d1ba7b7f2c0017193bcfc3a28e30af1ce603 18-Jul-2011 Kenny Root <kroot@google.com> am db549686: am 099aa4cf: am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"

* commit 'db5496867968fe592de807e606dc11287ca61c6a':
Only include "[a-z]*.bash" files for completion
099aa4cf4d82218110c6edf3edede0e72450216e 18-Jul-2011 Kenny Root <kroot@google.com> am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"

* commit 'b8a1c89b3a848ea343c897b33e77455dc2f98119':
Only include "[a-z]*.bash" files for completion
85cb556e2e1d336ed615aedf962bed8d993315bf 18-Jul-2011 Kenny Root <kroot@google.com> Only include "[a-z]*.bash" files for completion

Some people were using case-insensitive filesystems which broke when
including simply [a-z]* since it matched the uppercase files. Use this
to filter only the actual bash scripts.

Change-Id: Ibfdcf2c091a154f0485545537a044667783a19f7
/build/make/envsetup.sh
50bab231785daa2ce2c4db83430e44e14111ca94 16-Jul-2011 Kenny Root <kroot@google.com> resolved conflicts for merge of 5cc2e94f to master

Change-Id: I7707603ae64fa3e4371fab2e81aab7ec37e69d33
5cc2e94fa80d29e6b9b9e6210669af69832d3e45 15-Jul-2011 Kenny Root <kroot@google.com> am cb255e51: am 8985d033: am 88dcfccb: Merge "Add bash completion to envsetup"

* commit 'cb255e514093eaa839b1ac2487bdc2ec60797415':
Add bash completion to envsetup
8985d0337814219235a9698c99cf318682367560 15-Jul-2011 Kenny Root <kroot@google.com> am 88dcfccb: Merge "Add bash completion to envsetup"

* commit '88dcfccb5b064735177e1a87f578d6c734b47bc7':
Add bash completion to envsetup
52aa81cab97d2480d9d32c2d2c58956c088d63e2 15-Jul-2011 Kenny Root <kroot@google.com> Add bash completion to envsetup

Change-Id: I0b4d74e72deede42d7e5f229593d79417f16bb55
/build/make/envsetup.sh
e33ba4c49ed461d608c65eb4e09d31ca81d167ff 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Ie814f4c8d3aa1e7cc7f5735822ab25542f36cf62
/build/make/envsetup.sh
752ad06eeccdd1bc932d7d29276fbdaf736b7bba 04-Jul-2011 Ji-Hwan Lee <jihwan@google.com> Prevent "::" in PATH on multiple lunch

Running lunch multiple times results in inserting "::" each time.
"::" is an empty path element, which is treated as a current directory.

Change-Id: I770f4c1f40224ea91fd7989b0ea47d3cd081c24f
/build/make/envsetup.sh
ecb957705cc62e9f9079ee86e86796fc82d0a7e3 23-Jun-2011 Raphael <raphael@google.com> resolved conflicts for merge of 732936d9 to master

Change-Id: I1fc667057aebbbef19bde746ebcc650ac0e8c35c
8b40cbfe29d4f953be49100412bab4db3cbb384c 23-Jun-2011 Raphael Moll <ralf@android.com> am de50d0ab: am d6605405: am 7f5a314a: am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."

* commit 'de50d0ab2008cbf836dc4fcbe9131a2071265946':
Envsetup: Cygwin doesn't have 'ps -o command'.
732936d99a411e99c9a318506c778f8e8b23a17a 22-Jun-2011 Raphael <raphael@google.com> resolved conflicts for merge of 8508a073 to honeycomb-plus-aosp

Change-Id: I376928881adb0e9fd62fabc1e21542bf0d700ca2
de50d0ab2008cbf836dc4fcbe9131a2071265946 22-Jun-2011 Raphael Moll <ralf@android.com> am d6605405: am 7f5a314a: am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."

* commit 'd66054056311a369a090cd1aae2557454fdc7ecc':
Envsetup: Cygwin doesn't have 'ps -o command'.
8508a073523f02837c767d6c3d62ca8f623b1f40 22-Jun-2011 Raphael Moll <ralf@android.com> am 6e65ddb2: am cb84196f: Merge "Lunch: don\'t use a toolchain that doesn\'t exist."

* commit '6e65ddb20aa82522b3fdc72c87d365f22e9a43ed':
Lunch: don't use a toolchain that doesn't exist.
d66054056311a369a090cd1aae2557454fdc7ecc 22-Jun-2011 Raphael Moll <ralf@android.com> am 7f5a314a: am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."

* commit '7f5a314ab6dacb72eb37c87e064b21dbd44ccc7b':
Envsetup: Cygwin doesn't have 'ps -o command'.
5ee8418985151c81bdcac7ee9bf1370469719d31 22-Jun-2011 Brett Chabot <brettchabot@android.com> Revert mistakenly committed debug statement.

Change-Id: Iee6369002ba984821c889c7c0a92db061dc21355
/build/make/envsetup.sh
c639c787a0932b230be0d991941ce26c0faea81b 21-Jun-2011 Raphael Moll <ralf@android.com> Lunch: don't use a toolchain that doesn't exist.

"lunch sdk-eng" on cygwin tries to use a gcc.exe from the
prebuild arm toolchain, but it doesn't exist. This prevents
from setting variables to point on a gcc toolchain if there
is none for the given arch.

Change-Id: I3b72220663687f9fdaacc050899aef00632f2c3c
/build/make/envsetup.sh
70a86b0fb79d0d9c79fb34181ceb9268ea4685dd 21-Jun-2011 Raphael Moll <ralf@android.com> Envsetup: Cygwin doesn't have 'ps -o command'.

Running build/envsetup.sh on cygwin always shows a
warning since there is no 'ps -o command' option.
Bash already sets SHELL=/bin/bash so we can rely on that if present.

Change-Id: I145b42508985735ba61d2b53b216ecc56e321943
/build/make/envsetup.sh
a04dd5eef58edb619dd06f9e9fe98ceee420ded0 18-Jun-2011 Brett Chabot <brettchabot@android.com> Add layoutlib-tests to sdk build.

Change-Id: I9087da4484b23f8eb0602210006038a395047a79
/build/make/envsetup.sh
cedbd2f587f894647ab5bf3bdd200ee78c673881 16-Jun-2011 Ed Heyl <ed@google.com> am eb27aa01: Merge "add ANDROID_HOST_OUT to env (please do not merge)" into gingerbread

* commit 'eb27aa01c87ed774cf5d71ce1c92d87575a08ad7':
add ANDROID_HOST_OUT to env (please do not merge)
d23d0f076465a2aaf86989de01cdcc686842499a 07-Jun-2011 Ed Heyl <ed@google.com> am ec664803: am c811f291: add ANDROID_HOST_OUT to env (please do not merge)

* commit 'ec6648036ef9e0d4fe25a4d4abbd79279d2ee9d0':
add ANDROID_HOST_OUT to env (please do not merge)
4f2297debb3c2b7f28610d7e20bdad808d11ff08 07-Jun-2011 Ed Heyl <ed@google.com> add ANDROID_HOST_OUT to env (please do not merge)

Change-Id: Iddc61e1f93e13a3884b919638da1c24271dd6ca5
/build/make/envsetup.sh
c811f29198fc4862e22dbf233bc28210d14e0205 07-Jun-2011 Ed Heyl <ed@google.com> add ANDROID_HOST_OUT to env (please do not merge)

Change-Id: I97e49fcb2610344df1907ec17116ee6e8a586e38
/build/make/envsetup.sh
9fbea0ec1ad6feb77d400f78f3bed91a8bb1ca6b 12-May-2011 Jean-Baptiste Queru <jbq@google.com> am bdb72318: am 5372220a: Merge "Remove simulator from the lunch menu"

* commit 'bdb72318e47d38df2180bd00d0fd0a97bdc82255':
Remove simulator from the lunch menu
bdb72318e47d38df2180bd00d0fd0a97bdc82255 12-May-2011 Jean-Baptiste Queru <jbq@google.com> am 5372220a: Merge "Remove simulator from the lunch menu"

* commit '5372220a1a12a715ca1242dcc3f4b11b89a8387a':
Remove simulator from the lunch menu
b27cd8f8028c975d65ea4d1349c9c38682680831 11-May-2011 Jean-Baptiste Queru <jbq@google.com> Remove simulator from the lunch menu

Change-Id: I0d73b4722ce5126b64538ca7add2e55cd561c022
/build/make/envsetup.sh
e9d04bf88bba9cf0ba274e2c613cdb00ccfae001 30-Apr-2011 Grace Kloba <klobag@google.com> Enable gdbclient to accept both name and pid of the process

Change-Id: I10234ddb2e52de302818e1b5b27a8f35651c4395
/build/make/envsetup.sh
2903498319b6483078c694cd06c701537a65988c 22-Apr-2011 Doug Zongker <dougz@android.com> don't use bashism just to remove trailing ':'

Change-Id: I9f86baa65406ac547cee70a273eb730ca47df66b
/build/make/envsetup.sh
f6cb2d3ec9b44a3828078a478a2ce3ef13f19a17 15-Apr-2011 Kristian Monsen <kristianm@google.com> Also remove the trailing : if it is present

Change-Id: Icdbc197803d0f759a4656a2bc2182216d14997b3
/build/make/envsetup.sh
0c26d3426988d55e0a9471fab3a3fd9d922dd2b5 07-Apr-2011 Mike Dodd <mdodd@google.com> Fix typo that broke cgrep.

Change-Id: Ic87f4bff1ee52a201c197c5664ff2e91648b0b53
/build/make/envsetup.sh
8fd5cce41158cbca7be47268956804f528effaca 25-Mar-2011 Jeff Brown <jeffbrown@google.com> Remove OPROFILE_EVENTS_DIR, add ANDROID_HOST_OUT.

Change-Id: I81b82fa2b7c754a2901dff124a36fe3b7b5abfd0
/build/make/envsetup.sh
f0bcf429d97ea5a7a6076a2fcd7835c353710e90 16-Feb-2011 Chris Dearman <chris@mips.com> Fix argument handling in runhat() function

Change-Id: I22fa264a3db516dcbe0cc9109dc20d6c004d3418
Signed-off-by: Raghu Gandham <raghu@mips.com>
/build/make/envsetup.sh
f50e84bed912530f1c36f898b0c9ccc657bd7c47 15-Mar-2011 Joe Onorato <joeo@google.com> Make jgrep, mgrep, etc not recurse into .repo and .git directories.

Change-Id: I6683146311b09f58154601f4a4eec6d26fb90450
/build/make/envsetup.sh
6b11b58a4aa9287505644af40b8fc0fd682a99a9 05-Mar-2011 David Turner <digit@android.com> am dfa82c43: am faa68200: Merge "x86: Add in the VirtualBox emulator as a separate build target"

* commit 'dfa82c438f5557c5bae3b8f8ae2dc8444edc8036':
x86: Add in the VirtualBox emulator as a separate build target
ba366c4fb3b8629fbd9221836f9305efadee9b93 16-Feb-2011 Bruce Beare <brucex.j.beare@intel.com> x86: Add in the VirtualBox emulator as a separate build target

Change-Id: Icff81a757952b7652d171bc95773e177c4fd7772
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
/build/make/envsetup.sh
015edd2c1b4a4300ccccee4036ec2ca7e9ad798a 21-Jan-2011 Ying Wang <wangying@google.com> Add modifier goal incrementaljavac

With "incrementaljavac" on your make command line, you will recompile
only Java source files that have been changed since last build.
Nothing is changed if "incrementaljavac" is not among your make goals.

Change-Id: Iae591459827df81ac91e95292464db5e9828343a
/build/make/envsetup.sh
6c75cb3752d51adfd3c7b72672f5abacdc4cf2bd 22-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 0332f0ac: Truly default to the full config.
0332f0ac1ec69082d337e9990b964b883e5cf689 22-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Truly default to the full config.

It is much better than generic for emulator-based work.

Change-Id: I8b69b208bc4969d3f95c3467ca6737de8fd9460d
/build/make/envsetup.sh
b84049abc77322eac6326d7d55ee53d18e061c71 05-Oct-2010 Romain Guy <romainguy@google.com> Add functions to press home, back and menu keys.

Change-Id: I54a28eb75463d5b5f8c9e2f216983aac67be0fa7
/build/make/envsetup.sh
c43ac33bcc69a7cc2a9d4ef64598216851e308e1 29-Sep-2010 Brian Carlstrom <bdc@google.com> am 73143d9d: am ea83daa3: Merge "Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink" into gingerbread

Merge commit '73143d9dfcaca5416d46be2733bb370824b3acb2'

* commit '73143d9dfcaca5416d46be2733bb370824b3acb2':
Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink
73143d9dfcaca5416d46be2733bb370824b3acb2 29-Sep-2010 Brian Carlstrom <bdc@google.com> am ea83daa3: Merge "Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink" into gingerbread

Merge commit 'ea83daa389aea493294617232b5c34414861d701' into gingerbread-plus-aosp

* commit 'ea83daa389aea493294617232b5c34414861d701':
Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink
c634d2c19d097809a33cdd24ef888a9e0ce26df3 17-Sep-2010 Brian Carlstrom <bdc@google.com> Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink

Change-Id: I3dfc1aa6f10a52c2adc68259ce1cedec2ffd8f0e
/build/make/envsetup.sh
880f9e16412ce3a3de5e2cd38097f35de5044537 28-Sep-2010 Ying Wang <wangying@google.com> am 81fcba10: am 1fdbf261: Don\'t set DISABLE_DEXPREOPT in lunch.

Merge commit '81fcba102ea3953f525c1659914247747637ae7d'

* commit '81fcba102ea3953f525c1659914247747637ae7d':
Don't set DISABLE_DEXPREOPT in lunch.
81fcba102ea3953f525c1659914247747637ae7d 28-Sep-2010 Ying Wang <wangying@google.com> am 1fdbf261: Don\'t set DISABLE_DEXPREOPT in lunch.

Merge commit '1fdbf261a0d550baaed96f5461bb014754364c16' into gingerbread-plus-aosp

* commit '1fdbf261a0d550baaed96f5461bb014754364c16':
Don't set DISABLE_DEXPREOPT in lunch.
1fdbf261a0d550baaed96f5461bb014754364c16 28-Sep-2010 Ying Wang <wangying@google.com> Don't set DISABLE_DEXPREOPT in lunch.

Because in core/main.mk WITH_DEXPREOPT is set to true only if the build OS is linux.

Change-Id: I287ab61312667f6100371d07010bcab5cfcc7e17
/build/make/envsetup.sh
513d7a4021bb4380a089908216628553d29e12d6 02-Aug-2010 Jeff Davidson <jpd@google.com> Add tab completion for lunch.

Change-Id: I4ddfffe8fe4519665a5a66aa60990f900a9ba80a
/build/make/envsetup.sh
9d396e37ac695916671614ab89797652ed02538c 30-Jul-2010 Jing Yu <jingyu@google.com> Make arm-linux-androideabi toolchain the default for Android build.

androideabi target is already in upstream GCC. The arm-linux-
androideabi toolchain can be built directly from upstream GCC.
Switching from old special tailored arm-eabi toolchain to the new
arm-linux-androideabi toolchain make us closer to the opensource
community and friendly to all toolchain developers.

kernel still uses arm-eabi toolchain. So we add arm-eabi toolchain
path to PATH.

The arm-linux-androideabi-4.4.x toolchain is built with the same
source as the latest arm-eabi-4.4.3 toolchain except for the
target change patches.

Change-Id: I1e5f2fe2faeee08f913f37e0ba93e84d2654a8ff
/build/make/envsetup.sh
84a5ba03b469a28f3678eb58ecd9aada5b416493 22-Jul-2010 Ying Wang <wangying@google.com> am b96e8a8c: am d9dea715: am d5c217ac: Merge "add phony target "all_modules" and use it as make goal for "mm"/"mmm"" into froyo

Merge commit 'b96e8a8cc629c3e3a196263cc548bd55824e4ade'

* commit 'b96e8a8cc629c3e3a196263cc548bd55824e4ade':
add phony target "all_modules" and use it as make goal for "mm"/"mmm"
b96e8a8cc629c3e3a196263cc548bd55824e4ade 22-Jul-2010 Ying Wang <wangying@google.com> am d9dea715: am d5c217ac: Merge "add phony target "all_modules" and use it as make goal for "mm"/"mmm"" into froyo

Merge commit 'd9dea715e5841028b1a30aa3f357b05c9de3e8c7' into gingerbread-plus-aosp

* commit 'd9dea715e5841028b1a30aa3f357b05c9de3e8c7':
add phony target "all_modules" and use it as make goal for "mm"/"mmm"
d9dea715e5841028b1a30aa3f357b05c9de3e8c7 22-Jul-2010 Ying Wang <wangying@google.com> am d5c217ac: Merge "add phony target "all_modules" and use it as make goal for "mm"/"mmm"" into froyo

Merge commit 'd5c217aca18726f0ed9f2ea034f750620d4bdf7d' into gingerbread

* commit 'd5c217aca18726f0ed9f2ea034f750620d4bdf7d':
add phony target "all_modules" and use it as make goal for "mm"/"mmm"
0188414bc634798fa429be627cdb697daee68966 21-Jul-2010 Ying Wang <wangying@google.com> add phony target "all_modules" and use it as make goal for "mm"/"mmm"

So that mm/mmm don't depend on phony target "files", which brings in
unwanted files for apps-only build.
Also allow "dist" for mmm.
Bug: http://b/issue?id=2811503

Change-Id: I2c0794aebd1d171d8a0f44eb8cda67855704d6bd
/build/make/envsetup.sh
79960bbaf081c7bf936e9d3270bd822698d36b9d 16-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am fa2d8ace: merge from open-source master

Merge commit 'fa2d8ace56b8f7b150da3b86d00263a9266e9208'

* commit 'fa2d8ace56b8f7b150da3b86d00263a9266e9208':
Add full_x86 product.
fa2d8ace56b8f7b150da3b86d00263a9266e9208 16-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ib0c0f02bb8fc87c3221fd9d2387a46b579a8ce40
6c2df3e98b418be3828f6732f4b75818304ad960 15-Jul-2010 Jean-Baptiste Queru <jbq@google.com> Add full_x86 product.

By inheriting from full, this will be more self-maintaining, and
automatically gets a better-configured variant (e.g. it has locales,
a date format, etc...).

Change-Id: I67b6c2d9f9b7d20cb89154906c3f3d6a5391c838
/build/make/envsetup.sh
b628985c9b330e955833189b4bb4c998fe18527d 12-Jul-2010 Andy McFadden <fadden@android.com> Update runhat command to use "am dumpheap".

Instead of sending a kill -10 to write a file to /data/misc, we now use
"am dumpheap" to create a file on /sdcard.

Also,
- Removed mention of unused "output-file" argument.
- Quoted args in initial tests so bash doesn't go nuts when you say
"runhat" with no arguments.

Bug 2835170.

Change-Id: I614fdb54a1d6b8824bc9b568c07cc0901c41a3d4
/build/make/envsetup.sh
f508e251ecbae62ce1bb79cb2951700422446fc4 13-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am f47b0a17: merge from open-source master

Merge commit 'f47b0a1758a66277d11f362e307f0dd6c183051d'

* commit 'f47b0a1758a66277d11f362e307f0dd6c183051d':
Add generic_x86-eng to the lunch menu
f47b0a1758a66277d11f362e307f0dd6c183051d 12-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I9363020bdd32d8ff984a3945a2aab6245cf7a3c4
f3a98c0b2b02d034318af7d4b05164fff8ad0bed 12-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 93c63d57: merge from open-source master

Merge commit '93c63d5740cde483217fbbd2ee3c6b7223b3721f'

* commit '93c63d5740cde483217fbbd2ee3c6b7223b3721f':
Vendorsetup needs to look in additional places.
93c63d5740cde483217fbbd2ee3c6b7223b3721f 12-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I412376856ebbcec786181c7a9d3b4af4ef52c7a6
6f9318e0353a4ba7544d0b1b3c453d7859f576d7 12-Jul-2010 Bruce Beare <brucex.j.beare@intel.com> Add generic_x86-eng to the lunch menu

Change-Id: Ie4e0f9054c5bc6ad8845b5b885a00174dd8c9534
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
/build/make/envsetup.sh
6f8410b97670283d9b5e346ba9ea3a3054158026 24-Jun-2010 Bruce Beare <brucex.j.beare@intel.com> Vendorsetup needs to look in additional places.

Change-Id: I698856f8e02487322540e804c038bba28cc23532
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
/build/make/envsetup.sh
380d76104d1e4fb4fb8ceece1fc096b2eab2bcd3 09-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 47bc4e34: merge from open-source master

Merge commit '47bc4e3407326bc58bb171660af5ced4edb93608'

* commit '47bc4e3407326bc58bb171660af5ced4edb93608':
Explicitly indicates that only bash is supported.
47bc4e3407326bc58bb171660af5ced4edb93608 09-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia02a590164d87ae98c714ac7d408ff7f241ae1fa
074537668ea8e9a8efb71cb2bc97adfbc4f10d09 05-Jul-2010 Kan-Ru Chen <kanru@0xlab.org> Explicitly indicates that only bash is supported.

Remove all zsh compatibility code and related comments.

Display a warning when other shell is used, to prevent the illusion
that building under Zsh is supported when it's not.

Change-Id: Ie6d43ace3a30bde99aad45b00d25007ac28d5155
/build/make/envsetup.sh
cb8eedc5c420121457d6d5d657097f41ad88a0d6 02-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 6069db77: merge from open-source master

Merge commit '6069db77bbd93bdf2a4635a8a7d2ccfb90f0fa75'

* commit '6069db77bbd93bdf2a4635a8a7d2ccfb90f0fa75':
Add full-eng instead of generic-eng in the lunch menu
6069db77bbd93bdf2a4635a8a7d2ccfb90f0fa75 02-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I8ff445963424ee9520f5de46f6ca8d2c3313c819
45038e062dc20c4684b293875841b9e638d2df5c 01-Jul-2010 Jean-Baptiste Queru <jbq@google.com> Add full-eng instead of generic-eng in the lunch menu

Change-Id: I3f779087021ef3674ee9ceb8cc3b15f83a98b8f4
/build/make/envsetup.sh
77dfeaed2ac068770cd29b314e7697afd7c1741c 22-Jun-2010 Jeff Hamilton <jham@android.com> Switch the required host Java environment to 1.6.

The path to the Java toolchain is now explicitly
specified so no manual configuration should be
required.

Change-Id: I84abc122c557372e77e4579e9a9efe56af2b412c

The java version changed, and we made envsetup automatically find the right JAVA_HOME.

This change forces everyone to re-source envsetup.sh

Change-Id: Ieb9512d5725cca26a83debf9b0480bc20e19d5ee

Fix javadoc for Java 6.

If you don't set bootclasspath, there would be errors like:
javadoc: error - In doclet class DroidDoc, method start has thrown an exception java.lang.reflect.InvocationTargetException

Change-Id: I1b83360cb595d50577c6043d6e91b0f92e4c04d6

Avoid inheriting PRIVATE_BOOTCLASSPATH from moduels that depend on api-stubs-timestamp

The inherited value has caused build breakage on Mac build.

Change-Id: I8a1b1d6c6d411f6aaaee2d8dbd0297e3d60ab5c2

Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.

Don't check STAY_OFF_MY_LAWN in set_java_home. That function already
refuses to update JAVA_HOME if it's set to something, which should
be sufficient for anybody who doesn't want the script to mess with it.

With this change, you can get the benefits of the 1.5/1.6 auto-selection
without having to suffer through window title changes.

Change-Id: I5cfc5d6fdf26a10b42b52925f877012c0506b9a5
/build/make/envsetup.sh
6ae5c1b512d2d5e8e7abcbb7a3548511a933e522 25-Jun-2010 Ying Wang <wangying@google.com> am b2fe30f0: am c955834a: am c048c9b5: default empty tapas to TARGET_BUILD_APPS "all"

Merge commit 'b2fe30f05ee9f4ca27a0039a44e3fb3a64c0fc88'

* commit 'b2fe30f05ee9f4ca27a0039a44e3fb3a64c0fc88':
default empty tapas to TARGET_BUILD_APPS "all"
c955834ad0715343a2245142be416f92b83e8306 25-Jun-2010 Ying Wang <wangying@google.com> am c048c9b5: default empty tapas to TARGET_BUILD_APPS "all"

Merge commit 'c048c9b598b36dc7506a954cc0d3d80f308b1b13' into gingerbread

* commit 'c048c9b598b36dc7506a954cc0d3d80f308b1b13':
default empty tapas to TARGET_BUILD_APPS "all"
c048c9b598b36dc7506a954cc0d3d80f308b1b13 25-Jun-2010 Ying Wang <wangying@google.com> default empty tapas to TARGET_BUILD_APPS "all"

So that "tapas" without argument won't end in makefile-could-not-load error in unbundled branch.
Also, the magic "all" apps will build only apps, not other things.

Change-Id: Iac6dd928ee4e42996147acdab31930cd4ffa1768
/build/make/envsetup.sh
d3e1d0e96084667ba56a5f5aa3bc8f5e4c01e7e5 24-Jun-2010 Andy McFadden <fadden@android.com> am 8969167d: am bd960940: Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.

Merge commit '8969167db684ebdbfe72dd57aea7f7bdd5de8064'

* commit '8969167db684ebdbfe72dd57aea7f7bdd5de8064':
Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.
bd960940e1299d69a6cdf4176cfd1f53a5dba83a 24-Jun-2010 Andy McFadden <fadden@android.com> Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.

Don't check STAY_OFF_MY_LAWN in set_java_home. That function already
refuses to update JAVA_HOME if it's set to something, which should
be sufficient for anybody who doesn't want the script to mess with it.

With this change, you can get the benefits of the 1.5/1.6 auto-selection
without having to suffer through window title changes.

Change-Id: I5cfc5d6fdf26a10b42b52925f877012c0506b9a5
/build/make/envsetup.sh
74ba0c834fd203264c5968bfa8267b1888e1e562 24-Jun-2010 Joe Onorato <joeo@android.com> am 1884d99a: am aee4daac: The java version changed, and we made envsetup automatically find the right JAVA_HOME.

Merge commit '1884d99a7ab74dd53d9134d6200bb0aff3867f8c'

* commit '1884d99a7ab74dd53d9134d6200bb0aff3867f8c':
The java version changed, and we made envsetup automatically find the right JAVA_HOME.
aee4daacc804bbcd1df551cc2229d12fa5c35c24 23-Jun-2010 Joe Onorato <joeo@android.com> The java version changed, and we made envsetup automatically find the right JAVA_HOME.

This change forces everyone to re-source envsetup.sh

Change-Id: Ieb9512d5725cca26a83debf9b0480bc20e19d5ee
/build/make/envsetup.sh
ba3897fdf17452498607d53a6159f91b11381eb3 23-Jun-2010 Jeff Hamilton <jham@android.com> am 66d41149: am 4a1c70e5: Switch the required host Java environment to 1.6.

Merge commit '66d41149d94fc7153467f9e1b0af55518ba86565'

* commit '66d41149d94fc7153467f9e1b0af55518ba86565':
Switch the required host Java environment to 1.6.
4a1c70e53be40fd1b2c14eb7c0acc93f6df865bc 22-Jun-2010 Jeff Hamilton <jham@android.com> Switch the required host Java environment to 1.6.

The path to the Java toolchain is now explicitly
specified so no manual configuration should be
required.

Change-Id: I84abc122c557372e77e4579e9a9efe56af2b412c
/build/make/envsetup.sh
96c286daf1e1434dbf04502c91c793a999ec36cd 17-Jun-2010 Jing Yu <jingyu@google.com> am eed926c8: am ada132a8: Switch toolchain from gcc-4.4.0 to gcc-4.4.3

Merge commit 'eed926c889382073c74de43a0d15e37462623cf3'

* commit 'eed926c889382073c74de43a0d15e37462623cf3':
Switch toolchain from gcc-4.4.0 to gcc-4.4.3
ada132a80ba7edde00ac71727a205d55578e3f47 17-Jun-2010 Jing Yu <jingyu@google.com> Switch toolchain from gcc-4.4.0 to gcc-4.4.3

gcc-4.4.3 toolchain is based on fsf GCC-4.4.3 with numerous patches.
It reduces 3.65% code size than the prebuilt gcc-4.4.0 toolchain,
and improves 3.4% performance on Android benchmarks.

The toolchain uses gold as default linker. With gold, the toolchain
further reduces 1MB system image.

Change-Id: I55eb4df185f2932e71498fcc28428e4d1b175393
/build/make/envsetup.sh
f9cd36a0f71c78e20f5ff24f9dd48af17d741cb6 16-Jun-2010 Ying Wang <wangying@google.com> resolved conflicts for merge of 56791ebe to master

Change-Id: I7463636796f1262fd92af839102dc58d562259f7
b55b07fef7c5bff8d9f3403698f18195889737ba 12-Jun-2010 Ed Heyl <edheyl@google.com> am e46a061d: am d7e7e482: am d83f3396: Revert "Merge "Switch the required host Java environment to 1.6." into kraken"

Merge commit 'e46a061d08f9667783d39a60106003497c2ad41e'

* commit 'e46a061d08f9667783d39a60106003497c2ad41e':
Revert "Merge "Switch the required host Java environment to 1.6." into kraken"
d83f33969aa2734000338e01b84957996ef1bb34 12-Jun-2010 Ed Heyl <edheyl@google.com> Revert "Merge "Switch the required host Java environment to 1.6." into kraken"

This reverts commit 1f29d2c376295cb7ba909ae2beb4904099546e89, reversing
changes made to f9f513ab3386e0ab61cb072170b4b65f0d124732.
/build/make/envsetup.sh
19b9aa3cd15ba8bd1981945ba91088c07d7648f3 11-Jun-2010 Sriram Raman <sriramkraman@google.com> am ec1c20a7: am 6ad4e499: am 1f29d2c3: Merge "Switch the required host Java environment to 1.6." into kraken

Merge commit 'ec1c20a7077a0afb476f8ca2b290e7a01c002b1d'

* commit 'ec1c20a7077a0afb476f8ca2b290e7a01c002b1d':
Switch the required host Java environment to 1.6.
da12daf15f2e6aef7e94f340d23bc435ddc025f4 10-Jun-2010 Joe Onorato <joeo@android.com> Add a tapas command.

(Actually there was a tapas command that just called choosecombo).

The new better tapas command is for building unbundled apps. Run
it with one or more modules to build and optionally a build variant.

tapas [variant] App1 App2 ...

If you don't supply a build variant, it defaults to eng.

Change-Id: I02214abd0b5ad02e364fcb024e10cf6ad17a9e68
/build/make/envsetup.sh
d41c06539c2c8f39d4f434efb1f69a31773a2566 09-Jun-2010 Jeff Hamilton <jham@android.com> Switch the required host Java environment to 1.6.

Change-Id: Ic289e35a747b6f462816aca159acba6d400829c9
/build/make/envsetup.sh
a4db49fc576f717abe6da472cdf037ca209eaa20 08-Jun-2010 Jeff Hamilton <jham@android.com> am a207ba0d: am 02fc6267: am 04be0d86: Set JAVA_HOME to point to java 1.5.
04be0d869acce82293b6c668f52bddf14c106908 07-Jun-2010 Jeff Hamilton <jham@android.com> Set JAVA_HOME to point to java 1.5.

Change-Id: I1304b78b17cd13a2231c59385a94e0430a8198ff
/build/make/envsetup.sh
177285a31ee38930992478583e53dc3f1e935302 06-Apr-2010 Brian Carlstrom <bdc@google.com> Fix get_abs_build_var to work from below $ANDROID_BUILD_TOP

I tried running gdbclient from a subdirectory of $ANDROID_BUILD_TOP
and found that the absolute paths generated by get_abs_build_var
included my subdirectory's path. This fixed get_abs_build_var to
changing directory in a subshell to $ANDROID_BUILD_TOP before invoking
make.

Change-Id: I12b9d9135ac7c044c21c88ed5705b22b0700c039
/build/make/envsetup.sh
748e638c3d00cec7c162075cf9ca6eec2735ecb2 22-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Source vendorsetup.sh from the device tree.

This way, individual open-source device configurations can
publish device-specific configurations without having
to maintain those centrally in envsetup.sh

Bug: 2533998
Change-Id: I1377846d4d3ebe7abcd2f8279a08abe54039cdbb
/build/make/envsetup.sh
8889bdf39cdd83ee06c5cfb353f1884bb00b5ed5 02-Mar-2010 Ficus Kirkpatrick <ficus@android.com> Make cgrep look for *.c, *.cc, *.cpp, *.h exclusively.

It was doing '*.c*' which both included .class files and omitted .h files.

Change-Id: Iedaac4f7ee86df86fdc38341c04ca565f34223b4
/build/make/envsetup.sh
8a20f580a8b34fd69cad718f415df5c4a87d7c66 18-Feb-2010 Gilles Debunne <debunne@google.com> Make mmm handle symbolic links.

Use the PWD= /bin/pwd trick used in getopt in mmm so that it can deal with a symlinked
root directory.

Change-Id: Ia8b5ef10cbd10ca05f2301db86f64fdf11ff2840
/build/make/envsetup.sh
259e5b7a942c58e88f0a312add009caac70a7863 30-Jan-2010 Brian Carlstrom <bdc@google.com> godir search should ignore .repo directory
/build/make/envsetup.sh
b9915a6a1866bd25fc574f826646b9a01a899e05 30-Jan-2010 Brian Carlstrom <bdc@google.com> godir should set "T=$(gettop)"
/build/make/envsetup.sh
d0b274d962ad65dd051bc00f1ae532dcb71679cb 25-Nov-2009 Dan Bornstein <danfuzz@android.com> Tweak gettop() -- used in defining ANDROID_BUILD_TOP -- to expand symlinks.

This makes runtest, in particular, happier, since it will now find that
its idea of the cwd actually matches with what's claimed in ANDROID_BUILD_TOP.

Change-Id: I485df382d9d314a73b410030bf2116215b6250f9
/build/make/envsetup.sh
744ee8025a238866de1648a0d7afe84b954e988a 13-Nov-2009 Christopher Tate <ctate@android.com> Add a host shell function to generate system_server stack traces

For debugging non-ANR weird states in the system server, it is incredibly handy
to be able to force a complete thread-stack dump of that process. Here's a
shell function that does so (creating the /data/anr/traces.txt file with the
usual permissions if it does not yet exist).

Depends on adb having been configured to run as root.

Change-Id: I01d9d733ef08ffefb00cb61968df36ecf62087f0
/build/make/envsetup.sh
3fb149d2cb8eaa48fe2602a85a329d6f3d56f510 22-Oct-2009 Brett Chabot <brettchabot@android.com> Remove 'cd top' step from envsetup runtest shortcut.

Instead, execute runtest as an absolute path. Ths is necessary to support
relative path based arguments in runtest. Bug 2133198
/build/make/envsetup.sh
2a5d4d81b2137a2262da8efe76ff70db99c9c2ce 30-Jul-2009 Joe Onorato <joeo@android.com> Add cproj function to envsetup.sh that finds an Android.mk and goes to its directory.
/build/make/envsetup.sh
3c794d71b9e3210c521965fe1c7df1d04ce4d7cd 16-Jul-2009 Robert Greenwalt <robdroid@android.com> Fix LOCAL_PATH in mm builds so that overlays work

LOCAL_PATH is a relative path from TOP when making a full build.
This change makes that true for mm builds too.
/build/make/envsetup.sh
9945bac30311cc5f7732a9c285dec32d497c47ca 03-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am bd1ee348: Merge change 6059 into donut

Merge commit 'bd1ee348a1891836cf3b5d0da72e75c0d256fa43'

* commit 'bd1ee348a1891836cf3b5d0da72e75c0d256fa43':
Also look in vendor/*/build for vendorsetup.sh
a8c14e8c33c5af8a388f40517dfb40d6305c6386 02-Jul-2009 Joe Onorato <joeo@android.com> Also look in vendor/*/build for vendorsetup.sh
/build/make/envsetup.sh
b845c2fe206263e8a3d3051c35ac82ee57c343c0 17-Jun-2009 Jing Yu <jingyu@google.com> Switch default toolchain to 4.4.0 in master.
/build/make/envsetup.sh
2990dc7d5e36232c9bed4e13d09b4c2a1986856d 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a3896fb: Merge change 1001 into donut

Merge commit 'a3896fbc15d32881d87e1ae8b7c6e2e7523008c7'

* commit 'a3896fbc15d32881d87e1ae8b7c6e2e7523008c7':
Change runtest env shortcut to point to runtest.py
3ec9f33d42376cbdc2297cb4b205b456311cf46a 05-May-2009 Brett Chabot <brettchabot@google.com> Change runtest env shortcut to point to runtest.py
/build/make/envsetup.sh
b395e611d40f00d4c750991bc1f0c884c0ce7245 30-Apr-2009 Joe Onorato <joeo@android.com> am 8849aed: Slim down chooseproduct (used by choosecombo).

Merge commit '8849aedde07373948b45a55703e7764de0a7199d'

* commit '8849aedde07373948b45a55703e7764de0a7199d':
Slim down chooseproduct (used by choosecombo).
8849aedde07373948b45a55703e7764de0a7199d 30-Apr-2009 Joe Onorato <joeo@android.com> Slim down chooseproduct (used by choosecombo).

People keep getting confused by the default products
in this list, which are almost never what they want,
because this list roughly corresponds to the DEVICES
and not the PRODUCTS.

Now that lunch works again, I'm not too worried about
choosecombo except for the couple of cases lunch can't
handle, like the simulator. Therefore, this change
just removes the list of suggested products, and you
have to know which one you're trying to build (which
seems like a resonable prerequisite).
/build/make/envsetup.sh
51e61829e7e7d181420732274d7ec63983824bed 13-Apr-2009 Joe Onorato <joeo@android.com> Make mmm stop if it can't find an Android.mk in a directory you give it.
/build/make/envsetup.sh
8f8b99c40aaac09841566fe89a27cd4dd13bfa7e 10-Apr-2009 Jack Veenstra <> AI 145709: Fixed tracedmdump() by correcting the KERNEL path.
Merged 145592 from master.
BUG=1630077

Automated import of CL 145709
/build/make/envsetup.sh
c6c4db56ebb98ec17fca383572a006f4fe2be48b 10-Apr-2009 Jack Veenstra <> Merge branch 'readonly-p4-master'
60116fc2cbcd32f63a20c3ab1dd2eaf664de0aa9 10-Apr-2009 Jack Veenstra <> AI 145592: Fixed the tracedmdump() bash function to use the correct path for the vmlinux-qemu file.
BUG=1630077

Automated import of CL 145592
/build/make/envsetup.sh
3c9e08a9ffc899e6082022328f8a28d5cb043401 01-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/readonly-p4-master'
03e1e28c199be8e2527aa618502d2b55b405b1ea 31-Mar-2009 Brett Chabot <> AI 143784: am: CL 143737 Fix kernel build: remove the '.' from runtest.py shortcut
Original author: brettchabot
Merged from: //branches/cupcake/...

Automated import of CL 143784
/build/make/envsetup.sh
d06a633f4a1f8020149b3a2d92ca097208e0e155 31-Mar-2009 Brett Chabot <> AI 143809: am: CL 143784 am: CL 143737 Fix kernel build: remove the '.' from runtest.py shortcut
Original author: brettchabot
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143809
/build/make/envsetup.sh
e253d822dd45ce09aaf8daa92a90e0c9b01c8c32 28-Mar-2009 Brett Chabot <> AI 143263: am: CL 143102 Add build environment shortcut to runtest.py.
This change does not affect device code.
Original author: brettchabot
Merged from: //branches/cupcake/...

Automated import of CL 143263
/build/make/envsetup.sh
b18e16d359518a13d436a1d2c314b8580e964612 28-Mar-2009 Brett Chabot <> AI 143392: am: CL 143263 am: CL 143102 Add build environment shortcut to runtest.py.
This change does not affect device code.
Original author: brettchabot
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143392
/build/make/envsetup.sh
d5811454595360f57d6bb005c7fe5bedec1aa87e 28-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/cupcake'
762748cfea8725793b609a46e89a465534dc94d0 27-Mar-2009 Brett Chabot <> AI 143102: Add build environment shortcut to runtest.py.
This change does not affect device code.
BUG=1741172

Automated import of CL 143102
/build/make/envsetup.sh
ccf4b83b029e9463b3d5c6605d1c202aa0283f22 19-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into cupcake_to_master

Conflicts:
core/prelink-linux-arm.map
88b607994a148f4af5bffee163e39ce8296750c6 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/envsetup.sh
05806d7af62e07c6225b2e7103a1b115ecf6c9ad 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/envsetup.sh
5ef878ac38bd1592d1e4e32d9843c37f8f277a9a 27-Feb-2009 Benno Leslie <ben.leslie@gmail.com> Updated the sgrep tool so that is will treat Makefiles (.mk)
and shell scripts (.sh) as 'source' files.
/build/make/envsetup.sh
475fa12adef8fc2b08290555a33dc8a9fef05be4 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/build/make/envsetup.sh
dcc08f073b6873c69ab891d4f69f7c568e282df7 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/build/make/envsetup.sh
b6c1cf6de79035f58b512f4400db458c8401379a 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/build/make/envsetup.sh