OSDN Git Service

android-x86/build.git
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 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

9 years ago[MIPS64] Enable mips64 clang
Duane Sand [Tue, 3 Jun 2014 23:05:59 +0000 (16:05 -0700)]
[MIPS64] Enable mips64 clang

(cherry picked from commit 41ca4446370ba90e472e45a8897868855185a6c7)

Change-Id: I0b141c58c88fe86e3a59844f53acc9a0e0a5271c

9 years ago[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
Duane Sand [Tue, 22 Jul 2014 21:34:00 +0000 (14:34 -0700)]
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains

Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.

Also: drop unused  soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.

(cherry picked from commit 6670e24aed1ca66f21a6af759a0d156bb3df1739)

Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b

9 years agoMerge "[MIPS64] Enable mips64 clang" into lmp-dev
Ying Wang [Tue, 5 Aug 2014 21:04:48 +0000 (21:04 +0000)]
Merge "[MIPS64] Enable mips64 clang" into lmp-dev

9 years agoMerge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains" into lmp-dev
Ying Wang [Tue, 5 Aug 2014 21:04:37 +0000 (21:04 +0000)]
Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains" into lmp-dev

9 years agoadd 5 minute timeout on binary patch construction
Doug Zongker [Tue, 5 Aug 2014 17:39:37 +0000 (10:39 -0700)]
add 5 minute timeout on binary patch construction

When making bsdiff/imgdiff patches, give up after 5 minutes.  (On
certain large files it can take hours to build a patch, if it ever
even completes.)

Change-Id: I123c06f8194f85f6f4e640f7eb31c7746f76ba4d

9 years agoMerge "fall back to generating full OTA if incremental fails" into lmp-dev
Doug Zongker [Mon, 4 Aug 2014 23:08:54 +0000 (23:08 +0000)]
Merge "fall back to generating full OTA if incremental fails" into lmp-dev

9 years agofall back to generating full OTA if incremental fails
Doug Zongker [Mon, 4 Aug 2014 23:06:43 +0000 (16:06 -0700)]
fall back to generating full OTA if incremental fails

Block incremental OTA generation can currently fail on some
target-files pairs.  Fall back to generating a full OTA so that the
script succeeds rather than failing.

Change-Id: Ide70395d1f3759aa2076bd173836f6a5e5b397c0

9 years agoMerge "Don't apply PRODUCT_AAPT_PREF_CONFIG if LOCAL_PACKAGE_SPLITS is set" into...
Ying Wang [Wed, 30 Jul 2014 20:44:35 +0000 (20:44 +0000)]
Merge "Don't apply PRODUCT_AAPT_PREF_CONFIG if LOCAL_PACKAGE_SPLITS is set" into lmp-dev

9 years agoDon't apply PRODUCT_AAPT_PREF_CONFIG if LOCAL_PACKAGE_SPLITS is set
Ying Wang [Wed, 30 Jul 2014 20:40:14 +0000 (13:40 -0700)]
Don't apply PRODUCT_AAPT_PREF_CONFIG if LOCAL_PACKAGE_SPLITS is set

Bug: 16319961
Change-Id: I8ea308c94ff58eaccd8854ab98e11238b993f867

9 years agoRevert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
Ying Wang [Tue, 29 Jul 2014 21:08:33 +0000 (14:08 -0700)]
Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""

This reverts commit a4f84fdfed9a805d69b37de997512cd0616b3ff8.
Added "export CCACHE_CPP2 := true" to work around ccache bug with clang.
See:
http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html

Change-Id: I2b1fa8fd59c3a113c4028a92a1d16018133c9792

9 years agoFix error: 'NoneType' object is not iterable
Ying Wang [Tue, 29 Jul 2014 18:42:37 +0000 (11:42 -0700)]
Fix error: 'NoneType' object is not iterable

Change-Id: I5a54edbed0e5e5481a570b93c07d50f6ca3e18e0

9 years agoTweak sgrep to add cc and aidl files.
Jeff Brown [Sat, 26 Jul 2014 22:15:41 +0000 (15:15 -0700)]
Tweak sgrep to add cc and aidl files.

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

Change-Id: I11403e63bc421fd146ad88452eac05043eacabc3

9 years agoAdd opus entries in generic makefiles.
Vignesh Venkatasubramanian [Wed, 28 May 2014 15:06:11 +0000 (08:06 -0700)]
Add opus entries in generic makefiles.

libopus is necessary for opus software decoding support. add that to
base.mk and add an entry for libstagefright_soft_opusdec to
core_base.mk.

Change-Id: Iddd6ab2b2a84bb966b7e635a6aa73efb6a803e98

9 years agoAdd libdrmclearkeyplugin.so to image.
Edwin Wong [Thu, 24 Jul 2014 01:46:57 +0000 (18:46 -0700)]
Add libdrmclearkeyplugin.so to image.

The library will be added to /system/vendor/lib/mediadrm.

Change-Id: Iebfd00077c2a13e4ad4296aedba21230a7e4f37f

9 years agoMerge "Remove webviewchromium from PRODUCT_BOOT_JARS." into lmp-dev
Ben Murdoch [Fri, 1 Aug 2014 16:47:47 +0000 (16:47 +0000)]
Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." into lmp-dev

9 years agoMerge "store images in target-files" into lmp-dev
Doug Zongker [Thu, 31 Jul 2014 22:33:19 +0000 (22:33 +0000)]
Merge "store images in target-files" into lmp-dev

9 years agostore images in target-files
Doug Zongker [Thu, 31 Jul 2014 18:06:30 +0000 (11:06 -0700)]
store images in target-files

Store sparse images in the target-files, and use those (when they're
available) for building block OTAs.

- New script add_img_to_target_files is added to make the images and
  add them to the IMAGES/ subdir in the target-files.  It gets run
  from the Makefile when building a target-files.

- img_from_target_files becomes mostly vestigial: it creates the
  img.zip by just copying the images out of the target-files.  (It
  still knows how to build images for use on older target-files.)

- ota_from_target_files uses images from the target-files in
  preference to rebuilding images from the source files.

- sign_apk_target_files builds images and includes them in its output
  target files (even if the input target-files didn't have them).

Bug: 16488065
Change-Id: I444e0d722d636978209467ffc01750a585c6db75

9 years agoMerge "Update the FDO support:" into lmp-dev
Dehao Chen [Thu, 31 Jul 2014 16:43:17 +0000 (16:43 +0000)]
Merge "Update the FDO support:" into lmp-dev

9 years agoUpdate the FDO support:
Dehao Chen [Wed, 30 Jul 2014 23:22:53 +0000 (16:22 -0700)]
Update the FDO support:

* Explicitly check BUILD_FDO_INSTRUMENT and BUILD_FDO_OPTIMIZE with true
* Remove unnecessary target_libgcov
* Update the profile collection path on device so that most app can have write access

Change-Id: I5c1915a12ea37b2cb3c76a27e7104e47ad636928

9 years agoMerge "Default to "prescott" as our baseline i686 host build architecture." into...
Stephen Hines [Fri, 25 Jul 2014 19:54:37 +0000 (19:54 +0000)]
Merge "Default to "prescott" as our baseline i686 host build architecture." into lmp-dev

9 years agoSwitch NDK arm64 libraries to 4.9.
Przemyslaw Szczepaniak [Thu, 17 Jul 2014 16:54:41 +0000 (17:54 +0100)]
Switch NDK arm64 libraries to 4.9.

Change-Id: Iffc30e34b798896d9259ca1dfc3ff2d21683d6a4
(cherry picked from commit 5895dd13a7c96a3100048dae8fc1195abc8c9beb)

9 years agoDefault to "prescott" as our baseline i686 host build architecture.
Stephen Hines [Sat, 19 Jul 2014 00:34:14 +0000 (17:34 -0700)]
Default to "prescott" as our baseline i686 host build architecture.

Bug: 16408818

Change-Id: I41760605bf9f4589859afd20cc96ccbedb6fe82c

9 years agoMerge "Fix doc target for multidex support library." into lmp-dev
Yohann Roussel [Tue, 29 Jul 2014 09:30:14 +0000 (09:30 +0000)]
Merge "Fix doc target for multidex support library." into lmp-dev

9 years agoFix doc target for multidex support library.
Yohann Roussel [Thu, 24 Jul 2014 15:24:30 +0000 (17:24 +0200)]
Fix doc target for multidex support library.

(cherry picked from commit 5679e356d298c58e839f03c45050192e813e79f8)

Change-Id: I2e97f59796046d94c9b03dbc89ec1d2153b54ce1

9 years agoSupport to set up TARGET_COPY_OUT_VENDOR in board config.
Ying Wang [Thu, 24 Jul 2014 03:20:49 +0000 (20:20 -0700)]
Support to set up TARGET_COPY_OUT_VENDOR in board config.

We first define TARGET_COPY_OUT_VENDOR as a placeholder. In product
config makefiiles we actually get the placeholders in
PRODUCT_COPY_FILES. A device can set up TARGET_COPY_OUT_VENDOR in its
BoardConfig.mk. We substitute the placeholder with the real
TARGET_COPY_OUT_VENDOR value after loading the BoardConfig.mk.
With this change, we can support building vendor stuff to
system.img (the default) or a separate vendor.img.

Bug: 16515152
Change-Id: I5b601d7a8b34fe032a1bac02aa5c204a3765691d

9 years agoMerge "Refactor FDO support code to ensure arm64 can also be built with FDO." into...
Dehao Chen [Wed, 23 Jul 2014 23:44:54 +0000 (23:44 +0000)]
Merge "Refactor FDO support code to ensure arm64 can also be built with FDO." into lmp-dev

9 years agoRefactor FDO support code to ensure arm64 can also be built with FDO.
Dehao Chen [Wed, 23 Jul 2014 21:28:58 +0000 (14:28 -0700)]
Refactor FDO support code to ensure arm64 can also be built with FDO.

Change-Id: I752c9f411b0a046a15c72b4837efc1fb0503b470

9 years agoMerge "Support to install prebuilt split APKs with LOCAL_PACKAGE_SPLITS" into lmp-dev
Ying Wang [Wed, 23 Jul 2014 23:38:43 +0000 (23:38 +0000)]
Merge "Support to install prebuilt split APKs with LOCAL_PACKAGE_SPLITS" into lmp-dev

9 years agoSupport to install prebuilt split APKs with LOCAL_PACKAGE_SPLITS
Ying Wang [Wed, 23 Jul 2014 21:35:40 +0000 (14:35 -0700)]
Support to install prebuilt split APKs with LOCAL_PACKAGE_SPLITS

In prebuilt app module, you can use LOCAL_PACKAGE_SPLITS to specify a
list of prebuilt split apks. The build system will sign and zipalign the
apks and install them with the same file names.
Note that you need to put all the source split apks in the same folder.

Bug: 16319961
Change-Id: Id2b6d743c1edc5e436007ec11acece1748adad45

9 years agoMerge "Improve rules of split apks." into lmp-dev
Ying Wang [Wed, 23 Jul 2014 23:38:29 +0000 (23:38 +0000)]
Merge "Improve rules of split apks." into lmp-dev

9 years agoImprove rules of split apks.
Ying Wang [Wed, 23 Jul 2014 17:27:57 +0000 (10:27 -0700)]
Improve rules of split apks.

- Better messaging if the expected split apk isn't generated by the aapt
  command in the base apk rule; Remove the built base apk, so make will
  rerun aapt after the user changes the splitting parameters.
- Use cleaner static pattern rules instead of running $(foreach) with
  $(eval).

Bug: 16319961
Change-Id: If6ae302e1a39d2e0db8f784d4e1cf292ec855281

9 years agoDelete .swp file added by accident.
Ying Wang [Wed, 23 Jul 2014 00:42:35 +0000 (17:42 -0700)]
Delete .swp file added by accident.

Also added .swp to .gitignore.

Change-Id: I51700f55230facde2e46574aa039d45ae5b29cdf

9 years agoSupport LOCAL_PACKAGE_SPLITS.
Ying Wang [Tue, 22 Jul 2014 22:42:11 +0000 (15:42 -0700)]
Support LOCAL_PACKAGE_SPLITS.

Support LOCAL_PACKAGE_SPLITS, which accepts a list of resource lables
and generates multiple apks. The build system sets up rules to sign and
zipalign the split apks.

Bug: 16319961
Change-Id: I344b3d1c7eb158c6d0df879093d666a89870aadd

9 years agoMerge "Add appwidget to system image." into lmp-dev
Svet Ganov [Wed, 23 Jul 2014 17:12:06 +0000 (17:12 +0000)]
Merge "Add appwidget to system image." into lmp-dev

9 years agoPut only src in FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS for multidex
Yohann Roussel [Thu, 17 Jul 2014 14:52:58 +0000 (16:52 +0200)]
Put only src in FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS for multidex

This keeps only the real sources in doc target and fixes some error
messages caused by trying to generate docs of the tests.

(cherry picked from commit 100aba5374376f679602387db59fccd609b8abe3)

Change-Id: I39f3ede95ae68777ca5e3db4ab5c6ebeefc86ac6

9 years agoMerge "Create a vendor build.prop for verifying versions" into lmp-dev
Daniel Rosenberg [Tue, 22 Jul 2014 22:21:09 +0000 (22:21 +0000)]
Merge "Create a vendor build.prop for verifying versions" into lmp-dev

9 years agoCreate a vendor build.prop for verifying versions
Daniel Rosenberg [Tue, 22 Jul 2014 00:21:20 +0000 (17:21 -0700)]
Create a vendor build.prop for verifying versions

The vendor build.prop contains the fingerprint for the build, and
timestamps. It allows you to tell if the vendor partition matches
the system partition.

Change-Id: Icf261571e82823928b2562e66e48fbcb0da55801
Signed-off-by: Daniel Rosenberg <drosen@google.com>
9 years agoAdd appwidget to system image.
Svet Ganov [Mon, 21 Jul 2014 05:58:24 +0000 (22:58 -0700)]
Add appwidget to system image.

Change-Id: I0d5db3f39390065ec5067bb9a15924fdcb181692

10 years agoMerge "Normalize SDK product name to sdk_<device_type>_<arch_name>" into lmp-dev
Ying Wang [Mon, 21 Jul 2014 16:48:21 +0000 (16:48 +0000)]
Merge "Normalize SDK product name to sdk_<device_type>_<arch_name>" into lmp-dev

10 years agoMerge "Support "LOCAL_SDK_VERSION := system_current"" into lmp-dev
Ying Wang [Mon, 21 Jul 2014 16:44:28 +0000 (16:44 +0000)]
Merge "Support "LOCAL_SDK_VERSION := system_current"" into lmp-dev

10 years agoFix LMP locales
Baligh Uddin [Sun, 20 Jul 2014 17:24:20 +0000 (10:24 -0700)]
Fix LMP locales

Change-Id: Iee1ac47212139ef9df541aa9f77cec42ded6a0ca
Bug: 13437459

10 years agoSupport "LOCAL_SDK_VERSION := system_current"
Ying Wang [Sun, 20 Jul 2014 00:00:50 +0000 (17:00 -0700)]
Support "LOCAL_SDK_VERSION := system_current"

A module can declare "LOCAL_SDK_VERSION := system_current" to build
against the android system stubs generated from source.
For now this is only supported in platform build.

Change-Id: I1e9bbd159886bc0ea3a02b1dc4cbcb1a56e9cb15

10 years agoTrim down BUILD_FINGERPRINT.
Ying Wang [Fri, 13 Jun 2014 01:42:53 +0000 (18:42 -0700)]
Trim down BUILD_FINGERPRINT.

Bug: 15593959
Change-Id: I90161045b5d5f2df726a4f69740f0875c8bfc69f

Conflicts:
core/build_id.mk

10 years agoUpdate rule of APPS_ZIP to use the new paths of apks.
Ying Wang [Sat, 19 Jul 2014 02:15:15 +0000 (19:15 -0700)]
Update rule of APPS_ZIP to use the new paths of apks.

Bug: 16319961
Change-Id: I9fc93f329a34e404beaf3fa212772b731a7020ff

10 years agoNormalize SDK product name to sdk_<device_type>_<arch_name>
Ying Wang [Fri, 18 Jul 2014 22:36:30 +0000 (15:36 -0700)]
Normalize SDK product name to sdk_<device_type>_<arch_name>

Put the common pieces in sdk_base.mk.
Still keep the old names as aliases.
Bug: 16216170

Change-Id: I39a438843c8b09df1aafff142bd9987962f11ef8

10 years agoam 6190a0c3: back port cc6be0a3: wrap make. do not merge
Ed Heyl [Fri, 18 Jul 2014 18:38:24 +0000 (18:38 +0000)]
am 6190a0c3: back port cc6be0a3: wrap make. do not merge

* commit '6190a0c3b33ea43639a7e748182fbac62560a09d':
  back port cc6be0a3: wrap make. do not merge

10 years agoback port cc6be0a3: wrap make. do not merge
Ed Heyl [Fri, 18 Jul 2014 17:53:54 +0000 (10:53 -0700)]
back port cc6be0a3: wrap make. do not merge

Bug: 16368823 | Lunch sets $out with extra text
Change-Id: I2a1d422865a073cd30e86f1e20b4d99a3747cc0b