OSDN Git Service

android-x86/build.git
12 years agoHOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE
Jim Huang [Tue, 6 Sep 2011 17:25:28 +0000 (01:25 +0800)]
HOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE

While building Android with latest host gcc, it causes the following
build error:

Install: out/host/linux-x86/bin/mkbootimg
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

In order to make build system happy, this patch does unset macro
_FORTIFY_SOURCE and then define it in host cflags.

Change-Id: Ic37a90f05081a2c3650b3335bc87e9e895900fb2

12 years agoam 719051f9: Merge "core/binary.mk: Add missing Objective-C objects to the build...
David Turner [Fri, 30 Sep 2011 04:00:32 +0000 (21:00 -0700)]
am 719051f9: Merge "core/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE" into gingerbread

* commit '719051f9878f85b57470d9047e8156320f31c98a':
  core/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE

12 years agoMerge "core/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE...
David Turner [Fri, 30 Sep 2011 03:17:38 +0000 (20:17 -0700)]
Merge "core/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE" into gingerbread

12 years agocore/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE
David 'Digit' Turner [Fri, 11 Feb 2011 15:19:31 +0000 (16:19 +0100)]
core/binary.mk: Add missing Objective-C objects to the build. DO NOT MERGE

NOTE: This is a back-port from AOSP into the internal gingerbread branch.

For some reason, all_objects was not listing objects generated from
objective-C sources. We need these for the emulator (which builds its
own version of SDL which uses Quartz on OS X).

+ Fix a typo in transform-host-m-to-o definition.

This also explains why https://review.source.android.com/#change,21074
had to be reverted, since it gets rid of the prebuilt SDL libraries when
building the emulator.

Change-Id: I03e179f3216ed95908bf8e8011d34109accff1b9
Orig-Change-Id: I173811cf11cdb5b045073aade59364236145bc77

12 years agoIgnore 013607f9 from gingerbread (already here)
Jean-Baptiste Queru [Thu, 29 Sep 2011 19:32:32 +0000 (12:32 -0700)]
Ignore 013607f9 from gingerbread (already here)

Change-Id: I550c04403877cd2cf301a496746f1e9fdbb19de1

12 years agoMerge "emulator: enable opengl emulation modules" into gingerbread
David 'Digit' Turner [Thu, 29 Sep 2011 17:21:15 +0000 (10:21 -0700)]
Merge "emulator: enable opengl emulation modules" into gingerbread

12 years agoam 0cc5e1ef: Merge "sdk: Fix broken google_sdk and google_sdk_x86 add-on build."...
David 'Digit' Turner [Fri, 23 Sep 2011 05:59:07 +0000 (22:59 -0700)]
am 0cc5e1ef: Merge "sdk: Fix broken google_sdk and google_sdk_x86 add-on build." into gingerbread

* commit '0cc5e1ef457f0eda3a3dfadc094b0e796ba9f3f2':
  sdk: Fix broken google_sdk and google_sdk_x86 add-on build.

12 years agoMerge "sdk: Fix broken google_sdk and google_sdk_x86 add-on build." into gingerbread
David 'Digit' Turner [Fri, 23 Sep 2011 05:58:04 +0000 (22:58 -0700)]
Merge "sdk: Fix broken google_sdk and google_sdk_x86 add-on build." into gingerbread

12 years agoemulator: enable opengl emulation modules
David 'Digit' Turner [Fri, 16 Sep 2011 16:03:20 +0000 (18:03 +0200)]
emulator: enable opengl emulation modules

This patch defines BUILD_EMULATOR_OPENGL to 'true' to
enable the OpenGLES emulation modules under
development/tools/emulator/opengl to be built.

Change-Id: I130b5026909ce43578ead8bebe889075d90c4486

12 years agoam 1615c2fc: Rename generic_arm5 to generic_armv5
Brian Muramatsu [Thu, 8 Sep 2011 18:13:50 +0000 (11:13 -0700)]
am 1615c2fc: Rename generic_arm5 to generic_armv5

* commit '1615c2fcb60c7164cd8629e8c78cef551ebd329a':
  Rename generic_arm5 to generic_armv5

12 years agoRename generic_arm5 to generic_armv5
Brian Muramatsu [Thu, 8 Sep 2011 17:36:03 +0000 (10:36 -0700)]
Rename generic_arm5 to generic_armv5

Bug 5267392

Change-Id: I5129d5ba283e711a2cb5840fc0c9b707f653936a

12 years agoam 9353a3be: Disable Dexpreopt for generic_arm5
Brian Muramatsu [Thu, 8 Sep 2011 17:24:14 +0000 (10:24 -0700)]
am 9353a3be: Disable Dexpreopt for generic_arm5

* commit '9353a3be5fca8a83c3a60e890fbca323f9fb0e04':
  Disable Dexpreopt for generic_arm5

12 years agoDisable Dexpreopt for generic_arm5
Brian Muramatsu [Thu, 8 Sep 2011 01:12:22 +0000 (18:12 -0700)]
Disable Dexpreopt for generic_arm5

Bug 5267392

After coming across another place where I would have to use
package.apk.unaligned, I decided maybe it is best to just
disable dexpreopt as was previously suggested.

Use package.apks in the CTS Makefile task.

Change-Id: Iec839a72f4b53441337523b8a9cccda657eec8e8

12 years agoam 31e27eeb: generic_arm5 product
Brian Muramatsu [Thu, 8 Sep 2011 00:12:16 +0000 (17:12 -0700)]
am 31e27eeb: generic_arm5 product

* commit '31e27eebc3108d788d040228e5143df3e87b1424':
  generic_arm5 product

12 years agogeneric_arm5 product
Brian Muramatsu [Wed, 7 Sep 2011 20:03:49 +0000 (13:03 -0700)]
generic_arm5 product

Bug 5267392

Copied the prior generic product but tried to include
Makefiles from the generic product when possible to
avoid drifting.

Change-Id: I7893adb65c37c1257bcb5224848f4cd7cd93d2f9

12 years agoresolved conflicts for merge of 162991be to gingerbread-plus-aosp
Ying Wang [Wed, 7 Sep 2011 18:20:28 +0000 (11:20 -0700)]
resolved conflicts for merge of 162991be to gingerbread-plus-aosp

Change-Id: I06edde6c517b4c4e2bd03e2d1d44da52ee3066d5

12 years agoAllow uninstallable APPs.
Ying Wang [Wed, 7 Sep 2011 17:21:42 +0000 (10:21 -0700)]
Allow uninstallable APPs.

Bug: 5264671
This is needed by cts tests.
It's harmless to existing modules.

Change-Id: I0083471f80d483559b27523d4b88190d7913f6f1

12 years agoam 2306106d: Use package.apk.unaligned in CTS Build
Brian Muramatsu [Fri, 2 Sep 2011 23:53:43 +0000 (16:53 -0700)]
am 2306106d: Use package.apk.unaligned in CTS Build

* commit '2306106d3e2cd774ef0b2cd782442f90c402341f':
  Use package.apk.unaligned in CTS Build

12 years agoUse package.apk.unaligned in CTS Build
Brian Muramatsu [Fri, 2 Sep 2011 22:29:10 +0000 (15:29 -0700)]
Use package.apk.unaligned in CTS Build

Bug 5252989

This prevents dexopt installation failures when trying to
install CTS apks on production devices.

Change-Id: I1eeb0ac567c3be3b831c8c27dee4005ec00fd7cd

12 years agosdk: Fix broken google_sdk and google_sdk_x86 add-on build.
David 'Digit' Turner [Tue, 30 Aug 2011 22:43:07 +0000 (00:43 +0200)]
sdk: Fix broken google_sdk and google_sdk_x86 add-on build.

This patch fixes the broken builds for PRODUCT-google_sdk-sdk_addon
and PRODUCT-google_sdk_x86-sdk_addon.

Change-Id: Iba0f23a03c143cd38aaba98b0bd0d52686330ed6

12 years agoam c5033a33: Merge "x86: remove obsolete comments"
Ying Wang [Fri, 26 Aug 2011 19:10:45 +0000 (12:10 -0700)]
am c5033a33: Merge "x86: remove obsolete comments"

* commit 'c5033a3357b824a8285da67357a0d289750f4a72':
  x86: remove obsolete comments

12 years agoMerge "x86: remove obsolete comments"
Ying Wang [Fri, 26 Aug 2011 17:41:16 +0000 (10:41 -0700)]
Merge "x86: remove obsolete comments"

12 years agoam a2cc9b22: Merge "sdk: add DLL_EXTENSION as an atree variable"
David 'Digit' Turner [Thu, 25 Aug 2011 19:14:35 +0000 (12:14 -0700)]
am a2cc9b22: Merge "sdk: add DLL_EXTENSION as an atree variable"

* commit 'a2cc9b227ae01803dfc4bc1987071fd6eee08bb6':
  sdk: add DLL_EXTENSION as an atree variable

12 years agoam 77c6261f: Merge "emulator: Enable GLES emulation libraries"
David 'Digit' Turner [Thu, 25 Aug 2011 19:14:33 +0000 (12:14 -0700)]
am 77c6261f: Merge "emulator: Enable GLES emulation libraries"

* commit '77c6261fb074d87b75d669dd9fb9ab5a12a52cc9':
  emulator: Enable GLES emulation libraries

12 years agoMerge "sdk: add DLL_EXTENSION as an atree variable"
David 'Digit' Turner [Thu, 25 Aug 2011 19:03:03 +0000 (12:03 -0700)]
Merge "sdk: add DLL_EXTENSION as an atree variable"

12 years agoMerge "emulator: Enable GLES emulation libraries"
David 'Digit' Turner [Thu, 25 Aug 2011 19:02:34 +0000 (12:02 -0700)]
Merge "emulator: Enable GLES emulation libraries"

12 years agosdk: add DLL_EXTENSION as an atree variable
David 'Digit' Turner [Thu, 25 Aug 2011 12:28:03 +0000 (14:28 +0200)]
sdk: add DLL_EXTENSION as an atree variable

This patch defines the DLL_EXTENSION variable to the host
shared library suffix (i.e. either ".so", ".dll" or ".dylib")
when packaging the SDK.

This is required by another patch to sdk/build/tools.atree that
will use ${DLL_EXTENSION} to copy the GLES emulation host libraries
to $SDK/tools/lib

Change-Id: I120d39e905afb453b0702d5f0eb2707f214385cc

12 years agoemulator: Enable GLES emulation libraries
David 'Digit' Turner [Tue, 23 Aug 2011 20:25:13 +0000 (22:25 +0200)]
emulator: Enable GLES emulation libraries

This patch enables the build of OpenGLES emulation libraries
(both in the guest and the host) for any emulator-specific
product config.

+ update core/main.mk to ensure that the right path is parsed
  when building the Windows SDK

Change-Id: Ifde047f8c0ef922504a7286c8c5b57f7c79c71f8

12 years agoam 7c7a8f02: Merge "Sort the results of findleaves again."
Ying Wang [Fri, 19 Aug 2011 16:32:40 +0000 (09:32 -0700)]
am 7c7a8f02: Merge "Sort the results of findleaves again."

* commit '7c7a8f023af38e7e8be7cbb6acbe1ab770cdd704':
  Sort the results of findleaves again.

12 years agoMerge "Sort the results of findleaves again."
Ying Wang [Fri, 19 Aug 2011 16:24:44 +0000 (09:24 -0700)]
Merge "Sort the results of findleaves again."

12 years agoSort the results of findleaves again.
Ishida, Haruyasu [Mon, 20 Dec 2010 14:37:54 +0000 (15:37 +0100)]
Sort the results of findleaves again.

Commit d36e945 changed findleaves.py to sort the output files so that
the order is deterministic and won't cause spurious build errors when
files happen to be listed (and hence read) in different order on
e.g. add/remove the makefiles.

This correction broke after commit 4820a94 because the conversion to
a set with set() in order to remove duplicates came after sort() and
potentially altered the order of the elements.

This commit fixes makes sure findleaves.py is guaranteed to return
a sorted filename list without duplicates.

Change-Id: Ifd96d04d45641fe43d4cc4739f78a2d4d25cc212

12 years agoam 7d9fe517: Merge "Add sdk/rule_api to the Windows build paths."
Raphael Moll [Wed, 17 Aug 2011 18:26:07 +0000 (11:26 -0700)]
am 7d9fe517: Merge "Add sdk/rule_api to the Windows build paths."

* commit '7d9fe5174787a5638993a15b165bc9115c16da0f':
  Add sdk/rule_api to the Windows build paths.

12 years agoMerge "Add sdk/rule_api to the Windows build paths."
Raphael Moll [Wed, 17 Aug 2011 18:06:39 +0000 (11:06 -0700)]
Merge "Add sdk/rule_api to the Windows build paths."

12 years agoAdd sdk/rule_api to the Windows build paths.
Raphael Moll [Wed, 17 Aug 2011 02:40:03 +0000 (19:40 -0700)]
Add sdk/rule_api to the Windows build paths.

Change-Id: I4976b50d829e4b26b4f9935a1a184937dd115198

12 years agoam 3f5326fd: Merge "sha module is deprecated"
Ying Wang [Thu, 11 Aug 2011 01:02:15 +0000 (18:02 -0700)]
am 3f5326fd: Merge "sha module is deprecated"

* commit '3f5326fd9fe2a5c46b4e6643e2b277e7f13cac04':
  sha module is deprecated

12 years agoMerge "sha module is deprecated"
Ying Wang [Thu, 11 Aug 2011 00:50:05 +0000 (17:50 -0700)]
Merge "sha module is deprecated"

12 years agosha module is deprecated
david [Tue, 15 Mar 2011 14:21:38 +0000 (14:21 +0000)]
sha module is deprecated

This patch removes the deprecated warnings from the python
scripts.

Change-Id: I052a0aab3fb28dd1d78de1307edafda6b6c35e5f

12 years agox86: remove obsolete comments
Chih-Wei Huang [Wed, 3 Aug 2011 04:16:59 +0000 (12:16 +0800)]
x86: remove obsolete comments

Change-Id: Ifb12892c17a50f85c7700d6413ea295a4dad7047

12 years agoIgnore from gingerbread
Jean-Baptiste Queru [Wed, 3 Aug 2011 00:04:41 +0000 (17:04 -0700)]
Ignore from gingerbread

We like our AOSP version numbers unchanged and a bit nutty.

Change-Id: Iddfd494bc52f13bdeb90f39393d89f554e2cfb64

12 years agoUpdating version to 2.3.7 to reflect some patches.
Dan Morrill [Tue, 2 Aug 2011 23:46:38 +0000 (16:46 -0700)]
Updating version to 2.3.7 to reflect some patches.

Change-Id: I6118b41a26a1ea6940758313871eb8ab83ab06a2

12 years agoBumping version to 2.3.6 to reflect a few patches.
Dan Morrill [Tue, 2 Aug 2011 22:36:05 +0000 (15:36 -0700)]
Bumping version to 2.3.6 to reflect a few patches.

Change-Id: I540a3954c70502e3deac151c642d454c87a3821b

12 years agoam dceb4655: Merge "Add sdk/assetstudio to the Windows build paths."
Raphael Moll [Fri, 29 Jul 2011 20:56:51 +0000 (13:56 -0700)]
am dceb4655: Merge "Add sdk/assetstudio to the Windows build paths."

* commit 'dceb46559eb8077553d1bd4d738fb4b325af9396':
  Add sdk/assetstudio to the Windows build paths.

12 years agoMerge "Add sdk/assetstudio to the Windows build paths."
Raphael Moll [Fri, 29 Jul 2011 20:50:50 +0000 (13:50 -0700)]
Merge "Add sdk/assetstudio to the Windows build paths."

12 years agoAdd sdk/assetstudio to the Windows build paths.
Raphael Moll [Fri, 29 Jul 2011 20:04:20 +0000 (13:04 -0700)]
Add sdk/assetstudio to the Windows build paths.

Change-Id: Ide8d418aa25cf39852a25e08fd2a27c7882586e7

13 years agoam 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"
Kenny Root [Mon, 18 Jul 2011 20:47:16 +0000 (13:47 -0700)]
am 4880b436: am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '4880b436656d7cfd00bb82ebde1b408e0bd19bda':
  Avoid complaining about empty directories

13 years agoam 62a2b188: Merge "Avoid complaining about empty directories"
Kenny Root [Mon, 18 Jul 2011 20:45:15 +0000 (13:45 -0700)]
am 62a2b188: Merge "Avoid complaining about empty directories"

* commit '62a2b1882fb95e960b5889b46fe8f669ddc7c8ac':
  Avoid complaining about empty directories

13 years agoMerge "Avoid complaining about empty directories"
Kenny Root [Mon, 18 Jul 2011 20:41:25 +0000 (13:41 -0700)]
Merge "Avoid complaining about empty directories"

13 years agoAvoid complaining about empty directories
Kenny Root [Mon, 18 Jul 2011 20:11:34 +0000 (13:11 -0700)]
Avoid complaining about empty directories

Change-Id: If46bffd1c4e6b94f2e476b2d7d506ef337bbf8e1

13 years agoam 099aa4cf: am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"
Kenny Root [Mon, 18 Jul 2011 18:57:24 +0000 (11:57 -0700)]
am 099aa4cf: am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"

* commit '099aa4cf4d82218110c6edf3edede0e72450216e':
  Only include "[a-z]*.bash" files for completion

13 years agoam b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"
Kenny Root [Mon, 18 Jul 2011 18:54:15 +0000 (11:54 -0700)]
am b8a1c89b: Merge "Only include "[a-z]*.bash" files for completion"

* commit 'b8a1c89b3a848ea343c897b33e77455dc2f98119':
  Only include "[a-z]*.bash" files for completion

13 years agoMerge "Only include "[a-z]*.bash" files for completion"
Kenny Root [Mon, 18 Jul 2011 18:44:26 +0000 (11:44 -0700)]
Merge "Only include "[a-z]*.bash" files for completion"

13 years agoOnly include "[a-z]*.bash" files for completion
Kenny Root [Mon, 18 Jul 2011 18:15:31 +0000 (11:15 -0700)]
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

13 years agoam 8985d033: am 88dcfccb: Merge "Add bash completion to envsetup"
Kenny Root [Fri, 15 Jul 2011 21:52:57 +0000 (14:52 -0700)]
am 8985d033: am 88dcfccb: Merge "Add bash completion to envsetup"

* commit '8985d0337814219235a9698c99cf318682367560':
  Add bash completion to envsetup

13 years agoam 88dcfccb: Merge "Add bash completion to envsetup"
Kenny Root [Fri, 15 Jul 2011 21:50:05 +0000 (14:50 -0700)]
am 88dcfccb: Merge "Add bash completion to envsetup"

* commit '88dcfccb5b064735177e1a87f578d6c734b47bc7':
  Add bash completion to envsetup

13 years agoMerge "Add bash completion to envsetup"
Kenny Root [Fri, 15 Jul 2011 21:41:14 +0000 (14:41 -0700)]
Merge "Add bash completion to envsetup"

13 years agoAdd bash completion to envsetup
Kenny Root [Fri, 15 Jul 2011 18:07:06 +0000 (11:07 -0700)]
Add bash completion to envsetup

Change-Id: I0b4d74e72deede42d7e5f229593d79417f16bb55

13 years agoam fbfd654f: Switch Unbundled apps from generic.mk to full.mk.
Ying Wang [Thu, 14 Jul 2011 05:38:35 +0000 (22:38 -0700)]
am fbfd654f: Switch Unbundled apps from generic.mk to full.mk.

* commit 'fbfd654f67609d019de8111480ebe374669ffef2':
  Switch Unbundled apps from generic.mk to full.mk.

13 years agoresolved conflicts for merge of 09636e17 to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 11 Jul 2011 18:20:12 +0000 (20:20 +0200)]
resolved conflicts for merge of 09636e17 to gingerbread-plus-aosp

Change-Id: If2b21def45b5de222e560af442a0ff9f56da5a35

13 years agoSwitch Unbundled apps from generic.mk to full.mk.
Ying Wang [Mon, 11 Jul 2011 16:57:08 +0000 (09:57 -0700)]
Switch Unbundled apps from generic.mk to full.mk.

Change-Id: Ib0b84e041275a5ad389a122f0349a85008496be2

13 years agoam b399f5e8: Merge "Rename health shared library."
Jaikumar Ganesh [Fri, 8 Jul 2011 18:34:46 +0000 (11:34 -0700)]
am b399f5e8: Merge "Rename health shared library."

* commit 'b399f5e81e2a644776f163e499df5bd0a38fe272':
  Rename health shared library.

13 years agoMerge "Rename health shared library."
Jaikumar Ganesh [Fri, 8 Jul 2011 18:25:33 +0000 (11:25 -0700)]
Merge "Rename health shared library."

13 years agoRename health shared library.
Jaikumar Ganesh [Fri, 8 Jul 2011 18:20:23 +0000 (11:20 -0700)]
Rename health shared library.

Change-Id: Ibd95333433bc2fb12322a9683bb3e0c0176dbce9

13 years agomerge intel x86 patches into gingerbread branch
David 'Digit' Turner [Fri, 8 Jul 2011 16:19:01 +0000 (18:19 +0200)]
merge intel x86 patches into gingerbread branch

13 years agosdk-addon.mk: Copy image files to ABI-specific dir
David 'Digit' Turner [Thu, 7 Jul 2011 23:56:51 +0000 (01:56 +0200)]
sdk-addon.mk: Copy image files to ABI-specific dir

Change-Id: I39ad022a5bb03ea39fc41c134d1d4855dc491deb

13 years agoemulator: Enable dex-preoptimization
David 'Digit' Turner [Wed, 15 Jun 2011 23:32:20 +0000 (01:32 +0200)]
emulator: Enable dex-preoptimization

Backport from AOSP master.

This enables the Dex pre-optimization for emulator-specific builds.
The idea is to speed up the initial boot sequence of an SDK AVD by
avoiding the costly on-device preopt pass that is performed otherwise
the first time the AVD is launched.

Benchmarking shows reductions in first boot time from 1m30s to 40s
on a 2.4GHz Xeon when emulating the AOSP master ToT.

Change-Id: Ibf5ebe68aa4d363c9df05d2ffe7cb828ef99f922
Orig-Change-Id: I67a9ce9791220c202817864c6e83dc8fd9cbc027

13 years agosdk: provide ABI-dependent atree files
David 'Digit' Turner [Thu, 23 Jun 2011 10:49:02 +0000 (12:49 +0200)]
sdk: provide ABI-dependent atree files

Backport from AOSP master

This patch allows development/sdk/ to provide ABI-specific .atree
files. This is useful to copy prebuilt CPU model-specific files
to the SDK platform image directory.

This is needed to deal with the fact that for ARMv7 platform builds,
the kernel image to use is prebuilt/android-arm/kernel-qemu-armv7 instead
of prebuilt/android-arm/kernel/qemu

Change-Id: Ib76caa54a059eca2dafc9cdba812b29f98b5e3c3
Orig-Change-Id: Icdca751852c01421fccf196436a9bc1114ea90f7

13 years agoemulator: Build emulator platform images as ARMv7-A
David 'Digit' Turner [Wed, 15 Jun 2011 13:33:24 +0000 (15:33 +0200)]
emulator: Build emulator platform images as ARMv7-A

Backport from AOSP master.

Now that the emulator supports proper ARMv7 emulation, switch to
building all emulator-specific platform images using this instruction
set, in order to benefit from the noticeable speed boost provided by
Thumb-2 instructions.

Note that we don't build with NEON support because emulated NEON
instructions are currently slow, though they work.

IMPORTANT: You need to have the following emulator patch in your tree
           in order to start these platform builds easily:

           https://review.source.android.com//#change,23798

Otherwise, the alternative is to do these things:

   1/ Telling the emulator to emulate an ARMv7-A CPU, instead of
      an ARMv5TE one. This is normally done with "-qemu cortex-a8"

   2/ Using an ARMv7-A capable kernel image, which is available and
      usable with -kernel prebuilt/android-arm/kernel-qemu-armv7

Note that the emulator has a special hack that automatically enables
1/ if 2/ is being used (i.e. if the kernel image name ends with -armv7,
then emulate an ARMv7-A CPU automatically).

So in reality, only 2/ is required.

Change-Id: Id3ac7cdbda892e519af98aff1f02136f344406b8
Orig-Change-Id: I5c0245ba5e6a2bc34d0d49b2c024fffd317a5eed

13 years agox86: Add proper gcc-4.4.3 x86 toolchain support.
Bruce Beare [Thu, 8 Jul 2010 21:59:16 +0000 (14:59 -0700)]
x86: Add proper gcc-4.4.3 x86 toolchain support.

This patch combines 7 AOSP patches to add proper support
to build x86 platform images using the 4.4.3 toolchain.

The Orig-Changed-Id fields below correspond to the change ids
of the original changes in the AOSP master branch history.

    Define __ANDROID__ for x86 to be on par with ARM build requirements
    Orig-Change-Id: I79c8f29af1f20b694f22a39f848216022809a5c6
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
    Enables x86-atom as a valid TARGET_ARCH_VARIANT for the simulator build.
    Orig-Change-Id: Idbceb6c7d4117fbecd35e4261330e6405666189e

    IA: enable SSE fpmath, Separate ARCH_VARIANT and ARCH makefile settings
    Change-Id: I9ba661d68a3b375c21eb6b56442d8ba66a5369b3
    Orig-Change-Id: I60b8121c92b39a60b513bc2496a1e0a21015c586
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    x86: Use GCC 4.4.3
    Orig-Change-Id: I083c1afcbb98cfeb48d7bcb7681e5c34db52e767
    Author:    H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    x86: the -mbionic flag is needed for IA builds.
    Orig-Change-Id: I00c75f37d7ea46b9f8ad3d7b2ff7094477ff0916
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    x86: Disable stack-protector until bionic is fixed
    Orig-Change-Id: I2862de5c1b02490197704f4578a8a91d0565eef0
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Clean up of X86 build flags
    Orig-Change-Id: Ife75c32cd49b32345712dee28fa5f2283069a90e
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
    Author: Bruce Beare <bruce.j.beare@intel.com>

    x86: Enable -fstack-protector
    Orig-Change-Id: I1fe10159b7a29452ecfc6ba328164948cf9950d6
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agosdk: Add pc-bios files for IA qemu emulator
Bruce Beare [Wed, 2 Mar 2011 16:29:59 +0000 (08:29 -0800)]
sdk: Add pc-bios files for IA qemu emulator

Orig-Change-Id: Ia919ff57295cd020810989f241da713210bc8720
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agox86: qemu emulator is the default build target
Bruce Beare [Tue, 31 May 2011 20:16:31 +0000 (13:16 -0700)]
x86: qemu emulator is the default build target

Change-Id: I200536d2d997eda6a6e62eaa9050269e3c7ff6c4
Orig-Change-Id: I1fc3cb491d593d3e28f90278cfc8de5d77852932
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
13 years agoAdd full_x86 product.
Jean-Baptiste Queru [Thu, 15 Jul 2010 21:04:39 +0000 (14:04 -0700)]
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

13 years agox86: sdk_x86 build target
Bruce Beare [Tue, 31 May 2011 20:11:42 +0000 (13:11 -0700)]
x86: sdk_x86 build target

Orig-Change-Id: I3876246ddf884ffd09ff0f8e3e300dffb4a332f0
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoMinor cleanup - DO NOT MERGE
Jean-Baptiste Queru [Fri, 22 Oct 2010 23:13:02 +0000 (16:13 -0700)]
Minor cleanup - DO NOT MERGE

Orig-Change-Id: I0fc4e3c45ae5a545f1a02ed974bc3c7500286e22

13 years agoClean up full config - DO NOT MERGE
Jean-Baptiste Queru [Fri, 22 Oct 2010 21:41:55 +0000 (14:41 -0700)]
Clean up full config - DO NOT MERGE

This splits the existing full.mk in two parts:

-One is the device-independent full_base.mk
-The other is the emulator-specific device.mk

This way we'll be able to inherit from full_base.mk
for on-device builds without any emulator-specific
files getting in the way.

Change-Id: I7f8254bf8c1177594fbdfbdb082bdc429a4a5b25
Orig-Change-Id: Ieb1f4ed47988c8fff119ff53f1f374032da3752d

13 years agoMake a full list of locales available
Jean-Baptiste Queru [Fri, 22 Oct 2010 17:22:42 +0000 (10:22 -0700)]
Make a full list of locales available

Use it for the sim build and full build.

Change-Id: I0050f9ee10aafa96cb89cad5d3f492bb1839e331
Orig-Change-Id: I64dfa7ac1b374529ef5f0c1460dd35171311115e

13 years agoTruly default to the full config.
Jean-Baptiste Queru [Fri, 22 Oct 2010 16:52:09 +0000 (09:52 -0700)]
Truly default to the full config.

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

Orig-Change-Id: I8b69b208bc4969d3f95c3467ca6737de8fd9460d

13 years agogeneric_x86 builds don't need/use the sparse ext4 format.
Bruce Beare [Tue, 28 Dec 2010 23:33:22 +0000 (15:33 -0800)]
generic_x86 builds don't need/use the sparse ext4 format.

Orig-Change-Id: I62973b131a728c3862be4642e2d49d0fa61555ac
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUse ext4 file system for generic_x86 userdata partition
Bruce Beare [Mon, 27 Dec 2010 21:05:23 +0000 (13:05 -0800)]
Use ext4 file system for generic_x86 userdata partition

Orig-Change-Id: I05710c2bda521b35712513bc219fc73ed00e4617
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoGB Updates for init.rc and boot command line
David 'Digit' Turner [Mon, 13 Jun 2011 21:43:02 +0000 (23:43 +0200)]
GB Updates for init.rc and boot command line

Change-Id: Iae0f5b1eda109f99be6c484082abebc7b51adf51
Orig-Change-Id: I0638c8834fccbdc94ec99e7592a75b6972cb53b8
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoFix TARGET_PREBUILT_TAG so that get_build_var can retrieve the correct value across...
Bruce Beare [Tue, 31 May 2011 19:52:06 +0000 (12:52 -0700)]
Fix TARGET_PREBUILT_TAG so that get_build_var can retrieve the correct value across architectures

Orig-Change-Id: I5c1010d9caaa8d9ffaf65999fa3649c3c2be8caa
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoDisplay the TARGET_ARCH_VARIANT
Bruce Beare [Thu, 14 Oct 2010 19:21:58 +0000 (12:21 -0700)]
Display the TARGET_ARCH_VARIANT

Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoAdd generic_x86-eng to the lunch menu
Bruce Beare [Tue, 31 May 2011 19:50:27 +0000 (12:50 -0700)]
Add generic_x86-eng to the lunch menu

Orig-Change-Id: Ie4e0f9054c5bc6ad8845b5b885a00174dd8c9534
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoMove buildspec vars to BoardConfig.mk
Bruce Beare [Mon, 12 Jul 2010 18:32:37 +0000 (11:32 -0700)]
Move buildspec vars to BoardConfig.mk

Orig-Change-Id: I48ed4b55e91aae51076d9c609b44bf9fa24c3ecd
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoVendorsetup needs to look in additional places.
Bruce Beare [Tue, 31 May 2011 19:47:58 +0000 (12:47 -0700)]
Vendorsetup needs to look in additional places.

Orig-Change-Id: I698856f8e02487322540e804c038bba28cc23532
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoAllow TARGET_ARCH to be set from BoardConfig.mk
Bruce Beare [Tue, 31 May 2011 18:03:09 +0000 (11:03 -0700)]
Allow TARGET_ARCH to be set from BoardConfig.mk

Orig-Change-Id: I66aed78b763d238719822257c1f4f35301247df6
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoRefactor Stripper. Allow a stripper other than SOSLIM to be specified
Bruce Beare [Tue, 31 May 2011 17:40:20 +0000 (10:40 -0700)]
Refactor Stripper. Allow a stripper other than SOSLIM to be specified

Orig-Change-Id: I61137f5bb123dc5f610af9928ed3debdf85ba74d
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoam b92c7a2c: am cac8e557: Merge "sdk: provide ABI-dependent atree files"
David 'Digit' Turner [Thu, 23 Jun 2011 20:08:35 +0000 (13:08 -0700)]
am b92c7a2c: am cac8e557: Merge "sdk: provide ABI-dependent atree files"

* commit 'b92c7a2c1293d2921739a4d7210b4a0d1c99156b':
  sdk: provide ABI-dependent atree files

13 years agoam cac8e557: Merge "sdk: provide ABI-dependent atree files"
David 'Digit' Turner [Thu, 23 Jun 2011 19:54:41 +0000 (12:54 -0700)]
am cac8e557: Merge "sdk: provide ABI-dependent atree files"

* commit 'cac8e55714424d385da5b40e5952dc539e510454':
  sdk: provide ABI-dependent atree files

13 years agoMerge "sdk: provide ABI-dependent atree files"
David 'Digit' Turner [Thu, 23 Jun 2011 19:18:49 +0000 (12:18 -0700)]
Merge "sdk: provide ABI-dependent atree files"

13 years agoam 4b227c70: am f9f83ed1: Merge "emulator: Enable dex-preoptimization"
David 'Digit' Turner [Thu, 23 Jun 2011 12:07:30 +0000 (05:07 -0700)]
am 4b227c70: am f9f83ed1: Merge "emulator: Enable dex-preoptimization"

* commit '4b227c708c1014bd773085ae275275744f239435':
  emulator: Enable dex-preoptimization

13 years agoam f9f83ed1: Merge "emulator: Enable dex-preoptimization"
David 'Digit' Turner [Thu, 23 Jun 2011 11:49:56 +0000 (04:49 -0700)]
am f9f83ed1: Merge "emulator: Enable dex-preoptimization"

* commit 'f9f83ed19e83313ffaf542b148886bcb860ca12e':
  emulator: Enable dex-preoptimization

13 years agoMerge "emulator: Enable dex-preoptimization"
David 'Digit' Turner [Thu, 23 Jun 2011 11:24:50 +0000 (04:24 -0700)]
Merge "emulator: Enable dex-preoptimization"

13 years agosdk: provide ABI-dependent atree files
David 'Digit' Turner [Thu, 23 Jun 2011 10:49:02 +0000 (12:49 +0200)]
sdk: provide ABI-dependent atree files

This patch allows development/sdk/ to provide ABI-specific .atree
files. This is useful to copy prebuilt CPU model-specific files
to the SDK platform image directory.

This is needed to deal with the fact that for ARMv7 platform builds,
the kernel image to use is prebuilt/android-arm/kernel-qemu-armv7 instead
of prebuilt/android-arm/kernel/qemu

Change-Id: Icdca751852c01421fccf196436a9bc1114ea90f7

13 years agoam c134712f: am 04b49109: Merge "Turn-off implicit GNU Make RC/SCCS rules"
David 'Digit' Turner [Wed, 22 Jun 2011 22:53:31 +0000 (15:53 -0700)]
am c134712f: am 04b49109: Merge "Turn-off implicit GNU Make RC/SCCS rules"

* commit 'c134712ffa9e6617df46334a6293ddd80e05cf98':
  Turn-off implicit GNU Make RC/SCCS rules

13 years agoam 04b49109: Merge "Turn-off implicit GNU Make RC/SCCS rules"
David 'Digit' Turner [Wed, 22 Jun 2011 22:28:56 +0000 (15:28 -0700)]
am 04b49109: Merge "Turn-off implicit GNU Make RC/SCCS rules"

* commit '04b49109710f74c59fb65b09b2028e5de7901f67':
  Turn-off implicit GNU Make RC/SCCS rules

13 years agoMerge "Turn-off implicit GNU Make RC/SCCS rules"
David 'Digit' Turner [Wed, 22 Jun 2011 21:40:52 +0000 (14:40 -0700)]
Merge "Turn-off implicit GNU Make RC/SCCS rules"

13 years agoemulator: Enable dex-preoptimization
David 'Digit' Turner [Wed, 15 Jun 2011 23:32:20 +0000 (01:32 +0200)]
emulator: Enable dex-preoptimization

This enables the Dex pre-optimization for emulator-specific builds.
The idea is to speed up the initial boot sequence of an SDK AVD by
avoiding the costly on-device preopt pass that is performed otherwise
the first time the AVD is launched.

Benchmarking shows reductions in first boot time from 1m30s to 40s
on a 2.4GHz Xeon when emulating the AOSP master ToT.

Change-Id: I67a9ce9791220c202817864c6e83dc8fd9cbc027

13 years agoTurn-off implicit GNU Make RC/SCCS rules
David 'Digit' Turner [Wed, 22 Jun 2011 21:18:57 +0000 (23:18 +0200)]
Turn-off implicit GNU Make RC/SCCS rules

This small patch prevents GNU Make from stating RCS and SCCS
specific files on the filesystem. This makes the output of
"make -d" slightly more readable, and also reduces the no-change
time on AOSP master by a bit less than a second on average.

Change-Id: Ifa50ace32e8689717956d7247b0d6f53ef72b7a1

13 years agoam 6e65ddb2: am cb84196f: Merge "Lunch: don\'t use a toolchain that doesn\'t exist."
Raphael Moll [Wed, 22 Jun 2011 17:40:08 +0000 (10:40 -0700)]
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.

13 years agoam 7f5a314a: am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."
Raphael Moll [Wed, 22 Jun 2011 17:40:01 +0000 (10:40 -0700)]
am 7f5a314a: am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."

* commit '7f5a314ab6dacb72eb37c87e064b21dbd44ccc7b':
  Envsetup: Cygwin doesn't have 'ps -o command'.