History log of /build/envsetup.sh
Revision Date Author Comments
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
6b9549fd73c10b54a754dbbf3bef5a1db0d30bc2 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Make runhat command work again.

Change-Id: Ia3d2aefd32579b61da72e65c78dc6053dbaaad28
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
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
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
324c2b20734cc07e8ae74c28a5c86fbe64595739 18-Aug-2012 Ying Wang <wangying@google.com> Skip the top out directory in mgrep.

Change-Id: I0530b24179034f521dc2366588cdc906ef466750
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>
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>
e79fbc3bcceba381383e0bc0acbbe3df49d5682a 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: I2bb91205ed31fda0cb88d8e584bbae63044962a5
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>
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
a50ef1c12441d9eccfa75409c1392befaf2abed5 21-Apr-2012 Jean-Baptiste Queru <jbq@google.com> Switch to new locations of toolchains

Change-Id: I15a8be11b3d0f1985ffd97dd51a1af18e1ce7b67
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
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>
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
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
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>
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.
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
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
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
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
293f9392ba39115a9429b5c8f98a5ca4054b3e21 19-Nov-2011 Jeff Hamilton <jham@android.com> Bypass alias for grep in the tapas command.

Change-Id: I82705535bda927ddc7e9aebb9610d712b68a50d2
0ab21d3ed34edbeb8631002db47a6a309581d9a4 11-Nov-2011 Nick Kralevich <nnk@google.com> make gdbclient work on x86

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

Change-Id: I53c18f2e84cd0a5c6529da1acc5f2c8d0ad0ef2e
7546d613af0aaa50ced28b4ff9b306df5708dc03 18-Jul-2011 Kenny Root <kroot@google.com> Avoid complaining about empty directories

Change-Id: If46bffd1c4e6b94f2e476b2d7d506ef337bbf8e1
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
52aa81cab97d2480d9d32c2d2c58956c088d63e2 15-Jul-2011 Kenny Root <kroot@google.com> Add bash completion to envsetup

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

Change-Id: Ie814f4c8d3aa1e7cc7f5735822ab25542f36cf62
5e2feda77374f00d3fa3a20d02b5448c51f2c05e 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...).

Orig-Change-Id: I67b6c2d9f9b7d20cb89154906c3f3d6a5391c838
8a545e04ee862f88284ea122c3ddc402419cb689 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.

Orig-Change-Id: I8b69b208bc4969d3f95c3467ca6737de8fd9460d
379e127fe4744b0e8ca881a278fd84535cfec1fd 31-May-2011 Bruce Beare <bruce.j.beare@intel.com> Add generic_x86-eng to the lunch menu

Orig-Change-Id: Ie4e0f9054c5bc6ad8845b5b885a00174dd8c9534
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
93b4c25f00083dc936d6200b814000299513a9a6 31-May-2011 Bruce Beare <bruce.j.beare@intel.com> Vendorsetup needs to look in additional places.

Orig-Change-Id: I698856f8e02487322540e804c038bba28cc23532
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
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
5ee8418985151c81bdcac7ee9bf1370469719d31 22-Jun-2011 Brett Chabot <brettchabot@android.com> Revert mistakenly committed debug statement.

Change-Id: Iee6369002ba984821c889c7c0a92db061dc21355
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
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
a04dd5eef58edb619dd06f9e9fe98ceee420ded0 18-Jun-2011 Brett Chabot <brettchabot@android.com> Add layoutlib-tests to sdk build.

Change-Id: I9087da4484b23f8eb0602210006038a395047a79
4f2297debb3c2b7f28610d7e20bdad808d11ff08 07-Jun-2011 Ed Heyl <ed@google.com> add ANDROID_HOST_OUT to env (please do not merge)

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

Change-Id: I97e49fcb2610344df1907ec17116ee6e8a586e38
b27cd8f8028c975d65ea4d1349c9c38682680831 11-May-2011 Jean-Baptiste Queru <jbq@google.com> Remove simulator from the lunch menu

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

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

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

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

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

Change-Id: I81b82fa2b7c754a2901dff124a36fe3b7b5abfd0
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>
f50e84bed912530f1c36f898b0c9ccc657bd7c47 15-Mar-2011 Joe Onorato <joeo@google.com> Make jgrep, mgrep, etc not recurse into .repo and .git directories.

Change-Id: I6683146311b09f58154601f4a4eec6d26fb90450
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>
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
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
b84049abc77322eac6326d7d55ee53d18e061c71 05-Oct-2010 Romain Guy <romainguy@google.com> Add functions to press home, back and menu keys.

Change-Id: I54a28eb75463d5b5f8c9e2f216983aac67be0fa7
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
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
513d7a4021bb4380a089908216628553d29e12d6 02-Aug-2010 Jeff Davidson <jpd@google.com> Add tab completion for lunch.

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

Change-Id: I3f779087021ef3674ee9ceb8cc3b15f83a98b8f4
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
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
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
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
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
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
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.
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
d41c06539c2c8f39d4f434efb1f69a31773a2566 09-Jun-2010 Jeff Hamilton <jham@android.com> Switch the required host Java environment to 1.6.

Change-Id: Ic289e35a747b6f462816aca159acba6d400829c9
04be0d869acce82293b6c668f52bddf14c106908 07-Jun-2010 Jeff Hamilton <jham@android.com> Set JAVA_HOME to point to java 1.5.

Change-Id: I1304b78b17cd13a2231c59385a94e0430a8198ff
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
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
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
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
259e5b7a942c58e88f0a312add009caac70a7863 30-Jan-2010 Brian Carlstrom <bdc@google.com> godir search should ignore .repo directory
b9915a6a1866bd25fc574f826646b9a01a899e05 30-Jan-2010 Brian Carlstrom <bdc@google.com> godir should set "T=$(gettop)"
7ba6359d3f09a0b2760265f0b41e8a2208251347 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
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
e6b4e5b20ac8a3b01f1a99dd877a98c92036ce5e 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
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
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
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.
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.
a8c14e8c33c5af8a388f40517dfb40d6305c6386 02-Jul-2009 Joe Onorato <joeo@android.com> Also look in vendor/*/build for vendorsetup.sh
b845c2fe206263e8a3d3051c35ac82ee57c343c0 17-Jun-2009 Jing Yu <jingyu@google.com> Switch default toolchain to 4.4.0 in master.
3ec9f33d42376cbdc2297cb4b205b456311cf46a 05-May-2009 Brett Chabot <brettchabot@google.com> Change runtest env shortcut to point to runtest.py
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).
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.
4b2d1d5848d7565819818aa2b9694973bcf88e7f 10-Apr-2009 Jack Veenstra <> AI 145720: Fixed tracedmdump() by correcting the KERNEL path.
Merged 145709 from donut.
BUG=1630077

Automated import of CL 145720
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
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
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
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
494efcb8fabcd316172540a30964106c7b4914c7 31-Mar-2009 Brett Chabot <> AI 143737: Fix kernel build: remove the '.' from runtest.py shortcut

Automated import of CL 143737
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
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
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
88b607994a148f4af5bffee163e39ce8296750c6 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
05806d7af62e07c6225b2e7103a1b115ecf6c9ad 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
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.
475fa12adef8fc2b08290555a33dc8a9fef05be4 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
dcc08f073b6873c69ab891d4f69f7c568e282df7 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
b6c1cf6de79035f58b512f4400db458c8401379a 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution