OSDN Git Service

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

9 years agoTurn on -Werror=implicit-function-declaration for x86-64.
Elliott Hughes [Sat, 21 Feb 2015 19:01:11 +0000 (11:01 -0800)]
Turn on -Werror=implicit-function-declaration for x86-64.

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: Ib2570326dde1b1cde09c63c9b4c973d741528ee2

9 years agoam 940632f1: Merge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."
Narayan Kamath [Sat, 21 Feb 2015 10:15:54 +0000 (10:15 +0000)]
am 940632f1: Merge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."

* commit '940632f1a1af056ea8f87d2fa7a0c7e22cd1556b':
  Remove references to __CYGWIN__ and HAVE_WINSOCK2_H.

9 years agoMerge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."
Narayan Kamath [Sat, 21 Feb 2015 10:01:48 +0000 (10:01 +0000)]
Merge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."

9 years agoRemove references to __CYGWIN__ and HAVE_WINSOCK2_H.
Narayan Kamath [Fri, 20 Feb 2015 17:04:10 +0000 (17:04 +0000)]
Remove references to __CYGWIN__ and HAVE_WINSOCK2_H.

We don't support platform builds under CYGWIN and can safely
assume that all windows host builds are for MinGW32.

HAVE_WINSOCK2_H is currently unused. The only references to it
are in code that define it themselves or in application code that
by definition isn't compiled for windows.

Change-Id: I236d6e070df93f713cb716bb8a461c9c1d32a180

9 years agoRestore AOSP-style version numbers - DO NOT MERGE
The Android Open Source Project [Fri, 20 Feb 2015 19:04:55 +0000 (11:04 -0800)]
Restore AOSP-style version numbers - DO NOT MERGE

Change-Id: I2c81a4dacc13e4705388c3d359410c81999d7b95

9 years agoam 0f672c6a: (-s ours) Merge "[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION."
Ying Wang [Fri, 20 Feb 2015 00:46:40 +0000 (00:46 +0000)]
am 0f672c6a: (-s ours) Merge "[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION."

* commit '0f672c6aad22dde39a172ae0b5f0b76068008f30':
  [DO NOT MERGE] Trim the AOSP PLATFORM_VERSION.

9 years agoMerge "[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION."
Ying Wang [Fri, 20 Feb 2015 00:40:55 +0000 (00:40 +0000)]
Merge "[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION."

9 years ago[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION.
Ying Wang [Fri, 20 Feb 2015 00:21:47 +0000 (16:21 -0800)]
[DO NOT MERGE] Trim the AOSP PLATFORM_VERSION.

With the long PLATFORM_VERSION, if you have also a long device/product
name and/or a long username, ro.build.fingerprint can easily exceed the
system property's length limit of 92 bytes.
This mitigates the risk a little bit.

Bug: 15593959
Change-Id: I9e316025227b30aa6887c9ce0065364fdbb9fc8f

9 years agoMerge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEAD
Bill Yi [Thu, 19 Feb 2015 22:30:26 +0000 (14:30 -0800)]
Merge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEAD

9 years agoMerge "Remove the unsets for removed gdbclient functions."
Dan Albert [Tue, 17 Feb 2015 21:01:18 +0000 (21:01 +0000)]
Merge "Remove the unsets for removed gdbclient functions."

9 years agoMerge "Remove ARCH_ARM_HAVE_TLS_REGISTER."
Elliott Hughes [Tue, 17 Feb 2015 17:47:09 +0000 (17:47 +0000)]
Merge "Remove ARCH_ARM_HAVE_TLS_REGISTER."

9 years agoRemove ARCH_ARM_HAVE_TLS_REGISTER.
Elliott Hughes [Sat, 14 Feb 2015 04:51:12 +0000 (20:51 -0800)]
Remove ARCH_ARM_HAVE_TLS_REGISTER.

This was only needed for platform builds, and was removed in the gap between
armv5 being removed and being added back again for tapas builds. Otherwise it
would have been removed back then.

(I suspect that we don't need the system.prop file in here, either, but I
don't really know how to test that.)

Change-Id: I212ff7b3568b5d5ff3cc66150ec7c4fa0b8cac92

9 years agoam 070eea05: am ffd4fee9: Merge "Revert "Allow system images larger than 2GiB.""...
Justin Harrison [Fri, 13 Feb 2015 20:37:10 +0000 (20:37 +0000)]
am 070eea05: am ffd4fee9: Merge "Revert "Allow system images larger than 2GiB."" into lmp-mr1-dev

* commit '070eea05f2f2d47aa873fd1e79160eb8529a0eb8':
  Revert "Allow system images larger than 2GiB."

9 years agoam ffd4fee9: Merge "Revert "Allow system images larger than 2GiB."" into lmp-mr1-dev
Justin Harrison [Fri, 13 Feb 2015 20:23:29 +0000 (20:23 +0000)]
am ffd4fee9: Merge "Revert "Allow system images larger than 2GiB."" into lmp-mr1-dev

* commit 'ffd4fee911ee43fbec7b08b829d15a7593421dba':
  Revert "Allow system images larger than 2GiB."

9 years agoMerge "Revert "Allow system images larger than 2GiB."" into lmp-mr1-dev
Justin Harrison [Fri, 13 Feb 2015 18:48:17 +0000 (18:48 +0000)]
Merge "Revert "Allow system images larger than 2GiB."" into lmp-mr1-dev

9 years agoRevert "Allow system images larger than 2GiB."
Justin Harrison [Fri, 13 Feb 2015 18:47:51 +0000 (18:47 +0000)]
Revert "Allow system images larger than 2GiB."

This reverts commit cd082d4bfe917b2e6b97436839cbbbc67c733c83.

Change-Id: Ie63e1ba70d907d2849164871bc7ec71c245f7af9

9 years agoam a8b9a8c1: am 1f58c417: Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.
Ying Wang [Thu, 12 Feb 2015 22:58:44 +0000 (22:58 +0000)]
am a8b9a8c1: am 1f58c417: Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.

* commit 'a8b9a8c1ed5e7d7e0cdc39c2c10f964b95a98e7a':
  Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.

9 years agoam 1f58c417: Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.
Ying Wang [Thu, 12 Feb 2015 22:46:54 +0000 (22:46 +0000)]
am 1f58c417: Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.

* commit '1f58c41742b6a063138226e6483010486f56657f':
  Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.

9 years agoSupport LOCAL_PREBUILT_JNI_LIBS in unbundled build.
Ying Wang [Thu, 12 Feb 2015 19:29:41 +0000 (11:29 -0800)]
Support LOCAL_PREBUILT_JNI_LIBS in unbundled build.

Package up LOCAL_PREBUILT_JNI_LIBS when you do tapas (apps_only) build.

Change-Id: Ibdc920fee22d4940eebee080a940e8e9492c06cb
(cherry picked from commit e66d7c1de0a888785cdbf697bebe53be7ed83380)

9 years agoam 8f1965ed: Merge "Remove gdbclient from envsetup."
Dan Albert [Thu, 12 Feb 2015 21:12:36 +0000 (21:12 +0000)]
am 8f1965ed: Merge "Remove gdbclient from envsetup."

* commit '8f1965ed0152c1f93358e3a424e9156b29c56813':
  Remove gdbclient from envsetup.

9 years agoMerge "Remove gdbclient from envsetup."
Dan Albert [Thu, 12 Feb 2015 21:02:49 +0000 (21:02 +0000)]
Merge "Remove gdbclient from envsetup."

9 years agoam bdfec89d: Merge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64."
Ying Wang [Thu, 12 Feb 2015 20:11:19 +0000 (20:11 +0000)]
am bdfec89d: Merge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64."

* commit 'bdfec89d96819cf78faa4a61635c2ec536b4545f':
  Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64.

9 years agoMerge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64."
Ying Wang [Thu, 12 Feb 2015 19:58:39 +0000 (19:58 +0000)]
Merge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64."

9 years agoRemove the unsets for removed gdbclient functions.
Dan Albert [Thu, 12 Feb 2015 19:30:06 +0000 (11:30 -0800)]
Remove the unsets for removed gdbclient functions.

Change-Id: I6bb8b42dbc7ac45bec6b8267733f9b4d6212315f

9 years agoRemove gdbclient from envsetup.
Dan Albert [Thu, 12 Feb 2015 19:14:39 +0000 (11:14 -0800)]
Remove gdbclient from envsetup.

gdbclient is being promoted to a real script:
https://android-review.googlesource.com/#/c/131831/

Change-Id: I4bb70ad44cec0ebf62d9e8e355c22ed8b708868b

9 years agoConsult tput about color control sequence support
Greg Hackmann [Mon, 23 Jun 2014 21:05:06 +0000 (14:05 -0700)]
Consult tput about color control sequence support

Blocking these sequences on Darwin has false positives (Terminal.app)
and false negatives (Eclipse CDT on Linux).  Instead let's ask the
terminal what it supports.

Change-Id: I907942925a8b30abc1ea920f077b5fc3af815ba4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
9 years agoresolved conflicts for merge of 7fc55db3 to lmp-mr1-dev-plus-aosp
JP Abgrall [Thu, 12 Feb 2015 04:05:03 +0000 (20:05 -0800)]
resolved conflicts for merge of 7fc55db3 to lmp-mr1-dev-plus-aosp

Change-Id: I27b9c65d654d4cc8b806043de0ebaa5dbf7b7a7c

9 years agoMerge "core: remove dependencies on genext2fs"
JP Abgrall [Thu, 12 Feb 2015 01:53:41 +0000 (01:53 +0000)]
Merge "core: remove dependencies on genext2fs"

9 years agoam d857abd1: am 151205c3: Merge "Bump generic_mips and generic_x86_64 system partitio...
bohu [Thu, 12 Feb 2015 01:16:22 +0000 (01:16 +0000)]
am d857abd1: am 151205c3: Merge "Bump generic_mips and generic_x86_64 system partition size" into lmp-mr1-dev

* commit 'd857abd1ff8b3436d15765e93b0d4d0ec1a9147a':
  Bump generic_mips and generic_x86_64 system partition size