OSDN Git Service

android-x86/build.git
9 years agoam 18ecae31: Merge "Convert bc depfiles to .P files."
Ying Wang [Sat, 4 Apr 2015 01:19:52 +0000 (01:19 +0000)]
am 18ecae31: Merge "Convert bc depfiles to .P files."

* commit '18ecae31e62365d658406ff33a93358beeb87553':
  Convert bc depfiles to .P files.

9 years agoMerge "Convert bc depfiles to .P files."
Ying Wang [Sat, 4 Apr 2015 01:09:55 +0000 (01:09 +0000)]
Merge "Convert bc depfiles to .P files."

9 years agoConvert bc depfiles to .P files.
Ying Wang [Fri, 3 Apr 2015 23:15:28 +0000 (16:15 -0700)]
Convert bc depfiles to .P files.

So you don't need clean step when a header file gets moved or deleted.

Change-Id: Iec0d63b89ba17c4ef0ad75f4a52b6759f2bff58a

9 years agoam 519751a8: Merge "There\'s no such thing as _THREAD_SAFE."
Elliott Hughes [Fri, 3 Apr 2015 22:05:32 +0000 (22:05 +0000)]
am 519751a8: Merge "There\'s no such thing as _THREAD_SAFE."

* commit '519751a88217e6fdc3b86979ffaf61ff03d92312':
  There's no such thing as _THREAD_SAFE.

9 years agoMerge "There's no such thing as _THREAD_SAFE."
Elliott Hughes [Fri, 3 Apr 2015 21:55:06 +0000 (21:55 +0000)]
Merge "There's no such thing as _THREAD_SAFE."

9 years agoThere's no such thing as _THREAD_SAFE.
Elliott Hughes [Fri, 3 Apr 2015 20:41:10 +0000 (13:41 -0700)]
There's no such thing as _THREAD_SAFE.

At least, as far as I can tell from the internet and from grep in /usr/include
on a Mac.

Change-Id: I7f39bb2013db88e59f604e4491344d0d342e5f0b

9 years agoam 97bcf915: Merge "Remove HAVE_PRINTF_ZD."
Elliott Hughes [Fri, 3 Apr 2015 20:30:45 +0000 (20:30 +0000)]
am 97bcf915: Merge "Remove HAVE_PRINTF_ZD."

* commit '97bcf915ad005a4baeb981ed8da09ab219973b1f':
  Remove HAVE_PRINTF_ZD.

9 years agoMerge "Remove HAVE_PRINTF_ZD."
Elliott Hughes [Fri, 3 Apr 2015 20:16:21 +0000 (20:16 +0000)]
Merge "Remove HAVE_PRINTF_ZD."

9 years agoRemove HAVE_PRINTF_ZD.
Elliott Hughes [Fri, 3 Apr 2015 20:05:53 +0000 (13:05 -0700)]
Remove HAVE_PRINTF_ZD.

Change-Id: Ie7677e4816ad886c13a8ac869e7c7342082a350f

9 years agoam dbaee628: Merge "Remove HAVE_STRLCPY."
Elliott Hughes [Fri, 3 Apr 2015 19:48:11 +0000 (19:48 +0000)]
am dbaee628: Merge "Remove HAVE_STRLCPY."

* commit 'dbaee628ec6a8215b59db66dac86846e6481263a':
  Remove HAVE_STRLCPY.

9 years agoMerge "Remove HAVE_STRLCPY."
Elliott Hughes [Fri, 3 Apr 2015 19:42:05 +0000 (19:42 +0000)]
Merge "Remove HAVE_STRLCPY."

9 years agoam 555b7770: Merge "Move the inclusion of depfile to where it\'s generated."
Ying Wang [Fri, 3 Apr 2015 17:04:29 +0000 (17:04 +0000)]
am 555b7770: Merge "Move the inclusion of depfile to where it\'s generated."

* commit '555b7770fef6024ac6fe4e580f8a8d1663ceb001':
  Move the inclusion of depfile to where it's generated.

9 years agoMerge "Move the inclusion of depfile to where it's generated."
Ying Wang [Fri, 3 Apr 2015 16:54:54 +0000 (16:54 +0000)]
Merge "Move the inclusion of depfile to where it's generated."

9 years agoMove the inclusion of depfile to where it's generated.
Ying Wang [Fri, 3 Apr 2015 16:53:41 +0000 (09:53 -0700)]
Move the inclusion of depfile to where it's generated.

Change-Id: Ib7ed6d7d9105e49961ac467fd1d390060d4f5c38

9 years agoam 58912c87: Merge "Don\'t fail build of otatools if there are no device certificates"
Ying Wang [Fri, 3 Apr 2015 16:04:43 +0000 (16:04 +0000)]
am 58912c87: Merge "Don\'t fail build of otatools if there are no device certificates"

* commit '58912c874bff05e3e76ccc7b7907f628ed010bf5':
  Don't fail build of otatools if there are no device certificates

9 years agoMerge "Don't fail build of otatools if there are no device certificates"
Ying Wang [Fri, 3 Apr 2015 15:57:57 +0000 (15:57 +0000)]
Merge "Don't fail build of otatools if there are no device certificates"

9 years agoam 62003acd: Merge "Use PRIVATE_ALL_OBJECTS"
Ying Wang [Fri, 3 Apr 2015 01:11:22 +0000 (01:11 +0000)]
am 62003acd: Merge "Use PRIVATE_ALL_OBJECTS"

* commit '62003acdcc2ecdc13ce2a9880c35147d2070e865':
  Use PRIVATE_ALL_OBJECTS

9 years agoMerge "Use PRIVATE_ALL_OBJECTS"
Ying Wang [Fri, 3 Apr 2015 01:03:50 +0000 (01:03 +0000)]
Merge "Use PRIVATE_ALL_OBJECTS"

9 years agoUse PRIVATE_ALL_OBJECTS
Ying Wang [Fri, 3 Apr 2015 01:02:33 +0000 (18:02 -0700)]
Use PRIVATE_ALL_OBJECTS

Instead of the dirty $(filter) call.

Change-Id: Idd3c9be570a00dc365a08e5b4ba1cb2e1f0ce005

9 years agoRemove HAVE_STRLCPY.
Elliott Hughes [Thu, 2 Apr 2015 23:43:52 +0000 (16:43 -0700)]
Remove HAVE_STRLCPY.

Change-Id: I27864a9075183de5bd83569d53a00fc2f53c96df

9 years agoam ced6159b: Merge "Filter out gcc flags that are not recognized by clang."
Chih-Hung Hsieh [Thu, 2 Apr 2015 22:28:30 +0000 (22:28 +0000)]
am ced6159b: Merge "Filter out gcc flags that are not recognized by clang."

* commit 'ced6159b7e5551fcd3f64c21b7807c7555f80f73':
  Filter out gcc flags that are not recognized by clang.

9 years agoMerge "Filter out gcc flags that are not recognized by clang."
Chih-Hung Hsieh [Thu, 2 Apr 2015 22:13:16 +0000 (22:13 +0000)]
Merge "Filter out gcc flags that are not recognized by clang."

9 years agoFilter out gcc flags that are not recognized by clang.
Chih-Hung Hsieh [Thu, 2 Apr 2015 21:42:20 +0000 (14:42 -0700)]
Filter out gcc flags that are not recognized by clang.

Change-Id: I04e95fc3b0cb2825bf90a55916f89d25fa9fc475

9 years agoam 6ac0d474: Merge "fs_config: move fs_config to libcutils"
Mark Salyzyn [Thu, 2 Apr 2015 21:09:41 +0000 (21:09 +0000)]
am 6ac0d474: Merge "fs_config: move fs_config to libcutils"

* commit '6ac0d47402855d199a1afd6bc5c7cd775a1cf5d1':
  fs_config: move fs_config to libcutils

9 years agoam 62d7ccad: Merge "fs_get_stats: move fs_config to libcutils"
Mark Salyzyn [Thu, 2 Apr 2015 21:09:40 +0000 (21:09 +0000)]
am 62d7ccad: Merge "fs_get_stats: move fs_config to libcutils"

* commit '62d7ccad176ac1110a912d1cfe327e938c91bd59':
  fs_get_stats: move fs_config to libcutils

9 years agoMerge "fs_config: move fs_config to libcutils"
Mark Salyzyn [Thu, 2 Apr 2015 21:02:52 +0000 (21:02 +0000)]
Merge "fs_config: move fs_config to libcutils"

9 years agoMerge "fs_get_stats: move fs_config to libcutils"
Mark Salyzyn [Thu, 2 Apr 2015 21:00:05 +0000 (21:00 +0000)]
Merge "fs_get_stats: move fs_config to libcutils"

9 years agofs_config: move fs_config to libcutils
Mark Salyzyn [Wed, 1 Apr 2015 19:54:46 +0000 (12:54 -0700)]
fs_config: move fs_config to libcutils

Bug: 19908228
Change-Id: I4103ac395d0a28fd13173cc703e980aafe6c02e1

9 years agofs_get_stats: move fs_config to libcutils
Mark Salyzyn [Wed, 1 Apr 2015 19:56:19 +0000 (12:56 -0700)]
fs_get_stats: move fs_config to libcutils

Bug: 19908228
Change-Id: I668bf8e11b09ccc9c298382e54208f531844b0c5

9 years agoam 71d4c95f: Merge "Fix typo."
Ying Wang [Thu, 2 Apr 2015 19:57:49 +0000 (19:57 +0000)]
am 71d4c95f: Merge "Fix typo."

* commit '71d4c95f83018199b8e79d0800dd2eca80b9f728':
  Fix typo.

9 years agoMerge "Fix typo."
Ying Wang [Thu, 2 Apr 2015 19:49:13 +0000 (19:49 +0000)]
Merge "Fix typo."

9 years agoFix typo.
Ying Wang [Thu, 2 Apr 2015 19:48:32 +0000 (12:48 -0700)]
Fix typo.

Change-Id: Ic934ed8610a4f03fbfb3d06dff4d911734a9d818

9 years agoam 6ddc3600: Merge "build_image.py: Verity support for flashing non partition spannin...
Mohamad Ayyash [Thu, 2 Apr 2015 18:25:53 +0000 (18:25 +0000)]
am 6ddc3600: Merge "build_image.py: Verity support for flashing non partition spanning fs"

* commit '6ddc3600659d4517c416ce3b06e4ccee14042030':
  build_image.py: Verity support for flashing non partition spanning fs

9 years agoMerge "build_image.py: Verity support for flashing non partition spanning fs"
Mohamad Ayyash [Thu, 2 Apr 2015 18:18:21 +0000 (18:18 +0000)]
Merge "build_image.py: Verity support for flashing non partition spanning fs"

9 years agoam 0064c51e: Merge "Use prebuilt libclang_rt.profile."
Dan Albert [Thu, 2 Apr 2015 18:14:48 +0000 (18:14 +0000)]
am 0064c51e: Merge "Use prebuilt libclang_rt.profile."

* commit '0064c51efee452daae110eac99b1321c00652c17':
  Use prebuilt libclang_rt.profile.

9 years agoMerge "Use prebuilt libclang_rt.profile."
Dan Albert [Thu, 2 Apr 2015 18:05:20 +0000 (18:05 +0000)]
Merge "Use prebuilt libclang_rt.profile."

9 years agoDon't fail build of otatools if there are no device certificates
Claes Elgemark [Wed, 1 Apr 2015 09:29:29 +0000 (11:29 +0200)]
Don't fail build of otatools if there are no device certificates

Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6

9 years agoUse prebuilt libclang_rt.profile.
Dan Albert [Mon, 26 Jan 2015 00:20:57 +0000 (16:20 -0800)]
Use prebuilt libclang_rt.profile.

Bug: 17574078
Change-Id: I4838cd5d125a0b2bf76aad2fdaef1ee3122687e8

9 years agoam 24a71e15: Merge "Return non-zero if can\'t locate top of the tree in m/mm/mmm."
Ying Wang [Wed, 1 Apr 2015 22:41:38 +0000 (22:41 +0000)]
am 24a71e15: Merge "Return non-zero if can\'t locate top of the tree in m/mm/mmm."

* commit '24a71e1565d48d6b5f9cdbd12e4cb279ae7e18bb':
  Return non-zero if can't locate top of the tree in m/mm/mmm.

9 years agoMerge "Return non-zero if can't locate top of the tree in m/mm/mmm."
Ying Wang [Wed, 1 Apr 2015 22:31:15 +0000 (22:31 +0000)]
Merge "Return non-zero if can't locate top of the tree in m/mm/mmm."

9 years agoam 9a98c47c: Merge "Don\'t warn on definition of possibly reserved identifiers."
Stephen Hines [Wed, 1 Apr 2015 18:59:07 +0000 (18:59 +0000)]
am 9a98c47c: Merge "Don\'t warn on definition of possibly reserved identifiers."

* commit '9a98c47c64446e0c46f1d24f3d6526d177b62e14':
  Don't warn on definition of possibly reserved identifiers.

9 years agoMerge "Don't warn on definition of possibly reserved identifiers."
Stephen Hines [Wed, 1 Apr 2015 18:50:28 +0000 (18:50 +0000)]
Merge "Don't warn on definition of possibly reserved identifiers."

9 years agoam 2d47488e: Merge "Drop BOARD_SEPOLICY_UNION."
Nick Kralevich [Wed, 1 Apr 2015 17:54:46 +0000 (17:54 +0000)]
am 2d47488e: Merge "Drop BOARD_SEPOLICY_UNION."

* commit '2d47488e675d0eb839ae6a7f9544cc64c50c68d2':
  Drop BOARD_SEPOLICY_UNION.

9 years agoam 2ff6a3bb: Merge "Add explicit dependency on tzdata_updates_intermediates for CTS"
Neil Fuller [Wed, 1 Apr 2015 17:54:44 +0000 (17:54 +0000)]
am 2ff6a3bb: Merge "Add explicit dependency on tzdata_updates_intermediates for CTS"

* commit '2ff6a3bbdf3a086e5e9a89e9acc66e8c5ae00539':
  Add explicit dependency on tzdata_updates_intermediates for CTS

9 years agoMerge "Drop BOARD_SEPOLICY_UNION."
Nick Kralevich [Wed, 1 Apr 2015 17:47:10 +0000 (17:47 +0000)]
Merge "Drop BOARD_SEPOLICY_UNION."

9 years agoMerge "Add explicit dependency on tzdata_updates_intermediates for CTS"
Neil Fuller [Wed, 1 Apr 2015 17:43:54 +0000 (17:43 +0000)]
Merge "Add explicit dependency on tzdata_updates_intermediates for CTS"

9 years agoReturn non-zero if can't locate top of the tree in m/mm/mmm.
Ying Wang [Wed, 1 Apr 2015 17:13:02 +0000 (10:13 -0700)]
Return non-zero if can't locate top of the tree in m/mm/mmm.

Bug: 20017058
Change-Id: I85fac71061673d00a1b583ad13afc8567d794cd6

9 years agoam 53602955: Merge "Add support to sign bootable images with vboot_signer"
Tao Bao [Wed, 1 Apr 2015 17:05:36 +0000 (17:05 +0000)]
am 53602955: Merge "Add support to sign bootable images with vboot_signer"

* commit '536029551d31d8084c444063349291781ee43ae1':
  Add support to sign bootable images with vboot_signer

9 years agoAdd explicit dependency on tzdata_updates_intermediates for CTS
Neil Fuller [Wed, 1 Apr 2015 17:02:46 +0000 (18:02 +0100)]
Add explicit dependency on tzdata_updates_intermediates for CTS

The build was working on AOSP, but fails downstream when using
Jack because the javalib.jar file needed by CTS is not being
built by default there.

Change-Id: I8dd836b33a4e1bae5af623db3822de99e9b05cf0

9 years agoMerge "Add support to sign bootable images with vboot_signer"
Tao Bao [Wed, 1 Apr 2015 16:54:44 +0000 (16:54 +0000)]
Merge "Add support to sign bootable images with vboot_signer"

9 years agoam b8765797: Merge "Add unwinder linking to STL setup."
Dan Albert [Wed, 1 Apr 2015 16:49:11 +0000 (16:49 +0000)]
am b8765797: Merge "Add unwinder linking to STL setup."

* commit 'b8765797a89eebc97e38afcb94a965d69a8663ef':
  Add unwinder linking to STL setup.

9 years agoam 60335c03: Merge "Revert "Revert "Fix the libgcc/libatomic link order."""
Dan Albert [Wed, 1 Apr 2015 16:49:10 +0000 (16:49 +0000)]
am 60335c03: Merge "Revert "Revert "Fix the libgcc/libatomic link order."""

* commit '60335c03d7e897267eb20e0b0a6c7c864fd08b43':
  Revert "Revert "Fix the libgcc/libatomic link order.""

9 years agoMerge "Add unwinder linking to STL setup."
Dan Albert [Wed, 1 Apr 2015 16:40:21 +0000 (16:40 +0000)]
Merge "Add unwinder linking to STL setup."

9 years agoMerge "Revert "Revert "Fix the libgcc/libatomic link order."""
Dan Albert [Wed, 1 Apr 2015 16:40:08 +0000 (16:40 +0000)]
Merge "Revert "Revert "Fix the libgcc/libatomic link order."""

9 years agoAdd support to sign bootable images with vboot_signer
Tao Bao [Mon, 30 Mar 2015 06:07:41 +0000 (23:07 -0700)]
Add support to sign bootable images with vboot_signer

Add vboot properties to the dictionary file, which will be packed into
the target_files zip. Add support in packaging and OTA scripts to
sign the generated bootable images (boot.img and recovery.img) when
vboot is enabled.

Change-Id: I08758ced03d173219415bca762bbdb66c464a9f5
(cherry picked from commit 5d5a3bd9e8d8b14b71d1b2105417a2958d13d3d2)

9 years agoDrop BOARD_SEPOLICY_UNION.
Stephen Smalley [Wed, 1 Apr 2015 14:30:10 +0000 (10:30 -0400)]
Drop BOARD_SEPOLICY_UNION.

As suggested in the comments on
https://android-review.googlesource.com/#/c/141560/
drop BOARD_SEPOLICY_UNION and simplify the build_policy logic.
Union all files found under BOARD_SEPOLICY_DIRS.

Change-Id: I4214893c999c23631f5456cb1b8edd59771ef13b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoAdd unwinder linking to STL setup.
Dan Albert [Tue, 31 Mar 2015 22:18:17 +0000 (15:18 -0700)]
Add unwinder linking to STL setup.

Previously we were bundling this into libc++ and having each binary
resolve its symbols from there. This means that the unwinder that gets
used for a given binary is sensitive to the order in which its
libraries are linked. Making this a static library dependency of each
binary means the right unwinder will always be used.

Bug: 18471342
Bug: 19958712
Change-Id: I782d212784dbf85355b5d9146d7460d675259a0e

9 years agobuild_image.py: Verity support for flashing non partition spanning fs
Mohamad Ayyash [Tue, 24 Mar 2015 19:42:03 +0000 (12:42 -0700)]
build_image.py: Verity support for flashing non partition spanning fs

Change-Id: Ic5f7b256ed9a31e99ebaebdf8a8a19ba9adcced3
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoRevert "Revert "Fix the libgcc/libatomic link order.""
Dan Albert [Tue, 31 Mar 2015 22:21:30 +0000 (15:21 -0700)]
Revert "Revert "Fix the libgcc/libatomic link order.""

This reverts commit e440c3c07b26258139156075f0a51a9ad92eef75.

9 years agoam 3cc6a0f2: Merge "Addition of a CTS suite for tzdata update code"
Neil Fuller [Tue, 31 Mar 2015 09:25:12 +0000 (09:25 +0000)]
am 3cc6a0f2: Merge "Addition of a CTS suite for tzdata update code"

* commit '3cc6a0f22f285c3fd8fb7f0b6559dd24b43e6541':
  Addition of a CTS suite for tzdata update code

9 years agoMerge "Addition of a CTS suite for tzdata update code"
Neil Fuller [Tue, 31 Mar 2015 08:30:50 +0000 (08:30 +0000)]
Merge "Addition of a CTS suite for tzdata update code"

9 years agoam d64b853a: Merge "Bump generic_mips64 system partition size."
Ying Wang [Tue, 31 Mar 2015 00:13:39 +0000 (00:13 +0000)]
am d64b853a: Merge "Bump generic_mips64 system partition size."

* commit 'd64b853a6d45d11e1f892ad02c0a653e1b5b8663':
  Bump generic_mips64 system partition size.

9 years agoMerge "Bump generic_mips64 system partition size."
Ying Wang [Tue, 31 Mar 2015 00:09:06 +0000 (00:09 +0000)]
Merge "Bump generic_mips64 system partition size."

9 years agoBump generic_mips64 system partition size.
Duane Sand [Tue, 31 Mar 2015 00:02:00 +0000 (17:02 -0700)]
Bump generic_mips64 system partition size.

Fix broken mips64 build via 20% increase.

Change-Id: Ie30418c6fc7cf8810139abe53537ef8259a49a2f

9 years agoam f1a8c8c5: Merge "Fix up a few callers of GetTypeAndDevice."
Dan Albert [Sat, 28 Mar 2015 02:20:24 +0000 (02:20 +0000)]
am f1a8c8c5: Merge "Fix up a few callers of GetTypeAndDevice."

* commit 'f1a8c8c5de090221615bf1934e82e1fa9afc54b0':
  Fix up a few callers of GetTypeAndDevice.

9 years agoMerge "Fix up a few callers of GetTypeAndDevice."
Dan Albert [Sat, 28 Mar 2015 02:15:43 +0000 (02:15 +0000)]
Merge "Fix up a few callers of GetTypeAndDevice."

9 years agoFix up a few callers of GetTypeAndDevice.
Dan Albert [Sat, 28 Mar 2015 02:11:53 +0000 (19:11 -0700)]
Fix up a few callers of GetTypeAndDevice.

Change-Id: I8f2d8d28b60715f917e9aceb8f851ad652034aa7

9 years agoam d63c78e0: Merge "Allow -mcpu=cortex-a15 for clang"
Chih-hung Hsieh [Fri, 27 Mar 2015 23:17:43 +0000 (23:17 +0000)]
am d63c78e0: Merge "Allow -mcpu=cortex-a15 for clang"

* commit 'd63c78e058da1418db133f62df4ace6f8109965b':
  Allow -mcpu=cortex-a15 for clang

9 years agoMerge "Allow -mcpu=cortex-a15 for clang"
Chih-hung Hsieh [Fri, 27 Mar 2015 22:33:04 +0000 (22:33 +0000)]
Merge "Allow -mcpu=cortex-a15 for clang"

9 years agoam 99e22a57: Merge "Make releasetools pylint clean."
Dan Albert [Fri, 27 Mar 2015 18:47:32 +0000 (18:47 +0000)]
am 99e22a57: Merge "Make releasetools pylint clean."

* commit '99e22a57d0b186cb853d757a058318a8be78918b':
  Make releasetools pylint clean.

9 years agoam 8ffec13d: Merge "Add back Java resources to apk without Java code."
Ying Wang [Fri, 27 Mar 2015 18:47:31 +0000 (18:47 +0000)]
am 8ffec13d: Merge "Add back Java resources to apk without Java code."

* commit '8ffec13d9b3ea46a5aea1837c1184e67a908f1ef':
  Add back Java resources to apk without Java code.

9 years agoMerge "Make releasetools pylint clean."
Dan Albert [Fri, 27 Mar 2015 18:40:02 +0000 (18:40 +0000)]
Merge "Make releasetools pylint clean."

9 years agoMerge "Add back Java resources to apk without Java code."
Ying Wang [Fri, 27 Mar 2015 18:32:00 +0000 (18:32 +0000)]
Merge "Add back Java resources to apk without Java code."

9 years agoAdd back Java resources to apk without Java code.
Ying Wang [Fri, 27 Mar 2015 18:07:17 +0000 (11:07 -0700)]
Add back Java resources to apk without Java code.

With commit 33360dd56925276e4526f5f52c26423e2bb1a670 we moved Java
resource packaging forward to creation of the jar file. But the Java
resource packaging will be skipped if a module has no Java code at all.
(The build system does support building an apk without Java code.)
In this change we add back the Java resources directly to the built apk
when the apk has no Java code.

(cherry-picked from commit 8b27d1879c5692ebe6c5ac85383981fd96dfe2e1)

Bug: 19947218
Change-Id: I0e1a65a9cbe656974f8ef3923b2f15e9efa5feb9

9 years agoam 1b23b33d: Merge "MKBOOTIMG override were missing in two places"
Ying Wang [Fri, 27 Mar 2015 16:52:49 +0000 (16:52 +0000)]
am 1b23b33d: Merge "MKBOOTIMG override were missing in two places"

* commit '1b23b33d92f32626584153739308e9147d1541bd':
  MKBOOTIMG override were missing in two places

9 years agoMerge "MKBOOTIMG override were missing in two places"
Ying Wang [Fri, 27 Mar 2015 16:47:15 +0000 (16:47 +0000)]
Merge "MKBOOTIMG override were missing in two places"

9 years agoam d5415dc7: Merge "Fix: exit code is 0 even when check-boot-jars.py fails"
Ying Wang [Thu, 26 Mar 2015 23:30:42 +0000 (23:30 +0000)]
am d5415dc7: Merge "Fix: exit code is 0 even when check-boot-jars.py fails"

* commit 'd5415dc778abffdf7a9abba52b093da7a20496be':
  Fix: exit code is 0 even when check-boot-jars.py fails

9 years agoMerge "Fix: exit code is 0 even when check-boot-jars.py fails"
Ying Wang [Thu, 26 Mar 2015 23:25:30 +0000 (23:25 +0000)]
Merge "Fix: exit code is 0 even when check-boot-jars.py fails"

9 years agoam 6ff1b035: Merge "Support to build image of root file system with /system and ramdi...
Ying Wang [Thu, 26 Mar 2015 17:50:10 +0000 (17:50 +0000)]
am 6ff1b035: Merge "Support to build image of root file system with /system and ramdisk combined."

* commit '6ff1b0357289c1ef1a7aa9294aae748dacb69866':
  Support to build image of root file system with /system and ramdisk combined.

9 years agoMerge "Support to build image of root file system with /system and ramdisk combined."
Ying Wang [Thu, 26 Mar 2015 17:36:07 +0000 (17:36 +0000)]
Merge "Support to build image of root file system with /system and ramdisk combined."

9 years agoSupport to build image of root file system with /system and ramdisk combined.
Ying Wang [Wed, 25 Mar 2015 02:07:40 +0000 (19:07 -0700)]
Support to build image of root file system with /system and ramdisk combined.

Added support to build system.img that combines contents of /system and
the ramdisk, and can be mounted at the root of the file system.
To enable this feature, define BoardConfig.mk variable:
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true

Ideally we would just change TARGET_OUT (the path of the staging system
directory) to under TARGET_ROOT_OUT. But at this point many places in
the build system assume TARGET_OUT is independent of TARGET_ROOT_OUT and
we can't make it easily configurable.
Instead this implementation takes the least intrusive approach:
We don't change TARGET_OUT or TARGET_ROOT_OUT. We just assemble a
temporary staging directory that contains contents of both TARGET_OUT
and TARGET_ROOT_OUT, in build_image.BuildImage() of
tools/releasetools/build_image.py.
When build_image.py is directly called from the makefile, we pass in the
parameters from the global dictionary; when build_image.BuildImage() is
called from add_img_to_target_files.py, we need to override values to
point to files extracted from the target_files zip file.
We need to combine the fs_config files of both /system and ramdisk,
when fs_config is enabled.

Also this change refactored build_image.BuildImage() by moving the extra
parameters to the image property dictionary.

(cherry-picked from commit 0eabd4f2c5fe704d3c3212b45b80775a35b55b1b)

Bug:19868522
Change-Id: Iafc467a0e3427b0d6ad3b575abcc98ddcc9ea0f1

9 years agoAddition of a CTS suite for tzdata update code
Neil Fuller [Fri, 13 Mar 2015 14:22:11 +0000 (14:22 +0000)]
Addition of a CTS suite for tzdata update code

Bug: 19941636
Change-Id: Id0985f8c5be2f12858ee8bf52acf52bdb2df8741

9 years agoam e7173cee: Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 15:04:43 +0000 (15:04 +0000)]
am e7173cee: Merge "Store odex files in oat/<isa>/ directory."

* commit 'e7173cee108fe82b0469c456f69fe5a4160d5192':
  Store odex files in oat/<isa>/ directory.

9 years agoMerge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 14:57:33 +0000 (14:57 +0000)]
Merge "Store odex files in oat/<isa>/ directory."

9 years agoFix: exit code is 0 even when check-boot-jars.py fails
Jiyong Park [Thu, 26 Mar 2015 04:06:40 +0000 (13:06 +0900)]
Fix: exit code is 0 even when check-boot-jars.py fails

Fix the bug that build is still success when boot jars contain
non-whitelisted classes. Now, check-boot-jars.py correctly
finishes with exit code 1 when non-whitelisted classes are found.

Change-Id: Id5c80ef9fdb70213d878d569f6033be2c9eb90d3

9 years agoDon't warn on definition of possibly reserved identifiers.
Stephen Hines [Tue, 17 Mar 2015 21:42:11 +0000 (14:42 -0700)]
Don't warn on definition of possibly reserved identifiers.

Change-Id: Icfcfa94aac0503c97dee0ff4d0cd49107201526d

9 years agoam a45223b6: Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""
Christopher Ferris [Wed, 25 Mar 2015 18:50:10 +0000 (18:50 +0000)]
am a45223b6: Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""

* commit 'a45223b63566d8496250ae797778a4d16ee81419':
  Revert "Switch x86 and x86_64 to 4.9. Attempt #2."

9 years agoam e9b15e2c: Merge "Switch x86 and x86_64 to 4.9. Attempt #2."
Ying Wang [Wed, 25 Mar 2015 18:50:07 +0000 (18:50 +0000)]
am e9b15e2c: Merge "Switch x86 and x86_64 to 4.9. Attempt #2."

* commit 'e9b15e2ccd07bb148b7fd7642658b9b54c0f47d0':
  Switch x86 and x86_64 to 4.9. Attempt #2.

9 years agoMerge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""
Christopher Ferris [Wed, 25 Mar 2015 18:28:53 +0000 (18:28 +0000)]
Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""

9 years agoRevert "Switch x86 and x86_64 to 4.9. Attempt #2."
Christopher Ferris [Wed, 25 Mar 2015 18:27:21 +0000 (18:27 +0000)]
Revert "Switch x86 and x86_64 to 4.9. Attempt #2."

This reverts commit 6fb735b07132b613de1b5b64c5c31a36c4b9ac2d.

Change-Id: I64b868cdfb3571de5e8b01e4257b5dfa9ee44d0d

9 years agoMerge "Switch x86 and x86_64 to 4.9. Attempt #2."
Ying Wang [Wed, 25 Mar 2015 18:11:54 +0000 (18:11 +0000)]
Merge "Switch x86 and x86_64 to 4.9. Attempt #2."

9 years agoAllow -mcpu=cortex-a15 for clang
Bernhard Rosenkränzer [Wed, 25 Mar 2015 15:59:46 +0000 (16:59 +0100)]
Allow -mcpu=cortex-a15 for clang

Clang 3.6 (including the snapshot present in AOSP) added support for
-mcpu=cortex-a15 -- there's no need to fall back to generic armv7-a
anymore.

Change-Id: I8a582261ac35e32f8f1def1d244cf83f2096520d
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMKBOOTIMG override were missing in two places
Per Astrand [Wed, 25 Mar 2015 13:06:30 +0000 (14:06 +0100)]
MKBOOTIMG override were missing in two places

The change follows the patten found in "Package OTA" and other places
to allow for overriding the mkbootimg command.

Now pass MKBOOTIMG variable to get make_recovery_patch and add_image_to_target
to use the tool set in BOARD_CUSTOM_MKBOOTIMG for boot/recovery image
generation.

Change-Id: I78533c25e87c2750eb24ac1bf39e4b7ca321a441

9 years agoMake releasetools pylint clean.
Dan Albert [Tue, 24 Mar 2015 02:13:21 +0000 (19:13 -0700)]
Make releasetools pylint clean.

This caught a few bugs/syntax errors (a few character classes were not
escaped properly in regex patterns, some indentation was illegal,
etc).

Change-Id: I50637607524e68c4fb9cad7167f58a46b8d26b2c

9 years agoam 5d60719e: Merge "Run ZipFile.testzip() during zipfile tests."
Dan Albert [Tue, 24 Mar 2015 00:12:27 +0000 (00:12 +0000)]
am 5d60719e: Merge "Run ZipFile.testzip() during zipfile tests."

* commit '5d60719e42fdc0d007920d946f1c1bb440cedab7':
  Run ZipFile.testzip() during zipfile tests.

9 years agoMerge "Run ZipFile.testzip() during zipfile tests."
Dan Albert [Tue, 24 Mar 2015 00:07:01 +0000 (00:07 +0000)]
Merge "Run ZipFile.testzip() during zipfile tests."

9 years agoam 0488079d: Merge "Fix the computation of basefilename"
Tao Bao [Mon, 23 Mar 2015 23:54:55 +0000 (23:54 +0000)]
am 0488079d: Merge "Fix the computation of basefilename"

* commit '0488079dfa5d5e53198125934eeaefa9cf1e7047':
  Fix the computation of basefilename

9 years agoRun ZipFile.testzip() during zipfile tests.
Dan Albert [Mon, 23 Mar 2015 23:54:39 +0000 (16:54 -0700)]
Run ZipFile.testzip() during zipfile tests.

This still doesn't catch the issue that [1] fixes, but it's probably a
good idea anyway.

[1]: https://android-review.googlesource.com/#/c/143469/

Change-Id: Iaa607ec7450d605b26114bd81ea41a14c6613c0e

9 years agoMerge "Fix the computation of basefilename"
Tao Bao [Mon, 23 Mar 2015 23:48:59 +0000 (23:48 +0000)]
Merge "Fix the computation of basefilename"

9 years agoFix the computation of basefilename
Tao Bao [Mon, 23 Mar 2015 23:01:17 +0000 (16:01 -0700)]
Fix the computation of basefilename

Change-Id: I156b182414ef5b33611955cbc019e208c771013a