OSDN Git Service

android-x86/build.git
9 years agoMerge "Support "LOCAL_FDO_SUPPORT := always"."
Dan Albert [Fri, 13 Mar 2015 23:17:51 +0000 (23:17 +0000)]
Merge "Support "LOCAL_FDO_SUPPORT := always"."

9 years agoMerge "Set up environmental variable PATH before calling releasetools scripts."
Dan Albert [Fri, 13 Mar 2015 23:17:25 +0000 (23:17 +0000)]
Merge "Set up environmental variable PATH before calling releasetools scripts."

9 years agoMerge "include oem.prop files in otatools_package"
Dan Albert [Fri, 13 Mar 2015 23:17:01 +0000 (23:17 +0000)]
Merge "include oem.prop files in otatools_package"

9 years agoMerge "DO NOT MERGE: Bundle libc++.so into otatools-package."
Dan Albert [Fri, 13 Mar 2015 20:44:08 +0000 (20:44 +0000)]
Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."

9 years agoMerge "add otatools-package target"
Dan Albert [Fri, 13 Mar 2015 20:32:58 +0000 (20:32 +0000)]
Merge "add otatools-package target"

9 years agoMerge "Do not use block_verify on target-files where feature is missing."
Dan Albert [Fri, 13 Mar 2015 20:31:40 +0000 (20:31 +0000)]
Merge "Do not use block_verify on target-files where feature is missing."

9 years agoSupport "LOCAL_FDO_SUPPORT := always".
Ying Wang [Tue, 28 Oct 2014 21:50:59 +0000 (14:50 -0700)]
Support "LOCAL_FDO_SUPPORT := always".

"LOCAL_FDO_SUPPORT := always" enables FDO without user specifying
"BUILD_FDO_OPTIMIZE := true", i.e. it turns on FDO for a
module in any build configuration.

Change-Id: I05d8db2edb2b3f5db073fa14d5bf1083a04571c0
(cherry picked from commit 45d0143ab1155ff33c3ad63ca19a64d7f69086f4)

9 years agoSet up environmental variable PATH before calling releasetools scripts.
Ying Wang [Tue, 10 Feb 2015 01:20:06 +0000 (17:20 -0800)]
Set up environmental variable PATH before calling releasetools scripts.

Some releasetools python sripts rely on $PATH to search for the
executables. With this change, you don't need to run lunch even after you
change the build system variable OUT_DIR.

Bug: 19320328
Change-Id: Ia44b11084fb1bdcceb60b1d33cb7e460c9b705a8
(cherry picked from commit 9d252e10096d4f730f39662e81489e4a13752d29)

9 years agoinclude oem.prop files in otatools_package
Doug Zongker [Mon, 25 Aug 2014 15:08:26 +0000 (08:08 -0700)]
include oem.prop files in otatools_package

Change-Id: I2f28936edda5d8d9bff6213828c16d607263cd95
(cherry picked from commit ce43bc8df2fae960eb02e56a55d365e7c18a1fc1)

9 years agoDO NOT MERGE: Bundle libc++.so into otatools-package.
Jesse Zhao [Wed, 10 Dec 2014 18:52:50 +0000 (10:52 -0800)]
DO NOT MERGE: Bundle libc++.so into otatools-package.

Change-Id: I6b7d16eca18dce3e2990464f3d1a34740ad8a8ee
(cherry picked from commit f7daa92cff1de4a03616b0851f303830bee0de0b)

9 years agoadd otatools-package target
Doug Zongker [Fri, 22 Aug 2014 15:04:58 +0000 (08:04 -0700)]
add otatools-package target

Add a target to zip up all the otatools and releasetools, for easy
copying to the OTA builder machine.

Change-Id: If14b4afefcc1a20ea19dfca3f3b9f9fae73189a6
(cherry picked from commit f22b0f43efbc16c548692dc239a387edda15d78f)

9 years agoDo not use block_verify on target-files where feature is missing.
Michael Runge [Thu, 12 Feb 2015 03:28:08 +0000 (19:28 -0800)]
Do not use block_verify on target-files where feature is missing.

This will only be used when the block file format is at least
version 3.  For V1/V2 (L, L MR1) block versions, fall back to
the old range_sha1 check.

Bug: 19357591
Change-Id: I7cb178b70d48ec3c98cdb88ed1c94cf7797a01d0
(cherry picked from commit cad78c12fbb44b6030bcc80823c010e65b9c3f37)

9 years agoMerge "[Renderscript] making librsjni.so be packed with apks when v8.renderscript...
Dan Albert [Fri, 13 Mar 2015 17:27:45 +0000 (17:27 +0000)]
Merge "[Renderscript] making librsjni.so be packed with apks when v8.renderscript is needed, even for bundled apps."

9 years ago[Renderscript] making librsjni.so be packed with apks when
Miao Wang [Fri, 13 Feb 2015 00:22:59 +0000 (16:22 -0800)]
[Renderscript] making librsjni.so be packed with apks when
v8.renderscript is needed, even for bundled apps.

Bug: 19343399
Change-Id: I461e244be15e08d4525439bc042529314c84031e
(cherry picked from commit c919b0ba88c0a7ce4b8722b4e3befbc81a652422)

9 years agoMerge "Fix the error that free_string is not defined."
Sami Tolvanen [Fri, 13 Mar 2015 11:02:19 +0000 (11:02 +0000)]
Merge "Fix the error that free_string is not defined."

9 years agoMerge "Change transfer list format to include block hashes"
Sami Tolvanen [Fri, 13 Mar 2015 11:02:02 +0000 (11:02 +0000)]
Merge "Change transfer list format to include block hashes"

9 years agoMerge "Update x86_64 minimal ISA instruction set"
Christopher Ferris [Fri, 13 Mar 2015 04:18:17 +0000 (04:18 +0000)]
Merge "Update x86_64 minimal ISA instruction set"

9 years agoMerge "JIT default opt-in"
Mathieu Chartier [Fri, 13 Mar 2015 01:24:32 +0000 (01:24 +0000)]
Merge "JIT default opt-in"

9 years agoJIT default opt-in
Mathieu Chartier [Thu, 12 Mar 2015 01:45:47 +0000 (18:45 -0700)]
JIT default opt-in

Bug: 17950037
Change-Id: I97fd6b1797e54ad3dea1930889f32a717543490d

9 years agoUpdate x86_64 minimal ISA instruction set
Mingwei Shi [Mon, 9 Mar 2015 11:44:49 +0000 (19:44 +0800)]
Update x86_64 minimal ISA instruction set

Change-Id: I3ca7f8a0799e6aef09ab1dfb719d218c7338ebf8
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
9 years agoMerge "Use "rsync -a" to copy over $(TARGET_ROOT_OUT) to $(TARGET_RECOVERY_OUT)"
Ying Wang [Wed, 11 Mar 2015 23:57:07 +0000 (23:57 +0000)]
Merge "Use "rsync -a" to copy over $(TARGET_ROOT_OUT) to $(TARGET_RECOVERY_OUT)"

9 years agoUse "rsync -a" to copy over $(TARGET_ROOT_OUT) to $(TARGET_RECOVERY_OUT)
Ying Wang [Wed, 11 Mar 2015 23:44:12 +0000 (16:44 -0700)]
Use "rsync -a" to copy over $(TARGET_ROOT_OUT) to $(TARGET_RECOVERY_OUT)

"cp -Rf" fails on Mac OS when some broken symlinks exist in the dest
dir.
Also switch to better shell error handling when copying
init.recovery.*.rc.

Change-Id: Idd05f7604736b234619f62be12dd108fac91fed1

9 years agoMerge "Contain obj of ../ source files in their intermediate dir."
Ying Wang [Wed, 11 Mar 2015 20:43:40 +0000 (20:43 +0000)]
Merge "Contain obj of ../ source files in their intermediate dir."

9 years agoMerge "Build only 64-bit odex for system server jars."
Ying Wang [Wed, 11 Mar 2015 20:43:32 +0000 (20:43 +0000)]
Merge "Build only 64-bit odex for system server jars."

9 years agoMerge "Support modules to be installed directly to recovery.img"
Ying Wang [Wed, 11 Mar 2015 17:40:54 +0000 (17:40 +0000)]
Merge "Support modules to be installed directly to recovery.img"

9 years agoSupport modules to be installed directly to recovery.img
Ying Wang [Tue, 10 Mar 2015 19:02:57 +0000 (12:02 -0700)]
Support modules to be installed directly to recovery.img

Previously the recovery binary was configured to be installed to the
system.img and then got copied to recovery.img in the recovery.img's
build rule.
With this change, a module, such as the recovery binary, can configure
itself to be installed directly to the recovery.img, just like how other
modules get installed to system.img.

Bug: 19667686
Change-Id: I46b0b4a95cf078a68999db9c0f6635d6a3f5cd86

9 years agoFix the error that free_string is not defined.
Jesse Zhao [Tue, 3 Mar 2015 00:53:08 +0000 (16:53 -0800)]
Fix the error that free_string is not defined.

Change-Id: I7490a91ea930daaf194dad0c8b3a3357558b4770
Bug:19573713
(cherry picked from commit 7ca20d1a1c422dddbdca97c7927cfadd6c38dc68)

9 years agoChange transfer list format to include block hashes
Sami Tolvanen [Tue, 9 Dec 2014 16:40:34 +0000 (16:40 +0000)]
Change transfer list format to include block hashes

Add source and target block hashes as parameters to transfer list
commands that copy or patch data to a partition. This allows the
updater to verify the status of each command in the transfer list
and makes resuming block based OTAs possible. Due to the changes,
update the transfer list version to 3.

Needs matching changes from
  I1e752464134aeb2d396946348e6041acabe13942

Bug: 18262110
Change-Id: Ia5c56379f570047f10f0aa7373a1025439495c98
(cherry picked from commit cac671a9d175039ecbfe3cd84fe10b183aab1f8a)

9 years agoMerge "Signapk.java: hide the password"
Ying Wang [Wed, 11 Mar 2015 16:45:59 +0000 (16:45 +0000)]
Merge "Signapk.java: hide the password"

9 years agoMerge "Support .asm being compiled by yasm targeted for x86_64."
Ying Wang [Wed, 11 Mar 2015 16:37:25 +0000 (16:37 +0000)]
Merge "Support .asm being compiled by yasm targeted for x86_64."

9 years agoMerge "Increase system and userdata partition sizes."
Ying Wang [Wed, 11 Mar 2015 16:37:08 +0000 (16:37 +0000)]
Merge "Increase system and userdata partition sizes."

9 years agoIncrease system and userdata partition sizes.
Douglas Leung [Tue, 10 Mar 2015 23:09:19 +0000 (16:09 -0700)]
Increase system and userdata partition sizes.

The extra system space is needed for mips64r6/mips32r6 quick
mode images and the extra userdata is needed to run ART tests.

Change-Id: I96dc1553d950dcf046b57feff10a369e9155bd4d

9 years agoContain obj of ../ source files in their intermediate dir.
Ying Wang [Wed, 11 Mar 2015 01:03:11 +0000 (18:03 -0700)]
Contain obj of ../ source files in their intermediate dir.

Previously when a file in LOCAL_SRC_FILES starts with "../", the object
file may escape out of the module's intermediate directory, because we
insert the source file's path (but not with LOCAL_PATH) to the object
file's path. Even worse when two object files escape to the same destination
and cause conflict.
This change fixes the issue by removing the "../" inside the object
files' paths. To do that, we have to set up the compilation rules for
those files one by one, instead of using the one-for-all static
pattern rules.

Bug: 19641115
Change-Id: I19f3c48ece3244fa14acb2caa609deea710840d3

9 years agoBuild only 64-bit odex for system server jars.
Ying Wang [Tue, 10 Mar 2015 00:17:51 +0000 (17:17 -0700)]
Build only 64-bit odex for system server jars.

By default we build both 64-bit and 32-bit odex files for a Java library.
With this change:
- For system server jars (PRODUCT_SYSTEM_SERVER_JARS), we build only
  64-bit odex;
- A library can opt to build only 64-bit odex with
  "LOCAL_MULTILIB := first".

Bug: 19650934
Change-Id: Ic0b7fd381396ed276e6129f883881c5c41c6e154

9 years agoSupport .asm being compiled by yasm targeted for x86_64.
Ying Wang [Tue, 10 Mar 2015 01:57:40 +0000 (18:57 -0700)]
Support .asm being compiled by yasm targeted for x86_64.

Change-Id: Ia6425c38dd2f7ad2dc697213cd61b7515b9e7aff

9 years agoam 708b56ed: Merge "Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty."
Christopher Ferris [Sat, 7 Mar 2015 17:09:20 +0000 (17:09 +0000)]
am 708b56ed: Merge "Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty."

* commit '708b56edc879847f418108cf360bc990bb2a502a':
  Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty.

9 years agoMerge "Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty."
Christopher Ferris [Fri, 6 Mar 2015 21:27:47 +0000 (21:27 +0000)]
Merge "Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty."

9 years agoam 9a0382ff: Merge "Build: Fail preopting apps when there are verifier errors"
Andreas Gampe [Fri, 6 Mar 2015 19:16:47 +0000 (19:16 +0000)]
am 9a0382ff: Merge "Build: Fail preopting apps when there are verifier errors"

* commit '9a0382ffe64ad8ccecc15141779627a882f31ee0':
  Build: Fail preopting apps when there are verifier errors

9 years agoMerge "Build: Fail preopting apps when there are verifier errors"
Andreas Gampe [Fri, 6 Mar 2015 19:12:08 +0000 (19:12 +0000)]
Merge "Build: Fail preopting apps when there are verifier errors"

9 years agoMake sure DEX2OAT_TARGET_CPU_VARIANT is not empty.
Christopher Ferris [Fri, 6 Mar 2015 18:19:12 +0000 (10:19 -0800)]
Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty.

On non-arm architectures, there is no TARGET_CPU_VARIANT set. For x86,
art assumes that the CPU variant is actually the TARGET_ARCH_VARIANT.
Therefore, if no TARGET_CPU_VARIANT is set, use the TARGET_ARCH_VARIANT.
If TARGET_ARCH_VARIANT is not set, then use default as the value.

Change-Id: I17fc9e3ac7412462103b8f0b287fce106298b741

9 years agoBuild: Fail preopting apps when there are verifier errors
Andreas Gampe [Fri, 6 Mar 2015 03:18:18 +0000 (19:18 -0800)]
Build: Fail preopting apps when there are verifier errors

Expectation is that classes in pre-compiled apps should be structurally
sound and not cause a hard failure.

Bug: 19606409
Change-Id: Idc9da4d4c6bd259555671c657d3414a97940717f

9 years agoam 9575e13a: Merge "Filter out unsupported flag: -fprefetch-loop-arrays"
Chih-Hung Hsieh [Fri, 6 Mar 2015 01:02:27 +0000 (01:02 +0000)]
am 9575e13a: Merge "Filter out unsupported flag: -fprefetch-loop-arrays"

* commit '9575e13aa71248b1ded3e07849a4a7523e76d639':
  Filter out unsupported flag: -fprefetch-loop-arrays

9 years agoMerge "Filter out unsupported flag: -fprefetch-loop-arrays"
Chih-Hung Hsieh [Fri, 6 Mar 2015 00:48:52 +0000 (00:48 +0000)]
Merge "Filter out unsupported flag: -fprefetch-loop-arrays"

9 years agoFilter out unsupported flag: -fprefetch-loop-arrays
Chih-Hung Hsieh [Fri, 6 Mar 2015 00:02:04 +0000 (16:02 -0800)]
Filter out unsupported flag: -fprefetch-loop-arrays

Change-Id: I55ba9045948a910ebd76c09f9f4ebb6b37eed1e7

9 years agoam 71c64dc1: Merge "Reorder lib paths in transform-bc-to-so to avoid build race condi...
Ying Wang [Thu, 5 Mar 2015 20:05:17 +0000 (20:05 +0000)]
am 71c64dc1: Merge "Reorder lib paths in transform-bc-to-so to avoid build race condition."

* commit '71c64dc1033aed7de0ebb215fc35d09e7fcd9db0':
  Reorder lib paths in transform-bc-to-so to avoid build race condition.

9 years agoMerge "Reorder lib paths in transform-bc-to-so to avoid build race condition."
Ying Wang [Thu, 5 Mar 2015 20:00:32 +0000 (20:00 +0000)]
Merge "Reorder lib paths in transform-bc-to-so to avoid build race condition."

9 years agoReorder lib paths in transform-bc-to-so to avoid build race condition.
Ying Wang [Thu, 5 Mar 2015 19:29:30 +0000 (11:29 -0800)]
Reorder lib paths in transform-bc-to-so to avoid build race condition.

We should put the NDK library path before
$(TARGET_OUT_INTERMEDIATE_LIBRARIES), so that we link against the NDK
libc/libm, instead of the platform libc/libm in
$(TARGET_OUT_INTERMEDIATE_LIBRARIES), which may still being written out,
because we don't have dependency on them.

Bug: 19613709
Change-Id: I26a8b272e38b7436bca3324246b21cd71349662b

9 years agoresolved conflicts for merge of fc759204 to stage-aosp-master
Mohamad Ayyash [Wed, 4 Mar 2015 23:43:45 +0000 (15:43 -0800)]
resolved conflicts for merge of fc759204 to stage-aosp-master

Change-Id: Icf58e881286a66cb3ca4cb122fa8c11ec217fbab

9 years agoMerge "Allow flashing a squashfs system image"
Mohamad Ayyash [Wed, 4 Mar 2015 22:55:21 +0000 (22:55 +0000)]
Merge "Allow flashing a squashfs system image"

9 years agoam ccf1cc55: Merge "Fix the mac build."
Dan Albert [Wed, 4 Mar 2015 06:23:10 +0000 (06:23 +0000)]
am ccf1cc55: Merge "Fix the mac build."

* commit 'ccf1cc55a4448dc43302624da07d3211356473e2':
  Fix the mac build.

9 years agoMerge "Fix the mac build."
Dan Albert [Wed, 4 Mar 2015 06:17:19 +0000 (06:17 +0000)]
Merge "Fix the mac build."

9 years agoFix the mac build.
Dan Albert [Wed, 4 Mar 2015 05:47:04 +0000 (21:47 -0800)]
Fix the mac build.

Bug: 19567451
Change-Id: I6d15259520c9813df1a44d9244c99482f713d114

9 years agoam edab98a4: Merge "Catch more cases of static host executables."
Ying Wang [Wed, 4 Mar 2015 03:28:53 +0000 (03:28 +0000)]
am edab98a4: Merge "Catch more cases of static host executables."

* commit 'edab98a40a0954789c21eaf6c122c99be2ce2d99':
  Catch more cases of static host executables.

9 years agoMerge "Catch more cases of static host executables."
Ying Wang [Wed, 4 Mar 2015 03:24:03 +0000 (03:24 +0000)]
Merge "Catch more cases of static host executables."

9 years agoAllow flashing a squashfs system image
Mohamad Ayyash [Tue, 3 Mar 2015 20:30:37 +0000 (12:30 -0800)]
Allow flashing a squashfs system image

Change-Id: Ic51d11274784a8d2e9d57d5f0b821ebc89680e5a
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoCatch more cases of static host executables.
Dan Albert [Wed, 4 Mar 2015 02:30:27 +0000 (18:30 -0800)]
Catch more cases of static host executables.

Bug: 19567451
Change-Id: Ie1de436db74b727421449b43b192e9599ca8fca6

9 years agoam d52afdd6: Merge "(Hopefully) fix the Mac build."
Dan Albert [Wed, 4 Mar 2015 01:50:21 +0000 (01:50 +0000)]
am d52afdd6: Merge "(Hopefully) fix the Mac build."

* commit 'd52afdd682b26ea6a13c066d6f037c9df6693489':
  (Hopefully) fix the Mac build.

9 years agoMerge "(Hopefully) fix the Mac build."
Dan Albert [Wed, 4 Mar 2015 01:46:22 +0000 (01:46 +0000)]
Merge "(Hopefully) fix the Mac build."

9 years ago(Hopefully) fix the Mac build.
Dan Albert [Wed, 4 Mar 2015 01:42:28 +0000 (17:42 -0800)]
(Hopefully) fix the Mac build.

The Mac linker doesn't understand --start-group, which is needed for
properly linking libgcc/libc statically. It isn't needed for dynamic
executables though, so use that driver behavior where appropriate.

Bug: 19567451
Change-Id: Ifeb03bea55bc87561c64ddafdb99f664fef0f00e

9 years agoam cfafe554: Merge "Fix building static host executables."
Dan Albert [Tue, 3 Mar 2015 23:24:40 +0000 (23:24 +0000)]
am cfafe554: Merge "Fix building static host executables."

* commit 'cfafe554c0852f5b2c05e5d895b47d032daeec2e':
  Fix building static host executables.

9 years agoMerge "Fix building static host executables."
Dan Albert [Tue, 3 Mar 2015 23:20:52 +0000 (23:20 +0000)]
Merge "Fix building static host executables."

9 years agoFix building static host executables.
Dan Albert [Tue, 3 Mar 2015 22:10:27 +0000 (14:10 -0800)]
Fix building static host executables.

BUILD_HOST_static=1 forces all host binaries to be statically linked.
Since -nodefaultlibs was passed (to disable libstdc++), libgcc wasn't
being passed. This change emulates the driver's behavior.

Also fix default STL selection for BUILD_HOST_static.

Bug: 19567451
Change-Id: I617aab782d40ac76ca5a7d9dddf0f202a4e3a69b

9 years agoam 6492792d: Merge "Consult tput about color control sequence support"
Greg Hackmann [Tue, 3 Mar 2015 19:02:37 +0000 (19:02 +0000)]
am 6492792d: Merge "Consult tput about color control sequence support"

* commit '6492792d8a30f218fff6d54765ba5502de0a9a2a':
  Consult tput about color control sequence support

9 years agoMerge "Consult tput about color control sequence support"
Greg Hackmann [Tue, 3 Mar 2015 18:55:20 +0000 (18:55 +0000)]
Merge "Consult tput about color control sequence support"

9 years agoam d408e607: Merge "Disable tail call optimization and use -mstackrealign to boot...
Chih-Hung Hsieh [Tue, 3 Mar 2015 01:44:26 +0000 (01:44 +0000)]
am d408e607: Merge "Disable tail call optimization and use -mstackrealign to boot up on fugu."

* commit 'd408e6071831f150a08f895ee2de6cfe8c7ff858':
  Disable tail call optimization and use -mstackrealign to boot up on fugu.

9 years agoMerge "Disable tail call optimization and use -mstackrealign to boot up on fugu."
Chih-Hung Hsieh [Tue, 3 Mar 2015 01:39:27 +0000 (01:39 +0000)]
Merge "Disable tail call optimization and use -mstackrealign to boot up on fugu."

9 years agoDisable tail call optimization and use -mstackrealign to boot up on fugu.
Chih-Hung Hsieh [Wed, 25 Feb 2015 00:06:15 +0000 (16:06 -0800)]
Disable tail call optimization and use -mstackrealign to boot up on fugu.

http://llvm.org/bugs/show_bug.cgi?id=15086,
llvm tail call optimization is wrong for x86.

For Android/x86 to use SSE* instructions safely, stack should be 16-byte
aligned before JNI function call, which isn't true for all x86 device,
so -mstackrealign should be the default.

BUG: 19234330
Change-Id: I4c6676366788772dbe64fd7f0dd33b3ed5c9b80e

9 years agoam 30b5ed7b: Merge "Fix zipalign README file and usage strings."
Narayan Kamath [Fri, 27 Feb 2015 17:26:49 +0000 (17:26 +0000)]
am 30b5ed7b: Merge "Fix zipalign README file and usage strings."

* commit '30b5ed7b1e8c67c816d64ad1b7c9bde3c3b5019c':
  Fix zipalign README file and usage strings.

9 years agoMerge "Fix zipalign README file and usage strings."
Narayan Kamath [Fri, 27 Feb 2015 17:21:29 +0000 (17:21 +0000)]
Merge "Fix zipalign README file and usage strings."

9 years agoam 095c4515: Merge "Remove unused variables."
Narayan Kamath [Fri, 27 Feb 2015 16:33:23 +0000 (16:33 +0000)]
am 095c4515: Merge "Remove unused variables."

* commit '095c451541765c7efb9d5a8152f8ef15626ccedb':
  Remove unused variables.

9 years agoFix zipalign README file and usage strings.
Narayan Kamath [Thu, 26 Feb 2015 17:57:55 +0000 (17:57 +0000)]
Fix zipalign README file and usage strings.

Addresses comments from change 13e5965306.

Change-Id: I0a2c0048781858d3aa06347a77220547cfcdcebe

9 years agoMerge "Remove unused variables."
Narayan Kamath [Fri, 27 Feb 2015 11:43:33 +0000 (11:43 +0000)]
Merge "Remove unused variables."

9 years agoam 4eec22a6: Merge "Use a less freqent dummy file name: zipdummy"
Ying Wang [Thu, 26 Feb 2015 18:04:07 +0000 (18:04 +0000)]
am 4eec22a6: Merge "Use a less freqent dummy file name: zipdummy"

* commit '4eec22a6627927aaa11a67e3e18d36534af81856':
  Use a less freqent dummy file name: zipdummy

9 years agoMerge "Use a less freqent dummy file name: zipdummy"
Ying Wang [Thu, 26 Feb 2015 17:57:57 +0000 (17:57 +0000)]
Merge "Use a less freqent dummy file name: zipdummy"

9 years agoUse a less freqent dummy file name: zipdummy
Ying Wang [Thu, 26 Feb 2015 17:36:27 +0000 (09:36 -0800)]
Use a less freqent dummy file name: zipdummy

Previously if user has a directory with name dummy in the root of the
source tree, "zip -qd package.apk dummy" fails with:
"zip error: Nothing to do!".
This change mitigates the error.

Change-Id: I642e3bf0378e5b9911a068ecb72f795b3e92f1fe

9 years agoam 37a44faa: Merge "Store native libs aligned to PAGE_SIZE"
Narayan Kamath [Thu, 26 Feb 2015 12:45:34 +0000 (12:45 +0000)]
am 37a44faa: Merge "Store native libs aligned to PAGE_SIZE"

* commit '37a44faa7266c8a7e0cc5077a4c028d6f5bfa7f7':
  Store native libs aligned to PAGE_SIZE

9 years agoRemove unused variables.
Narayan Kamath [Thu, 26 Feb 2015 12:39:44 +0000 (12:39 +0000)]
Remove unused variables.

Follow up from 13e5965306212a9051772ff1d5bc3a88e5fb5.

Change-Id: I370e52acd998ce72b4d7dbf2aba604d4b08bb0cf

9 years agoMerge "Store native libs aligned to PAGE_SIZE"
Narayan Kamath [Thu, 26 Feb 2015 12:38:33 +0000 (12:38 +0000)]
Merge "Store native libs aligned to PAGE_SIZE"

9 years agoStore native libs aligned to PAGE_SIZE
Dmitriy Ivanov [Wed, 23 Jul 2014 22:27:21 +0000 (15:27 -0700)]
Store native libs aligned to PAGE_SIZE

- Add a new flag to zipalign (-p) that page aligns shared
  libraries (zip entries ending with ".so") in the archive.

- Add a new build variable LOCAL_PAGE_ALIGN_SHARED_LIBRARIES
  to turn on this behaviour in zipalign.

- Add a new LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS to control
  zip behaviour.

Bug: 8076853
Bug: 19330157

Co-Authored-By: Simon Baldwin <simonb@google.com>
Co-Authored-By: Dimitry Ivanov <dimitry@google.com>
Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1

9 years agoam 876f45e7: Merge "Make some warnings impossible to override."
Dan Albert [Wed, 25 Feb 2015 23:17:56 +0000 (23:17 +0000)]
am 876f45e7: Merge "Make some warnings impossible to override."

* commit '876f45e73f938cdaa7cfc25c43822fc6b274f105':
  Make some warnings impossible to override.

9 years agoMerge "Make some warnings impossible to override."
Dan Albert [Wed, 25 Feb 2015 23:13:12 +0000 (23:13 +0000)]
Merge "Make some warnings impossible to override."

9 years agoam 8389deee: Merge "mips64 should avoid common LP64 errors just like arm64 and x86...
Elliott Hughes [Wed, 25 Feb 2015 19:01:07 +0000 (19:01 +0000)]
am 8389deee: Merge "mips64 should avoid common LP64 errors just like arm64 and x86-64."

* commit '8389deee6b355f7dd6b1ff3579179414c6a41e5c':
  mips64 should avoid common LP64 errors just like arm64 and x86-64.

9 years agoMerge "mips64 should avoid common LP64 errors just like arm64 and x86-64."
Elliott Hughes [Wed, 25 Feb 2015 18:56:52 +0000 (18:56 +0000)]
Merge "mips64 should avoid common LP64 errors just like arm64 and x86-64."

9 years agomips64 should avoid common LP64 errors just like arm64 and x86-64.
Elliott Hughes [Wed, 25 Feb 2015 00:04:31 +0000 (16:04 -0800)]
mips64 should avoid common LP64 errors just like arm64 and x86-64.

Change-Id: Ibce5863bee3175671862c1889869b43bcb39a074

9 years agoam a82f7db9: Merge "add BUILD_NATIVE_BENCHMARK"
Colin Cross [Tue, 24 Feb 2015 20:55:52 +0000 (20:55 +0000)]
am a82f7db9: Merge "add BUILD_NATIVE_BENCHMARK"

* commit 'a82f7db9006ca838fd0c474d2dcc38630ed1fa20':
  add BUILD_NATIVE_BENCHMARK

9 years agoMerge "add BUILD_NATIVE_BENCHMARK"
Colin Cross [Tue, 24 Feb 2015 20:49:55 +0000 (20:49 +0000)]
Merge "add BUILD_NATIVE_BENCHMARK"

9 years agoam ca15af1b: Merge "Turn on -Werror=implicit-function-declaration for arm64."
Elliott Hughes [Mon, 23 Feb 2015 21:35:17 +0000 (21:35 +0000)]
am ca15af1b: Merge "Turn on -Werror=implicit-function-declaration for arm64."

* commit 'ca15af1bcde972b6ba3546d45913c9bb51bd93b0':
  Turn on -Werror=implicit-function-declaration for arm64.

9 years agoMerge "Turn on -Werror=implicit-function-declaration for arm64."
Elliott Hughes [Mon, 23 Feb 2015 21:29:58 +0000 (21:29 +0000)]
Merge "Turn on -Werror=implicit-function-declaration for arm64."

9 years agoam faeae397: Merge "Turn on -Werror=implicit-function-declaration for x86-64."
Elliott Hughes [Mon, 23 Feb 2015 18:29:13 +0000 (18:29 +0000)]
am faeae397: Merge "Turn on -Werror=implicit-function-declaration for x86-64."

* commit 'faeae3977159b0b4ca2021c4c657a090eaeb4a56':
  Turn on -Werror=implicit-function-declaration for x86-64.

9 years agoMerge "Turn on -Werror=implicit-function-declaration for x86-64."
Elliott Hughes [Mon, 23 Feb 2015 18:23:24 +0000 (18:23 +0000)]
Merge "Turn on -Werror=implicit-function-declaration for x86-64."

9 years agoMake some warnings impossible to override.
Dan Albert [Sat, 21 Feb 2015 20:45:26 +0000 (12:45 -0800)]
Make some warnings impossible to override.

These CFLAGS and CPPFLAGS will always be added last, and are
controlled by the build system. This way we can add warnings that
users are not allowed to disable.

Change-Id: Id71f69249078f62ca2687ecbf764aff0fd3a1c1b

9 years agoam 58aeaed9: Merge "goldfish_logcat: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:34:38 +0000 (17:34 +0000)]
am 58aeaed9: Merge "goldfish_logcat:  remove permissive_or_unconfined()"

* commit '58aeaed9ce5c3738dd8eb36d56484a9614fb00e0':
  goldfish_logcat:  remove permissive_or_unconfined()

9 years agoam aa67c0ce: Merge "qemud: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:34:37 +0000 (17:34 +0000)]
am aa67c0ce: Merge "qemud:  remove permissive_or_unconfined()"

* commit 'aa67c0ce9a9697f5ac192020ee8b75734862b129':
  qemud:  remove permissive_or_unconfined()

9 years agoam 4be75b37: Merge "qemu_props: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:34:36 +0000 (17:34 +0000)]
am 4be75b37: Merge "qemu_props:  remove permissive_or_unconfined()"

* commit '4be75b37333f22e8ce10cc8aff7e9756b2f82689':
  qemu_props:  remove permissive_or_unconfined()

9 years agoam 5d47a481: Merge "goldfish_setup: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:34:35 +0000 (17:34 +0000)]
am 5d47a481: Merge "goldfish_setup:  remove permissive_or_unconfined()"

* commit '5d47a481fb88ca4dba853d064eb5dfd671f9b68a':
  goldfish_setup:  remove permissive_or_unconfined()

9 years agoMerge "goldfish_logcat: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:30:50 +0000 (17:30 +0000)]
Merge "goldfish_logcat:  remove permissive_or_unconfined()"

9 years agoMerge "qemud: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:30:42 +0000 (17:30 +0000)]
Merge "qemud:  remove permissive_or_unconfined()"

9 years agoMerge "qemu_props: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:30:27 +0000 (17:30 +0000)]
Merge "qemu_props:  remove permissive_or_unconfined()"

9 years agoMerge "goldfish_setup: remove permissive_or_unconfined()"
Ying Wang [Mon, 23 Feb 2015 17:30:20 +0000 (17:30 +0000)]
Merge "goldfish_setup:  remove permissive_or_unconfined()"

9 years agoTurn on -Werror=implicit-function-declaration for arm64.
Elliott Hughes [Sat, 21 Feb 2015 21:21:20 +0000 (13:21 -0800)]
Turn on -Werror=implicit-function-declaration for arm64.

Implicit function declarations are much more dangerous on LP64 because
sizeof(int) != sizeof(void*), so any function that returns a pointer will
lose its top bits, leading to relatively hard to debug crashes.

Change-Id: Ia05beffb949ca747833c2e12c40daf896f7a60a5