OSDN Git Service

android-x86/build.git
9 years agonew block OTA system tools
Doug Zongker [Tue, 26 Aug 2014 20:10:25 +0000 (13:10 -0700)]
new block OTA system tools

Replace the xdelta/xz-based block OTA generation with a new system
based on the existing bsdiff/imgdiff tools.

Bug: 16984795
Change-Id: Ia9732516ffdfc12be86260b2cc4b1dd2d210e886

9 years agoMerge "Push ISA features into system properties" into lmp-dev
Calin Juravle [Tue, 26 Aug 2014 17:34:42 +0000 (17:34 +0000)]
Merge "Push ISA features into system properties" into lmp-dev

9 years agoPush ISA features into system properties
Calin Juravle [Tue, 19 Aug 2014 19:28:08 +0000 (20:28 +0100)]
Push ISA features into system properties

We need to know instruction set featues at runtime as well so that the
apps get compiled on target with the proper features. The properties are
read by installd and passed to dex2oat.

Bug: 16716262
Change-Id: Ia73f2055f696880d45a63a0d6e0ee98d37a01113

9 years agoFix aidl post clean bug.
Ying Wang [Sat, 23 Aug 2014 16:45:31 +0000 (09:45 -0700)]
Fix aidl post clean bug.

We really should check MODULES_WITH_AIDL_FILES against ALL_MODULES,
instead of modules_with_aidl_files, because a module could have just
remove any aidl files so it won't appear in modules_with_aidl_files.

Change-Id: Iab92be1ed5f0556b7236be41d90d8471c7193928

9 years agotake bootable images from target_files if present
Doug Zongker [Fri, 22 Aug 2014 15:07:12 +0000 (08:07 -0700)]
take bootable images from target_files if present

Now that we're building and saving images in the target_files at build
time, we should use those images instead of rebuilding them.

Bug: 17201052
Change-Id: I459e650f66f1e0bdf01ad54df9e34f36bf2ee899

9 years agoMerge "Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov."...
Dehao Chen [Thu, 21 Aug 2014 17:30:07 +0000 (17:30 +0000)]
Merge "Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov." into lmp-dev

9 years agoAdd en_AU as a supported locale
Baligh Uddin [Thu, 21 Aug 2014 16:03:42 +0000 (09:03 -0700)]
Add en_AU as a supported locale

Bug: 14587692

9 years agoAdd TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov.
Dehao Chen [Wed, 20 Aug 2014 23:48:17 +0000 (16:48 -0700)]
Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov.

Change-Id: I33a94abe58391a8564ada14417b0158ddd7ed2d6

9 years agoUse the specified verity key to sign boot and recovery OTA images.
Geremy Condra [Wed, 20 Aug 2014 00:27:56 +0000 (17:27 -0700)]
Use the specified verity key to sign boot and recovery OTA images.

This ensures that when the verity key is rotated to a release key
both the boot and recovery images will be correctly signed. It does
mean that they will both be signed with the same key for now, but
as that doesn't change the threat model separating them is just a
distant nice-to-have.

Bug: 15725238
Change-Id: I5b75e4346fe0655065643ab553431690cc1a8cb0

9 years agoRemove incomplete media router API. (DO NOT MERGE)
Jeff Brown [Wed, 20 Aug 2014 00:36:33 +0000 (17:36 -0700)]
Remove incomplete media router API. (DO NOT MERGE)

Change-Id: Icc0800e2cdb9b0a5ad2bcde760d9eefd0aea74ea

9 years agoAdd support for switching to verity release keys.
Geremy Condra [Wed, 30 Jul 2014 00:54:54 +0000 (17:54 -0700)]
Add support for switching to verity release keys.

Bug: 15725238
Change-Id: I8f92210fd854b5a2567cf76aaecb5be02c3f9293

9 years agoMerge "Store a copy of installed-files.txt in DIST_DIR if system.img failed to build...
Ying Wang [Tue, 19 Aug 2014 21:27:43 +0000 (21:27 +0000)]
Merge "Store a copy of installed-files.txt in DIST_DIR if system.img failed to build" into lmp-dev

9 years agoStore a copy of installed-files.txt in DIST_DIR if system.img failed to build
Ying Wang [Tue, 19 Aug 2014 19:21:35 +0000 (12:21 -0700)]
Store a copy of installed-files.txt in DIST_DIR if system.img failed to build

Because we already have rule to store installed-files.txt in DIST_DIR,
to avoid the slim chance of race condition, this copy is named as
installed-files-rescued.txt

Change-Id: I9fa6d8aded0ad5de1f1422d70a4224b3fc308e75

9 years agoAdd CPU_ABIs for the second generic_arm64 architecture.
Narayan Kamath [Tue, 19 Aug 2014 12:03:01 +0000 (13:03 +0100)]
Add CPU_ABIs for the second generic_arm64 architecture.

This was accidentally removed by commit 8dc227f48214dd9c38c82.
Breaks builds for apps that use gnustl_static for 32 bit compiles
on an arm64 target.

bug: 16951392

Change-Id: I89480943284944fd95543cccbf40a8de22852197

9 years agoMerge "Let aosp_arm64 / emulator assume NEON / cortex-a15." into lmp-dev
Narayan Kamath [Tue, 19 Aug 2014 09:06:48 +0000 (09:06 +0000)]
Merge "Let aosp_arm64 / emulator assume NEON / cortex-a15." into lmp-dev

9 years agoMerge "Remove inputflinger from build. DO NOT MERGE" into lmp-dev
Michael Wright [Tue, 19 Aug 2014 01:36:04 +0000 (01:36 +0000)]
Merge "Remove inputflinger from build. DO NOT MERGE" into lmp-dev

9 years agoLet aosp_arm64 / emulator assume NEON / cortex-a15.
Narayan Kamath [Mon, 18 Aug 2014 18:20:07 +0000 (19:20 +0100)]
Let aosp_arm64 / emulator assume NEON / cortex-a15.

It's only unbundled app builds that need to assume the
worst.

bug: 16951392
Change-Id: I5fda39c4132dafa58fefe02b767a4d2a208f3b12

9 years agoRemove inputflinger from build. DO NOT MERGE
Michael Wright [Mon, 18 Aug 2014 17:19:59 +0000 (10:19 -0700)]
Remove inputflinger from build. DO NOT MERGE

Change-Id: Ic3031732ea9915e5fac0f5261985027f07125618

9 years agoMerge "Check existance of profile directory for specific device." into lmp-dev
Dehao Chen [Mon, 18 Aug 2014 22:59:36 +0000 (22:59 +0000)]
Merge "Check existance of profile directory for specific device." into lmp-dev

9 years agoam d1f90c7e: am 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am...
Ying Wang [Mon, 18 Aug 2014 18:06:28 +0000 (18:06 +0000)]
am d1f90c7e: am 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'd1f90c7e8fa828867dabc0fcb6b86694958256d4':
  Split to multiple bash commands.

9 years agoam 446c14f9: am 989cdde7: am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am...
Ying Wang [Mon, 18 Aug 2014 16:50:03 +0000 (16:50 +0000)]
am 446c14f9: am 989cdde7: am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '446c14f9efff9da7841fd53dd4500095396e1464':
  Split to multiple bash commands.

9 years agoCheck existance of profile directory for specific device.
Dehao Chen [Mon, 18 Aug 2014 16:43:42 +0000 (09:43 -0700)]
Check existance of profile directory for specific device.

Change-Id: I149c257e98c8483b79f2afc1e5b871731f6f6519

9 years agoam 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am...
Ying Wang [Sat, 16 Aug 2014 06:09:14 +0000 (06:09 +0000)]
am 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '0e541aea503a594a535777accc8475d9adc78c8f':
  Split to multiple bash commands.

9 years agoam a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am...
Ying Wang [Sat, 16 Aug 2014 06:01:13 +0000 (06:01 +0000)]
am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'a76761f0d57f7fc8ec9f987a808b534957f0b077':
  Split to multiple bash commands.

9 years agoam f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am...
Ying Wang [Sat, 16 Aug 2014 05:56:06 +0000 (05:56 +0000)]
am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'f7115dbe3cbf2fc25e5d507517e6ca4dd1ce5dc9':
  Split to multiple bash commands.

9 years agoam 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am...
Ying Wang [Sat, 16 Aug 2014 05:52:42 +0000 (05:52 +0000)]
am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '2888b790852af988331be1d59af01d242012f7e4':
  Split to multiple bash commands.

9 years agoam c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am...
Ying Wang [Sat, 16 Aug 2014 05:18:20 +0000 (05:18 +0000)]
am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'c48566fb6129c979186d919dcd55d7c682cf46a3':
  Split to multiple bash commands.

9 years agoam 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am...
Ying Wang [Sat, 16 Aug 2014 05:09:26 +0000 (05:09 +0000)]
am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '48b4f2b476b660977d1d2179d12efb933f187efb':
  Split to multiple bash commands.

9 years agoam ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am...
Ying Wang [Sat, 16 Aug 2014 00:55:50 +0000 (00:55 +0000)]
am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'ed7bdb8f48e6388f780da824be054fcc3c103523':
  Split to multiple bash commands.

9 years agoam 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am...
Ying Wang [Sat, 16 Aug 2014 00:48:31 +0000 (00:48 +0000)]
am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '6d1f2c647b68767880cb006df02fa9191d763e42':
  Split to multiple bash commands.

9 years agoam 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split...
Ying Wang [Sat, 16 Aug 2014 00:45:10 +0000 (00:45 +0000)]
am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '6afa19abfcce434f15ba2aa87e7dcbc53b66b402':
  Split to multiple bash commands.

9 years agoam 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple...
Ying Wang [Sat, 16 Aug 2014 00:39:04 +0000 (00:39 +0000)]
am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '40e0cfd31ccb46465ee510e7b7dac66c0b8be827':
  Split to multiple bash commands.

9 years agoam a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
Ying Wang [Sat, 16 Aug 2014 00:35:42 +0000 (00:35 +0000)]
am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit 'a5bb9a73cfb2cbc4a592ae45645c8440e169c746':
  Split to multiple bash commands.

9 years agoam 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
Ying Wang [Sat, 16 Aug 2014 00:29:58 +0000 (00:29 +0000)]
am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '66c28d86a47ed284492ffbe6a59d30bf201198cd':
  Split to multiple bash commands.

9 years agoam 042e3b75: am a65eb8c7: Split to multiple bash commands.
Ying Wang [Sat, 16 Aug 2014 00:23:56 +0000 (00:23 +0000)]
am 042e3b75: am a65eb8c7: Split to multiple bash commands.

* commit '042e3b75b4847f675848203f91396a1740579d69':
  Split to multiple bash commands.

9 years agoam a65eb8c7: Split to multiple bash commands.
Ying Wang [Sat, 16 Aug 2014 00:20:19 +0000 (00:20 +0000)]
am a65eb8c7: Split to multiple bash commands.

* commit 'a65eb8c7899751f91fd34824f755fa4708cde30b':
  Split to multiple bash commands.

9 years agoSplit to multiple bash commands.
Ying Wang [Fri, 26 Oct 2012 16:21:28 +0000 (09:21 -0700)]
Split to multiple bash commands.

This can fix the error "/bin/bash: Argument list too long", if we get a
really long apk list.
Link: http://code.google.com/p/android/issues/detail?id=38937
(cherry picked from commit d9a88d585f162c5b99c5c6f995c0400fc616bd26)

Change-Id: I80cd07cf50cc2b04e4b6aa9d5ecb1faf80d4cb5c

9 years agoam 989cdde7: am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am...
Ying Wang [Fri, 15 Aug 2014 23:48:21 +0000 (23:48 +0000)]
am 989cdde7: am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '989cdde7f4197521f8b74432e80f0eb492532cae':
  Split to multiple bash commands.

9 years agoam 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am...
Ying Wang [Fri, 15 Aug 2014 23:41:49 +0000 (23:41 +0000)]
am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '39ddf5fc79f01c774407468631da2249bad4e904':
  Split to multiple bash commands.

9 years agoam e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am...
Ying Wang [Fri, 15 Aug 2014 23:36:32 +0000 (23:36 +0000)]
am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit 'e3999d7d1ee7c891e3ee7f6108545aa183e22b1c':
  Split to multiple bash commands.

9 years agoam 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am...
Ying Wang [Fri, 15 Aug 2014 23:30:29 +0000 (23:30 +0000)]
am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '9aafe1861b269b32fdc6a42207a2197ddc38665d':
  Split to multiple bash commands.

9 years agoam 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split...
Ying Wang [Fri, 15 Aug 2014 23:22:46 +0000 (23:22 +0000)]
am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '9ec5c4d6f0fc9ef4b3285463175e5c8ff65b2bb3':
  Split to multiple bash commands.

9 years agoam 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple...
Ying Wang [Fri, 15 Aug 2014 23:16:35 +0000 (23:16 +0000)]
am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit '9b7a2912e77d9397cf8b2b5218d34c20995586f5':
  Split to multiple bash commands.

9 years agoam d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.
Ying Wang [Fri, 15 Aug 2014 23:10:07 +0000 (23:10 +0000)]
am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit 'd86851e11937bfebbfe42d1bb8b5e7526233781f':
  Split to multiple bash commands.

9 years agoam f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.
Ying Wang [Fri, 15 Aug 2014 23:03:22 +0000 (23:03 +0000)]
am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit 'f412865c322e045606c2b354a4e20b8aaf5c5efa':
  Split to multiple bash commands.

9 years agoam ff71c499: am 2ff73494: Split to multiple bash commands.
Ying Wang [Fri, 15 Aug 2014 22:59:26 +0000 (22:59 +0000)]
am ff71c499: am 2ff73494: Split to multiple bash commands.

* commit 'ff71c49950682d31c5df9f9b979cc942d32dab9c':
  Split to multiple bash commands.

9 years agoam 2ff73494: Split to multiple bash commands.
Ying Wang [Fri, 15 Aug 2014 22:53:33 +0000 (22:53 +0000)]
am 2ff73494: Split to multiple bash commands.

* commit '2ff73494bcc20d5812fd65a996c4a67016dbd8e8':
  Split to multiple bash commands.

9 years agoSplit to multiple bash commands.
Ying Wang [Fri, 26 Oct 2012 16:21:28 +0000 (09:21 -0700)]
Split to multiple bash commands.

This can fix the error "/bin/bash: Argument list too long", if we get a
really long apk list.
Link: http://code.google.com/p/android/issues/detail?id=38937
(cherry picked from commit d9a88d585f162c5b99c5c6f995c0400fc616bd26)

Change-Id: I80cd07cf50cc2b04e4b6aa9d5ecb1faf80d4cb5c

9 years agoMerge "Add compile time check for statically linked libc" into lmp-dev
Dmitriy Ivanov [Fri, 15 Aug 2014 22:00:00 +0000 (22:00 +0000)]
Merge "Add compile time check for statically linked libc" into lmp-dev

9 years agoAdd compile time check for statically linked libc
Dmitriy Ivanov [Fri, 15 Aug 2014 18:30:23 +0000 (11:30 -0700)]
Add compile time check for statically linked libc

Bug: 17047392
Change-Id: I2718422e1832ec5df7f362812ae2728dfd939076

9 years agoMerge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev
Narayan Kamath [Fri, 15 Aug 2014 13:06:50 +0000 (13:06 +0000)]
Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev

9 years agoMerge "Fix broken comparison in executable_prefer_symlink.mk" into lmp-dev
Narayan Kamath [Fri, 15 Aug 2014 09:22:26 +0000 (09:22 +0000)]
Merge "Fix broken comparison in executable_prefer_symlink.mk" into lmp-dev

9 years agoMerge "Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty). Change-Id...
Dehao Chen [Fri, 15 Aug 2014 08:19:53 +0000 (08:19 +0000)]
Merge "Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty). Change-Id: Icff260c7f866236254091b035782607a31e5a109" into lmp-dev

9 years agoExplicitly check if LOCAL_FDO_SUPPORT is true (instead of empty).
Dehao Chen [Thu, 7 Aug 2014 23:53:18 +0000 (16:53 -0700)]
Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty).
Change-Id: Icff260c7f866236254091b035782607a31e5a109

9 years agoMerge "Tweak sgrep to add cc and aidl files." into lmp-dev
Jeff Brown [Thu, 14 Aug 2014 20:06:31 +0000 (20:06 +0000)]
Merge "Tweak sgrep to add cc and aidl files." into lmp-dev

9 years agoFix broken comparison in executable_prefer_symlink.mk
Narayan Kamath [Thu, 14 Aug 2014 14:28:48 +0000 (15:28 +0100)]
Fix broken comparison in executable_prefer_symlink.mk

bug: 17024634
Change-Id: Ie9fdcbca1cbd6d204be57636864bb8074cd19732

9 years agoApply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so
Ying Wang [Thu, 14 Aug 2014 01:47:50 +0000 (18:47 -0700)]
Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so

This fixes mips unbundled build since we switched to mips64el toolchain
for both mips and mips64.
TODO: multilib build support.

Change-Id: I7add92d2cecfc3ab739785ceef6700240a25093a

9 years agoAdd atmel to vendor owner whitelist
Bill Yi [Wed, 13 Aug 2014 23:53:45 +0000 (16:53 -0700)]
Add atmel to vendor owner whitelist

BUG: 16463358

9 years agoPrint out the tree size of system directory if it failes to build system.img
Ying Wang [Wed, 13 Aug 2014 19:36:05 +0000 (12:36 -0700)]
Print out the tree size of system directory if it failes to build system.img

The tree size gives a good estimate of how big the system.img would be.

Change-Id: Iaadd58e3521b5f76cd9dfdcf384f4d820b9fc71b

9 years agoMerge "Skip extra fonts if not an extended font build." into lmp-dev
Deepanshu Gupta [Fri, 15 Aug 2014 04:03:28 +0000 (04:03 +0000)]
Merge "Skip extra fonts if not an extended font build." into lmp-dev

9 years agoSkip extra fonts if not an extended font build.
Deepanshu Gupta [Wed, 13 Aug 2014 18:39:51 +0000 (11:39 -0700)]
Skip extra fonts if not an extended font build.

This fixes build warning:
build/core/sdk_font.mk:51: warning: overriding commands for target
`out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NanumGothic.ttf'

Change-Id: I5e208faf25f6f5d1ae3fac9970c70e80e42c7dcd

9 years agoMerge "BuildBootImage: Add secondstage image support [DO NOT MERGE]" into lmp-dev
Pat Tjin [Thu, 14 Aug 2014 18:37:06 +0000 (18:37 +0000)]
Merge "BuildBootImage: Add secondstage image support [DO NOT MERGE]" into lmp-dev

9 years agoBuildBootImage: Add secondstage image support [DO NOT MERGE]
Benoit Fradin [Mon, 14 Jul 2014 19:00:43 +0000 (21:00 +0200)]
BuildBootImage: Add secondstage image support [DO NOT MERGE]

The AOSP bootimage format allows the use of a second stage image
however the BuildBootableImage function does not allows the "second"
optional argument. This patch adds the support of this argument.

Bug: 17035158

Change-Id: I8ed9d9e56449945c2d42fc908269921c394f68c0
Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Patrick Tjin <pattjin@google.com>
9 years agoMerge "save file block allocations in target_files" into lmp-dev
Doug Zongker [Wed, 13 Aug 2014 00:18:12 +0000 (00:18 +0000)]
Merge "save file block allocations in target_files" into lmp-dev

9 years agosave file block allocations in target_files
Doug Zongker [Tue, 12 Aug 2014 21:16:55 +0000 (14:16 -0700)]
save file block allocations in target_files

make_ext4fs can now output a file listing the blocks used for each
file in the image.  Request this file and save it in the target_files;
it will be used for future improvements to block OTAs.

Bug: 16984795
Change-Id: Id1e60465e3b5a9d126a7934b4d089cf34d8fec44

9 years agoam 02e57212: (-s ours) am e2ff12bf: DO NOT MERGE Bump version string.
Justin Koh [Tue, 12 Aug 2014 23:18:28 +0000 (23:18 +0000)]
am 02e57212: (-s ours) am e2ff12bf: DO NOT MERGE Bump version string.

* commit '02e572124860ad8588c65bb011f01fa9e8c37018':
  DO NOT MERGE Bump version string.

9 years agoMerge "Fix HOST_LIBRARY_PATH." into lmp-dev
Ying Wang [Thu, 14 Aug 2014 18:05:35 +0000 (18:05 +0000)]
Merge "Fix HOST_LIBRARY_PATH." into lmp-dev

9 years agoFix HOST_LIBRARY_PATH.
Ying Wang [Thu, 14 Aug 2014 18:03:56 +0000 (11:03 -0700)]
Fix HOST_LIBRARY_PATH.

Since we switched to $(HOST_OUT)/lib64 for 64-bit libraries and
$(HOST_OUT)/lib for 32-bit libraries.

Change-Id: Ie43bc03c37e2ac8542412a7543a6af5d60c6f725

9 years agoMerge "make com.android.mediadrm.signer available on all devices" into lmp-dev
Jeff Tinker [Thu, 14 Aug 2014 18:01:08 +0000 (18:01 +0000)]
Merge "make com.android.mediadrm.signer available on all devices" into lmp-dev

9 years agomake com.android.mediadrm.signer available on all devices
Jeff Tinker [Wed, 13 Aug 2014 18:27:59 +0000 (11:27 -0700)]
make com.android.mediadrm.signer available on all devices

bug: 16978496
Change-Id: I238e6fa7fc4e588f52f86130a2721c391959a94a

9 years agoam e2ff12bf: DO NOT MERGE Bump version string.
Justin Koh [Tue, 12 Aug 2014 23:14:33 +0000 (23:14 +0000)]
am e2ff12bf: DO NOT MERGE Bump version string.

* commit 'e2ff12bf2a6892ec56676b6a845a02e81b372e8c':
  DO NOT MERGE Bump version string.

9 years agoDO NOT MERGE Bump version string.
Justin Koh [Tue, 12 Aug 2014 20:55:57 +0000 (13:55 -0700)]
DO NOT MERGE Bump version string.

Bump version string for KKWT MR0
Bug: 16982332

Change-Id: I8636169362ec45891257c39fb47574a6e021a3f0

9 years agoMerge "Add list of all fonts shipped" into lmp-dev
Deepanshu Gupta [Tue, 12 Aug 2014 22:57:03 +0000 (22:57 +0000)]
Merge "Add list of all fonts shipped" into lmp-dev

9 years agoAdd list of all fonts shipped
Deepanshu Gupta [Tue, 12 Aug 2014 17:23:58 +0000 (10:23 -0700)]
Add list of all fonts shipped

Create a new file that lists all the fonts bundled with the SDK.

Change-Id: I269216ee753b78e0b0ee71c0ece4f6b759c36664

9 years agoMerge "Allow to strip everything for only some build variants." into lmp-dev
Ying Wang [Tue, 12 Aug 2014 20:30:15 +0000 (20:30 +0000)]
Merge "Allow to strip everything for only some build variants." into lmp-dev

9 years agoMerge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option." into lmp-dev
Alex Light [Tue, 12 Aug 2014 17:11:10 +0000 (17:11 +0000)]
Merge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option." into lmp-dev

9 years agoRemove services, wifi, ethernet from BOOTCLASSPATH.
Narayan Kamath [Tue, 5 Aug 2014 13:51:08 +0000 (14:51 +0100)]
Remove services, wifi, ethernet from BOOTCLASSPATH.

They belong to the system_server classpath.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600

9 years agoUpdate font list for the SDK
Deepanshu Gupta [Mon, 11 Aug 2014 22:20:02 +0000 (15:20 -0700)]
Update font list for the SDK

Java has a problem loading OpenType fonts. This change updates the list
of fonts to include by omitting the otf fonts and adding their
replacement.

This change also moves the code for configuring the fonts for the SDK in
a separate file so that the core Makefile remains cleaner.

Change-Id: Iaf30a3ec59adf251b79cb20f27ad88fc92205ac1

9 years agoAdd a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.
Alex Light [Tue, 5 Aug 2014 00:09:41 +0000 (17:09 -0700)]
Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.

If WITH_DEXOPT_BOOT_IMG_ONLY=true and WITH_DEXPREOPT=true then we will
only preopt the boot.art and boot.oat files, leaving everything else to
be compiled at first boot. This has fast startup times of WITH_DEXPREOPT
but has a smaller space usage and allows one to update the non-image
parts of /system without reflashing.

Bug: 16938924

(cherry picked from commit 440cc769a3617bf99546bdc7599c949e1e858943)

Change-Id: Ib366b6b5ad80f7078f01bf51f9fbc29ea7e5d777

9 years agoMerge "Add Mediatek and Sony to the list of vendor module owners." into lmp-dev
Wally Yau [Mon, 11 Aug 2014 17:55:32 +0000 (17:55 +0000)]
Merge "Add Mediatek and Sony to the list of vendor module owners." into lmp-dev

9 years agoMerge "Fix Windows SDK build." into lmp-dev
Dan Albert [Mon, 11 Aug 2014 17:28:34 +0000 (17:28 +0000)]
Merge "Fix Windows SDK build." into lmp-dev

9 years agoMerge "Inhibit implicit -Bsymolic in -shared." into lmp-dev
Dan Albert [Mon, 11 Aug 2014 17:27:56 +0000 (17:27 +0000)]
Merge "Inhibit implicit -Bsymolic in -shared." into lmp-dev

9 years agoMerge "Fix uses of -fPIC and -fPIE." into lmp-dev
Dan Albert [Mon, 11 Aug 2014 17:27:36 +0000 (17:27 +0000)]
Merge "Fix uses of -fPIC and -fPIE." into lmp-dev

9 years agoAllow to strip everything for only some build variants.
Ying Wang [Sun, 10 Aug 2014 23:19:04 +0000 (16:19 -0700)]
Allow to strip everything for only some build variants.

When LOCAL_STRIP_MODULE is keep_symbols, you can still use
STRIP_EVERYTHING_BUILD_VARIANTS in product configuration to strip
everything for some build variants, such as user build to save image
space.

Bug: 16897368
Change-Id: I2a1b7204e5c976387ddea8846c82e11a7b478d8d

9 years agoMerge "Use fonts from generic device for the SDK." into lmp-dev
Deepanshu Gupta [Sun, 10 Aug 2014 22:48:29 +0000 (22:48 +0000)]
Merge "Use fonts from generic device for the SDK." into lmp-dev

9 years agoUse fonts from generic device for the SDK.
Deepanshu Gupta [Fri, 1 Aug 2014 17:14:15 +0000 (10:14 -0700)]
Use fonts from generic device for the SDK.

This removes the explicit list of fonts for the SDK and replaces it with
the fonts built for the generic device.

Also, the symlinked fonts are copied becuase Windows doesn't support
symlinks.

Change-Id: I8b18b2ab0149ab24448f27dbd5f9716e5d360029

9 years agoMake the 32-bit architecture for arm64 generic.
Narayan Kamath [Fri, 8 Aug 2014 17:26:44 +0000 (18:26 +0100)]
Make the 32-bit architecture for arm64 generic.

The idea is that we want to be able to build a single 32+64 APK
whose 32 bit code can run on 32 bit devices, where we can't assume
cortex-a15 or NEON.

Change-Id: Ia6bf400fa472924a94b08cef83e9e5dea09222ab

9 years agoFix Windows SDK build.
Dan Albert [Fri, 8 Aug 2014 01:29:11 +0000 (18:29 -0700)]
Fix Windows SDK build.

Bug: 16823325
Change-Id: Ia2a318957aa525f0e72b556a693a20f513146b64
(cherry picked from commit 95994def18dbf2672040105fb61f17b57e8b7fe4)

9 years agoInhibit implicit -Bsymolic in -shared.
Dan Albert [Tue, 5 Aug 2014 21:44:41 +0000 (14:44 -0700)]
Inhibit implicit -Bsymolic in -shared.

Bug: 16853291

Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
(cherry picked from commit b6bb71b85d506dcc4763290d72c4168afd541f7d)

9 years agoFix uses of -fPIC and -fPIE.
Dan Albert [Wed, 6 Aug 2014 19:36:46 +0000 (12:36 -0700)]
Fix uses of -fPIC and -fPIE.

We've been using -fPIC and -fPIE together in the global cflags all this
time. These options are incompatible. The only reason we haven't been
hit by this before is because of the forced -Bsymbolic in GCC. To fix
this, pass -fpic when compiling objects for shared libraries and -fpie
when compiling objects for executables. For static libraries, also use
-fpic. We have to do this because static libraries might be included in
either a shared library or an executable. Code compiled with -fpie
cannot be included in a shared library, but code compiled with -fpic
may be included in an executable.

We've also been using -fpic and -fPIC together. These are different
options, and only the latter will take effect.
http://stackoverflow.com/a/967010

The final thing this fixes is that we had -f(PIC|PIE) flags being passed
to link commands. These are compile time flags, and don't do anything at
link time.

Bug: 16823325
Change-Id: Ic76f47e63dc2c81b7e1a8058bae1b3dc8565d606
(cherry picked from commit 4803ce2696950f8c27c83de4fe46ae196f35af16)

9 years agoAdd Mediatek and Sony to the list of vendor module owners.
Wally Yau [Fri, 8 Aug 2014 13:54:25 +0000 (06:54 -0700)]
Add Mediatek and Sony to the list of vendor module owners.

Change-Id: I72942d93303760cb5484f9a6691c36ea69f0e8e5

9 years agoMove from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]
Brian Carlstrom [Tue, 29 Jul 2014 02:13:27 +0000 (19:13 -0700)]
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]

This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413

(cherry picked from commit 4d30e5e2604a77df2acd41e36cbca54cd42cbf0a)

Change-Id: I84e8038c6536291e6775f39b33556b8169fdf292

9 years agoresolved conflicts for merge of a8138028 to lmp-dev-plus-aosp
Brian Carlstrom [Wed, 30 Jul 2014 16:53:12 +0000 (09:53 -0700)]
resolved conflicts for merge of a8138028 to lmp-dev-plus-aosp

(cherry picked from commit 4a5a11e416425689d9f37a1963ae852051b451d2)

Change-Id: Ic5c2297d50f2e59ca5b1eb0c3b81328d23a48253

9 years agoMake system use patchoat to relocate during runtime.
Alex Light [Thu, 24 Jul 2014 23:26:13 +0000 (16:26 -0700)]
Make system use patchoat to relocate during runtime.

Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.

Bug: 15358152

(cherry picked from commit ce090d3f4508cb9130ab700833ae51a7fff8b373)

Change-Id: I75a1eec3a38d6bce1f678c510d57849f8dfa04fa

9 years agoMerge "Change profile use path to the newly created project." into lmp-dev
Dehao Chen [Wed, 6 Aug 2014 03:06:49 +0000 (03:06 +0000)]
Merge "Change profile use path to the newly created project." into lmp-dev

9 years agoChange profile use path to the newly created project.
Dehao Chen [Tue, 5 Aug 2014 22:08:06 +0000 (15:08 -0700)]
Change profile use path to the newly created project.

Change-Id: I3221a3b18e16d6a50cbc561c9cae1d1ab3999090

9 years agoMerge "Revert "HACK: report CPU abi as 2nd arch if present"" into lmp-dev
Colin Cross [Tue, 5 Aug 2014 22:28:54 +0000 (22:28 +0000)]
Merge "Revert "HACK: report CPU abi as 2nd arch if present"" into lmp-dev

9 years agoRevert "HACK: report CPU abi as 2nd arch if present"
Colin Cross [Tue, 5 Aug 2014 17:54:14 +0000 (10:54 -0700)]
Revert "HACK: report CPU abi as 2nd arch if present"

This reverts commits 8179d4dcf658f195aa21040b88cc0e70e66cdcd5,
00c67a056837b5ebda1bda950265a1fa086b4e53, and
d00c0a2e20c5df26066d44175a8da29ccf4e76a6.

Bug: 15933961

9 years agoMerge "[MIPSR6] Add mips64r6 and mips32r6 targets" into lmp-dev
Ying Wang [Tue, 5 Aug 2014 21:05:01 +0000 (21:05 +0000)]
Merge "[MIPSR6] Add mips64r6 and mips32r6 targets" into lmp-dev

9 years ago[MIPSR6] Add mips64r6 and mips32r6 targets
Duane Sand [Wed, 9 Jul 2014 20:30:52 +0000 (13:30 -0700)]
[MIPSR6] Add mips64r6 and mips32r6 targets

Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.

Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.

(cherry picked from commit 6bab974cdc90cb3a7514c7255b6e6adfb9c98e2b)

Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77