Commit Graph

2218 Commits

Author SHA1 Message Date
Doug Zongker 1d89773c1d fix makefile inheritance system
The variable inheritance system can leave extra spaces in a variable
when multiple levels of inheritance are used.  It can expand:

  "@inherit:foo @inherit:bar @inherit:baz"

     to

  "value @inherit:bar @inherit:baz"

     and then

  "value  @inherit:baz"   (if bar has no value for the variable)

     and then

  "value "  (if baz also has no value).

Call strip to remove excess spaces between words after each
replacement pass.

Change-Id: Ic4cfc6fed1865066a6353a522e4bdcb68ec875d3
2010-02-18 12:23:35 -08:00
Chia-chi Yeh 84c253286f Merge "Remove dead shared objects from prelink map." 2010-02-17 20:44:53 -08:00
Chia-chi Yeh 74a7e06800 Remove dead shared objects from prelink map. 2010-02-18 12:11:10 +08:00
Gilles Debunne 8a20f580a8 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
2010-02-17 15:56:45 -08:00
Fred Quintana 5dc8a65917 remove obsolete property ro.config.sync 2010-02-17 13:35:19 -08:00
Doug Zongker 7431dac607 allow java eventlogtags to be generated for packages that aren't included
If there are packages that specify logtags being built that aren't
included in the product, their logtags won't be included in the merged
file.  Assign an arbitrary tag number to them so they can be built
anyway.

Change-Id: I4929016bf289b7a814b48bc51f324c09f500fab1
2010-02-17 09:07:55 -08:00
Doug Zongker 7e2f13b43a build the event-log-tags file for the simulator
Change-Id: Idfbc8257e5e3651fe92649d59305f0e24ba60c91
2010-02-16 16:01:43 -08:00
Raphael Moll d2827a1d6a Merge "Allow sdk/builders to be built using Windows SDK." 2010-02-16 15:20:25 -08:00
Raphael 719a123a58 Allow sdk/builders to be built using Windows SDK.
Change-Id: Ic3c8bc2bace166442bf780b625e5d528fea4df9f
2010-02-16 15:16:00 -08:00
Doug Zongker abfbbe2e1d allow EventLog tag numbers to be auto-assigned
With this change, you can specify "?" in place of a tag number in a
.logtags file and the build system will assign numbers to these tags.
(The numbers used shouldn't matter since we translate them back to tag
names whenever the logs are read back.)

This is pretty straightforward to do:

- make merge-event-log-tags.py assign numbers to any tags that specify
  "?"

- make the generated java files depend on the merged output

- make java-event-log-tags.py read both the original .logtags and the
  merged output, and fill in tag numbers for any "?" using the merged
  version.

Change-Id: Icc6ccd705db461d570fc929922a830aa6deaca48
2010-02-16 14:32:08 -08:00
Dan Egnor 4f71b8f449 cleanstep due to removal of classes & packages associated
with the old bundled GoogleCheckin.apk
2010-02-13 12:39:55 -08:00
Jeff Hamilton 8b716c09c4 Cleanspec for my earlier change.
Change-Id: I2259095772768ecfcbf38c65df90cb72c3425e7f
2010-02-12 22:39:34 -06:00
Dima Zavin 1181898e54 core: pass nand page size to mkyaffs2image based on BOARD_NAND_PAGE_SIZE boardconfig var
Change-Id: I6feefba15eb1562161e38df03223cb2fba4eb7ee
Signed-off-by: Dima Zavin <dima@android.com>
2010-02-12 15:31:36 -08:00
Doug Zongker 42265390d9 change incremental OTA file install order
(Cherry-pick from donut.)

Delete the old recovery-from-boot patch before patching system files,
then install the new one at the end of the process.  Also fix an issue
with applypatch returning the wrong status.

Change-Id: I614fce39f307eded696ba792912b863f9fb0580b
2010-02-12 12:20:49 -08:00
Ying Wang e3265fb743 Makefile change for build against historical sdk versions.
If LOCAL_SDK_VERSION is current, link against the stub, otherwise
link against prebuilt historical sdk
2010-02-11 14:23:23 -08:00
Ying Wang 3b2bdf1033 Fix and enable proguard on packages. 2010-02-11 13:41:10 -08:00
Mathias Agopian 769835e0d9 add libsurfaceflinger_client and libcamera_client to the prelinkmap 2010-02-11 13:07:20 -08:00
Dan Egnor 988ea9fa2d Add a cleanstep to remove the obsolete EnhancedGoogleSearchProvider.apk,
which otherwise remains stale in system/app and eventually causes problems.
2010-02-10 18:47:53 -08:00
Daniel Sandler e175f706a6 Merge "Enable DeskClock on all devices." 2010-02-09 13:13:16 -08:00
Daniel Sandler 230f4ac2a8 Enable DeskClock on all devices.
Alas, poor AlarmClock! I knew, him, Froyo: a fellow
	of infinite alarm, of most excellent punctuality: he hath
	warned me of a meeting a thousand times, and now, how
	abhorred in my build it is! My Droid rings at
	it. Here hung those beeps that I have snoozed I know
	not how oft. Where be your chimes now? Your
	roosters? Your songs? Your flashes of alert,
	that were wont to set the table on a buzz? Not one
	now, to post your own notification? Quite ongoing?
2010-02-09 15:55:45 -05:00
Patrick Scott 9825256577 Put private includes before system includes.
This change allows modules to insert different include paths before the system
include paths. STLPort uses this to find system include files that have the same
name.
2010-02-08 18:57:03 -05:00
Jeff Hamilton bb67d21337 Get LOCAL_MANIFEST_PACKAGE_NAME working.
Change-Id: Ieafbf2596252ee3a2fe5d1ad433e8863fbf84601
2010-02-05 23:57:34 -06:00
Brian Carlstrom f184a0f26d Add support for LOCAL_JAVACFLAGS
The Dalvik core libraries team would like to start making warnings
errors in certain packages by definition LOCAL_JAVACFLAGS. This will
allow easier debuging of warnings in other packages by supplying
"-Xlint:..."  options.
2010-02-05 15:57:07 -08:00
Scott Main f397ea2f81 Merge "revise script and styles for the expandable widget in the dev guide side nav to allow nested toggle lists. This is necessary for the new resources docs that have an expandable list nested in an expandable list." 2010-02-05 15:01:51 -08:00
Scott Main ee629d9c9d revise script and styles for the expandable widget in the dev
guide side nav to allow nested toggle lists. This is necessary
for the new resources docs that have an expandable list nested
in an expandable list.
2010-02-05 14:37:58 -08:00
The Android Open Source Project 24ce706d46 am f925cb32: am 97233468: reconcile main tree with open-source eclair
Merge commit 'f925cb322e693ce2e621dbad3fd1eb8579878710'

* commit 'f925cb322e693ce2e621dbad3fd1eb8579878710': (198 commits)
  android-2.1_r1 snapshot
  ERD79
  ERD78
  ERD77D
  ERD77C
  ERD77B
  ERD77
  ERD76
  ERD75
  ERD72
  ERD71F
  ERD71E
  ERD71D
  ERD71C
  ERD71B
  ERD71
  ERD70B
  ERD70
  ERD69
  ERD68B
  ...
2010-02-05 14:14:21 -08:00
Joe Onorato 899e62a841 Add an inherit-package macro to the build system.
This lets you use the source code from one apk to build a new one
with a new module name, a new android package name and optionally,
a new certificate.

To use this, in a makefile, add this:

$(call inherit-package, \
    packages/apps/Music/Android.mk, \
    Music, \
    MusicFork, \
    my_cert, \
    com.example.music)

You don't need the LOCAL_PATH and CLEAR_VARS stuff.  It will override
only the packages that are defined in the makefile name you give, but
if other modules of other types are defined, you will get an error
saying that it's defined twice.  In that case, you need to move the
duplicate library (for example a .so) out into a different makefile.

A LOCAL_OVERRIDES_PACKAGES entry is automatically created for the
forked app.
2010-02-05 10:16:57 -08:00
The Android Open Source Project f925cb322e am 97233468: reconcile main tree with open-source eclair
Merge commit '97233468715838e42b98abe047c60e108fcc44bd' into eclair-plus-aosp

* commit '97233468715838e42b98abe047c60e108fcc44bd': (198 commits)
  android-2.1_r1 snapshot
  ERD79
  ERD78
  ERD77D
  ERD77C
  ERD77B
  ERD77
  ERD76
  ERD75
  ERD72
  ERD71F
  ERD71E
  ERD71D
  ERD71C
  ERD71B
  ERD71
  ERD70B
  ERD70
  ERD69
  ERD68B
  ...
2010-02-05 08:43:41 -08:00
The Android Open Source Project 9723346871 reconcile main tree with open-source eclair 2010-02-05 08:09:32 -08:00
Jean-Baptiste Queru 29544b21fb Merge "Look for product configs in device/ in addition to vendor/" 2010-02-05 07:16:34 -08:00
Doug Zongker 14833605d2 add UnmountAll function to OTA script; support radio images w/path
Three unrelated changes:

- change the add-radio-file makefile function to support adding files
  with paths.  (The path part of the pathname is stripped off.)

- add an UnmountAll function to the OTA script generation code, so
  that we can explicitly unmount everything we've mounted (in addition
  to doing it automatically at the end of the script).

- add the updater API version to the info object passed to
  device-specific code.

Change-Id: Ia62b15403c1cc8fce8d9910f291450c8077e49f4
2010-02-03 09:21:22 -08:00
Bjorn Bringert cd5d82afa5 Merge "Add all-logtags-files-under macro" 2010-02-03 02:51:51 -08:00
Bjorn Bringert a89c990e31 Add all-logtags-files-under macro
Change-Id: Icb4c7e1bb2dfa4df71f07cb022c92e95a9115019
2010-02-02 20:44:13 +00:00
Brett Chabot d7edf7ebb7 Add clean step for AndroidTests.
Needed because AndroidTests.java has been removed.
2010-02-02 10:49:23 -08:00
Doug Zongker 30f1d2cf29 am 20d93db1: am cdb621bf: retry patch using cache if in-place write fails
Merge commit '20d93db18de9001dcb5af46e4d1d2bac10aa2eca'

* commit '20d93db18de9001dcb5af46e4d1d2bac10aa2eca':
  retry patch using cache if in-place write fails
2010-02-02 09:38:39 -08:00
Doug Zongker 20d93db18d am cdb621bf: retry patch using cache if in-place write fails
Merge commit 'cdb621bfea3083afbea238dbf374826742aca6d0' into eclair-plus-aosp

* commit 'cdb621bfea3083afbea238dbf374826742aca6d0':
  retry patch using cache if in-place write fails
2010-02-02 08:53:17 -08:00
Doug Zongker cdb621bfea retry patch using cache if in-place write fails
[cherry-pick from donut branch]

Instead of failing outright when yaffs lies about how much space is
free on the filesystem, delete the partially-written output file and
retry using the copy-source-to-cache method instead.

Change all the log statements to printf; mixing stdout and stderr
logging just makes the logs hard to read because they're buffered
differently.
2010-02-02 08:44:12 -08:00
Bjorn Bringert 76a72277c9 Generate write<TAG> methods in logtags-generated Java code
Change-Id: Iebca77f2f710ee4c15bf7089647f8d79fe79f33a
2010-02-02 10:40:06 +00:00
Brian Carlstrom 259e5b7a94 godir search should ignore .repo directory 2010-01-30 11:45:03 -08:00
Brian Carlstrom 2f091860d8 Merge "godir should set "T=$(gettop)"" 2010-01-30 11:08:21 -08:00
Brian Carlstrom b9915a6a18 godir should set "T=$(gettop)" 2010-01-29 16:39:32 -08:00
Makoto Onuki d8456ef0c8 Merge "cleanstep: remove email intermediates" 2010-01-29 16:22:29 -08:00
The Android Open Source Project cad3c092ae reconcile android-2.1_r1 snapshot 2010-01-29 14:07:32 -08:00
Makoto Onuki 8b20042a9a cleanstep: remove email intermediates 2010-01-29 13:11:09 -08:00
Sriram Raman 2fd94d1beb Remove Gallery (not 3d) from all builds on master 2010-01-29 14:33:16 -05:00
Ed Heyl b46e8a2d5c am ffae6f51: (-s ours) am 25a331ab: Merge "Update version string." into eclair
Merge commit 'ffae6f5127387c7a1f5cc49ca3f5f3203f7d15f0'

* commit 'ffae6f5127387c7a1f5cc49ca3f5f3203f7d15f0':
  Update version string.
2010-01-28 15:09:40 -08:00
Scott Main 80ec85cc47 am 5729dbfa: am e6fed880: Merge "docs: accept the enter key on key-down, rather than key-up, in order to be sure we capture this key before anything else. Fixes case where highlighted suggestions don\'t get executed when pressed. Bug: 1909300" into eclair
Merge commit '5729dbfa00ffb659c5758195b617af4349c0ef75'

* commit '5729dbfa00ffb659c5758195b617af4349c0ef75':
  docs: accept the enter key on key-down, rather than key-up,
2010-01-28 15:06:03 -08:00
Raphael 5993b09194 am ccd0338c: am e749b5a7: Fix windows make: layoutlib_api moved to sdk.git too.
Merge commit 'ccd0338ce637e62c483a727de04236aa05f989aa'

* commit 'ccd0338ce637e62c483a727de04236aa05f989aa':
  Fix windows make: layoutlib_api moved to sdk.git too.
2010-01-28 13:43:39 -08:00
Jesse Wilson 98647acd91 Merge "Suppress the annoying "XML missing method" warnings from the doc build." 2010-01-28 13:33:29 -08:00
Jesse Wilson b127997b14 Suppress the annoying "XML missing method" warnings from the doc build. 2010-01-28 10:50:58 -08:00