OSDN Git Service

android-x86/build.git
9 years agoMerge "Clean up sanitizer configuration."
Dan Albert [Fri, 17 Apr 2015 16:47:00 +0000 (16:47 +0000)]
Merge "Clean up sanitizer configuration."

9 years agoClean up sanitizer configuration.
Dan Albert [Thu, 16 Apr 2015 23:21:02 +0000 (16:21 -0700)]
Clean up sanitizer configuration.

 * Refactor a few pieces to avoid deeply nested conditionals.
 * LOCAL_SANITIZE := never replaces LOCAL_ADDRESS_SANITIZER := false.

Change-Id: I68bb8c5edda6ecd40179c5ba9f18d06e96aaa260

9 years agoMerge "core_base.mk: switch to new H264 and MPEG2 software codecs"
Lajos Molnar [Fri, 17 Apr 2015 04:58:21 +0000 (04:58 +0000)]
Merge "core_base.mk: switch to new H264 and MPEG2 software codecs"

9 years agocore_base.mk: switch to new H264 and MPEG2 software codecs
Lajos Molnar [Wed, 15 Apr 2015 23:14:39 +0000 (16:14 -0700)]
core_base.mk: switch to new H264 and MPEG2 software codecs

Change-Id: I3078a4ef6e73e95edcdd16b087ac61ae56c4b812

9 years agoMerge "Fix bookmark title"
Glenn Kasten [Thu, 16 Apr 2015 23:12:45 +0000 (23:12 +0000)]
Merge "Fix bookmark title"

9 years agoFix bookmark title
Glenn Kasten [Thu, 16 Apr 2015 18:56:22 +0000 (11:56 -0700)]
Fix bookmark title

Bug: 20299601
Change-Id: Ie57daf7b378cf370e34ff282d97fd36f2d74031a

9 years agoMerge "build: fs_config_generate must open file in binary mode"
Mark Salyzyn [Thu, 16 Apr 2015 17:05:08 +0000 (17:05 +0000)]
Merge "build: fs_config_generate must open file in binary mode"

9 years agoMerge "Revert "core_base.mk: switch to new H264 and MPEG2 software codecs""
Lajos Molnar [Thu, 16 Apr 2015 15:57:01 +0000 (15:57 +0000)]
Merge "Revert "core_base.mk: switch to new H264 and MPEG2 software codecs""

9 years agoRevert "core_base.mk: switch to new H264 and MPEG2 software codecs"
Lajos Molnar [Thu, 16 Apr 2015 15:49:08 +0000 (15:49 +0000)]
Revert "core_base.mk: switch to new H264 and MPEG2 software codecs"

clang builds fail on the dependent libraries

This reverts commit c628500ca5cfd46152e238e9dc24217a3d08b906.

Change-Id: Ibd4cdce82b890bd3cb9d03a1a1bc0e4fc0e22ee8

9 years agobuild: fs_config_generate must open file in binary mode
Mark Salyzyn [Thu, 16 Apr 2015 15:42:19 +0000 (08:42 -0700)]
build: fs_config_generate must open file in binary mode

Bug: 19908228
Change-Id: I2361b8af90b3729deb438e6a7a7179de12680b65

9 years agoMerge "core_base.mk: switch to new H264 and MPEG2 software codecs"
Lajos Molnar [Thu, 16 Apr 2015 15:02:01 +0000 (15:02 +0000)]
Merge "core_base.mk: switch to new H264 and MPEG2 software codecs"

9 years agoMerge "fs_config: Add fs_config_generate"
Mark Salyzyn [Wed, 15 Apr 2015 23:50:43 +0000 (23:50 +0000)]
Merge "fs_config: Add fs_config_generate"

9 years agocore_base.mk: switch to new H264 and MPEG2 software codecs
Lajos Molnar [Wed, 15 Apr 2015 23:14:39 +0000 (16:14 -0700)]
core_base.mk: switch to new H264 and MPEG2 software codecs

Change-Id: I86777e5efc7dbb138e9348a4ec7271ff047d328f

9 years agoMerge "fs_config: use libcutils and libselinux shared libraries"
Mark Salyzyn [Wed, 15 Apr 2015 22:22:42 +0000 (22:22 +0000)]
Merge "fs_config: use libcutils and libselinux shared libraries"

9 years agoMerge "Add support for ubsan."
Dan Albert [Wed, 15 Apr 2015 22:06:09 +0000 (22:06 +0000)]
Merge "Add support for ubsan."

9 years agofs_config: Add fs_config_generate
Mark Salyzyn [Wed, 1 Apr 2015 21:41:29 +0000 (14:41 -0700)]
fs_config: Add fs_config_generate

fs_config_generate_$(TARGET_DEVICE) is built based off the content
of $(TARGET_ANDROID_FILESYSTEM_CONFIG_H). We also add the rules
fs_config_dirs and fs_config_file to utilize this command
for target contents:

fs_config_generate_$(TARGET_DEVICE) -D -o system/etc/fs_config_dir
fs_config_generate_$(TARGET_DEVICE) -F -o system/etc/fs_config_file

In order to use this feature, one must have the fs_config_dirs and
fs_config_files in the $(PRODUCT_PACKAGES) list defined in the
device make files in $(TARGET_DEVICE_DIR). And either an
android_filesystem_config.h file in that directory, or define a
path in TARGET_ANDROID_FILESYSTEM_CONFIG_H to point to one.

Bug: 19908228
Change-Id: Iee1543d99169f874e0915ae07962a7750ecb6342

9 years agofs_config: use libcutils and libselinux shared libraries
Mark Salyzyn [Wed, 15 Apr 2015 19:53:39 +0000 (12:53 -0700)]
fs_config: use libcutils and libselinux shared libraries

- move to libcutils.so and libselinux.so as shared now that
  they are in DISTTOOL.
- liblog dependency is part of libcutils, and need not be
  called out explicitly now. liblog is in DISTTOOL.
- libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: Iaa60ad624b42d83653840ac3c77bfa03ad8674aa

9 years agoMerge "Move package signing after file stripping"
Kenny Root [Wed, 15 Apr 2015 19:58:20 +0000 (19:58 +0000)]
Merge "Move package signing after file stripping"

9 years agoMove package signing after file stripping
Kenny Root [Wed, 15 Apr 2015 19:09:32 +0000 (12:09 -0700)]
Move package signing after file stripping

For dex preopt and JNI library extraction, we should remove the
classes.dex and .so files before we sign the APK so that there
isn't an entry in the manifest.

Prebuilt APKs which are pre-signed will simply not have the files
removed. This may cause some system.img bloat, but signature checks make
this necessary.

Bug: 20247329
Change-Id: I4742d1aa3aa64ab5aea2264304cb8c0bea24f784

9 years agoMerge "disttools: add liblog, libcutils and libselinux shared libraries"
Mark Salyzyn [Wed, 15 Apr 2015 14:45:04 +0000 (14:45 +0000)]
Merge "disttools: add liblog, libcutils and libselinux shared libraries"

9 years agoMerge "Don't use libunwindbacktrace for non-ARM."
Dan Albert [Tue, 14 Apr 2015 23:17:39 +0000 (23:17 +0000)]
Merge "Don't use libunwindbacktrace for non-ARM."

9 years agodisttools: add liblog, libcutils and libselinux shared libraries
Mark Salyzyn [Mon, 13 Apr 2015 16:01:24 +0000 (09:01 -0700)]
disttools: add liblog, libcutils and libselinux shared libraries

Bug: 19908228
Change-Id: I48450a9fb917408cb3bc0e41d70c0593acd2b884

9 years agoMerge "Use libcompiler_rt-extras on the host too."
Dan Albert [Tue, 14 Apr 2015 22:04:55 +0000 (22:04 +0000)]
Merge "Use libcompiler_rt-extras on the host too."

9 years agoDon't use libunwindbacktrace for non-ARM.
Dan Albert [Tue, 14 Apr 2015 21:42:45 +0000 (14:42 -0700)]
Don't use libunwindbacktrace for non-ARM.

After fixing the link order here, it seems libunwindbacktrace no
longer works for exception unwinding, but libgcc now does.

Change-Id: Ice79af4b8f234ed6a053ee818b6dec3aa9706c8a

9 years agoMerge "Revert "Enable linker -fix-cortex-a53-843419""
Andrew Hsieh [Mon, 13 Apr 2015 23:48:28 +0000 (23:48 +0000)]
Merge "Revert "Enable linker -fix-cortex-a53-843419""

9 years agoRevert "Enable linker -fix-cortex-a53-843419"
Andrew Hsieh [Mon, 13 Apr 2015 23:39:45 +0000 (23:39 +0000)]
Revert "Enable linker -fix-cortex-a53-843419"

This reverts commit 54b22a5a706f6556cda6ef3de13b9b0bdc22e989.

Change-Id: I23613490030783fb6da678de5a25f37caebe5f97

9 years agoMerge "Add host tool fastboot to every build."
Ying Wang [Mon, 13 Apr 2015 22:07:40 +0000 (22:07 +0000)]
Merge "Add host tool fastboot to every build."

9 years agoAdd host tool fastboot to every build.
Ying Wang [Mon, 13 Apr 2015 21:49:19 +0000 (14:49 -0700)]
Add host tool fastboot to every build.

Some tools expect fastboot to be present even in user builds.

Change-Id: I4b6ee458eb2feb0dc7a77ec33a04219c5f4adc0d

9 years agoMerge "Add --include-cfi compiler option."
David Srbecky [Mon, 13 Apr 2015 20:34:49 +0000 (20:34 +0000)]
Merge "Add --include-cfi compiler option."

9 years agoAdd --include-cfi compiler option.
David Srbecky [Mon, 13 Apr 2015 18:50:51 +0000 (19:50 +0100)]
Add --include-cfi compiler option.

Decouple generation of CFI from the rest of debug symbols.
This makes it possible to generate oat with CFI but without
the rest of debug symbols.

This is in line with intention of the .eh_frame section.
The section does not have the .debug_ prefix because it
is considered somewhat different to the rest of debug symbols.

Change-Id: I32816ecd4f30ac4e0dc69d69a4993e349c737f96

9 years agoMerge "Enable linker -fix-cortex-a53-843419"
Andrew Hsieh [Mon, 13 Apr 2015 03:06:48 +0000 (03:06 +0000)]
Merge "Enable linker -fix-cortex-a53-843419"

9 years agoMerge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
Pirama Arumuga Nainar [Fri, 10 Apr 2015 21:22:52 +0000 (21:22 +0000)]
Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."

9 years agoMerge "Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver"
Stephen Hines [Fri, 10 Apr 2015 16:17:52 +0000 (16:17 +0000)]
Merge "Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver"

9 years agoUse -Wno-format-pedantic to disable overly aggressive format string warning.
Stephen Hines [Fri, 10 Apr 2015 16:06:12 +0000 (09:06 -0700)]
Use -Wno-format-pedantic to disable overly aggressive format string warning.

Bug: 20148343

The latest clang warns on "%p" being used with non-void pointer types, which
would require a great deal of cleanup in several sub-projects.

Change-Id: I4175d5cf8709504455067c906a2eb8ccc8e25432

9 years agoMerge "Dump fingerprints into recovery log"
Tao Bao [Fri, 10 Apr 2015 02:04:35 +0000 (02:04 +0000)]
Merge "Dump fingerprints into recovery log"

9 years agoDump fingerprints into recovery log
Tao Bao [Wed, 8 Apr 2015 22:30:27 +0000 (15:30 -0700)]
Dump fingerprints into recovery log

No more guessing. We should have the info for OTA issues diagnosis.

Change-Id: I0ce919434444ab16a38cc7af818e64785509b0fb

9 years agoUse libcompiler_rt-extras on the host too.
Dan Albert [Thu, 9 Apr 2015 21:41:06 +0000 (14:41 -0700)]
Use libcompiler_rt-extras on the host too.

Clang will sometimes generate this call (dex2oat with ubsan is one
known case), and it doesn't exist in libgcc.

Change-Id: I2eb68e2a326eb0407dca03b5870077eeebca1c0a

9 years agoMerge "Change the default multilib for host libraries to "both""
Colin Cross [Thu, 9 Apr 2015 20:47:15 +0000 (20:47 +0000)]
Merge "Change the default multilib for host libraries to "both""

9 years agoMerge "Remove ancient ranlib workaround on Mac OS X."
Ying Wang [Thu, 9 Apr 2015 17:07:43 +0000 (17:07 +0000)]
Merge "Remove ancient ranlib workaround on Mac OS X."

9 years agoRemove ancient ranlib workaround on Mac OS X.
Ying Wang [Thu, 9 Apr 2015 16:22:36 +0000 (09:22 -0700)]
Remove ancient ranlib workaround on Mac OS X.

Apparently we don't need it for Mac OS X 10.7 and above.

Change-Id: I5ee81700c16e8c66b2d5f2b373fd2d523b5ec018

9 years agoEnable linker -fix-cortex-a53-843419
Andrew Hsieh [Thu, 9 Apr 2015 04:37:36 +0000 (12:37 +0800)]
Enable linker -fix-cortex-a53-843419

Change-Id: Icb8a4ce4d5688847cfe536eba2139cdf7f6406f3

9 years agoMerge "Fix the font size selection for recovery mode"
Tao Bao [Wed, 8 Apr 2015 23:55:28 +0000 (23:55 +0000)]
Merge "Fix the font size selection for recovery mode"

9 years agoMerge "Remove unnecessary confusing use of $(intermediate)."
Ying Wang [Wed, 8 Apr 2015 23:40:34 +0000 (23:40 +0000)]
Merge "Remove unnecessary confusing use of $(intermediate)."

9 years agoRemove unnecessary confusing use of $(intermediate).
Ying Wang [Wed, 8 Apr 2015 23:37:34 +0000 (16:37 -0700)]
Remove unnecessary confusing use of $(intermediate).

Change-Id: I0e73c3c1bf94540419e1fd227a3096da148e2459

9 years agoAdd support for ubsan.
Dan Albert [Fri, 12 Dec 2014 02:56:26 +0000 (18:56 -0800)]
Add support for ubsan.

Rather than adding LOCAL_UB_SANITIZER, LOCAL_THREAD_SANITIZER, etc for
each new sanitizer, deprecate LOCAL_ADDRESS_SANITIZER in favor of
LOCAL_SANITZE that mirrors the behavior of -fsanitize=<sanitizers>.

For example, the following will use both asan and ubsan:

    LOCAL_SANITIZE := address undefined

We'll leave LOCAL_ADDRESS_SANITIZER around for compatibility until we
can clean up the tree.

Change-Id: I8a62315129d4753f8e992584ca6db1e5dfdd4d2a

9 years agoMerge "AndroidConfig.h: ensure HAVE_MALLOC_H always has a value."
Nick Kralevich [Wed, 8 Apr 2015 22:50:03 +0000 (22:50 +0000)]
Merge "AndroidConfig.h: ensure HAVE_MALLOC_H always has a value."

9 years agoFix the font size selection for recovery mode
Tao Bao [Wed, 8 Apr 2015 21:14:43 +0000 (14:14 -0700)]
Fix the font size selection for recovery mode

shamu has a 560dpi density, which is between xxhdpi and xxxhdpi. It
deserves the large font (18x32), otherwise it falls back to use the
small one and makes it mostly unreadable under recovery mode. Amend
the list to include 560dpi and 400dpi that are higher than xhdpi.
Ideally we should map string formats back to numbers for easy
comparison (and to handle any high but odd density values).

Change-Id: Ie08d9ce5e1c8850ff30a79bcbfd1b89e971b7e07

9 years agoMerge "Better way to package up the otatools-package."
Ying Wang [Wed, 8 Apr 2015 20:53:45 +0000 (20:53 +0000)]
Merge "Better way to package up the otatools-package."

9 years agoBetter way to package up the otatools-package.
Ying Wang [Wed, 8 Apr 2015 19:24:37 +0000 (12:24 -0700)]
Better way to package up the otatools-package.

With this, you can easily add more executables, jars or shared libraries
to the package. Also now it automatically takes care of
32-bit-v.s.-64-bit library issue.

Change-Id: I5afe00fadc978d0da229b192eca1a4b1c149764e

9 years agoAndroidConfig.h: ensure HAVE_MALLOC_H always has a value.
Nick Kralevich [Wed, 8 Apr 2015 19:21:54 +0000 (12:21 -0700)]
AndroidConfig.h: ensure HAVE_MALLOC_H always has a value.

Some programs (cough sqlite cough) do an improper check to see if
HAVE_MALLOC_H is defined. Instead of defining it with no value,
define it with a value so those checks pass.

Needed for bug: 20099586

Change-Id: I4c293b2c1b5f4caad85ffc1fc34ac385bab23f5c

9 years agoChange the default multilib for host libraries to "both"
Colin Cross [Tue, 7 Apr 2015 22:11:37 +0000 (15:11 -0700)]
Change the default multilib for host libraries to "both"

Change host library builds to build for both architectures to
match device builds, removing the need for LOCAL_MULTILIB := both
in all the art library makefiles.

Change-Id: I2689f67c66f5055f93941f40b3e825127f693eca

9 years agoMerge changes I75d472ed,I6d681071
Mark Salyzyn [Tue, 7 Apr 2015 16:40:05 +0000 (16:40 +0000)]
Merge changes I75d472ed,I6d681071

* changes:
  fs_get_stats: add logging
  fs_config: add logging

9 years agofs_get_stats: add logging
Mark Salyzyn [Tue, 7 Apr 2015 16:19:27 +0000 (09:19 -0700)]
fs_get_stats: add logging

libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I75d472ed142e32959cec78bf7babbf39d2b66cd2

9 years agofs_config: add logging
Mark Salyzyn [Tue, 7 Apr 2015 16:18:30 +0000 (09:18 -0700)]
fs_config: add logging

libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I6d68107156962a6fec357ab99d23960c6852b026

9 years agoMerge "Include vendorsetup scripts in order"
Ying Wang [Sat, 4 Apr 2015 21:03:32 +0000 (21:03 +0000)]
Merge "Include vendorsetup scripts in order"

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 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 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 agoMerge "Remove HAVE_STRLCPY."
Elliott Hughes [Fri, 3 Apr 2015 19:42:05 +0000 (19:42 +0000)]
Merge "Remove HAVE_STRLCPY."

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 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 agoInclude vendorsetup scripts in order
Oleksiy Avramchenko [Mon, 6 Oct 2014 16:51:58 +0000 (18:51 +0200)]
Include vendorsetup scripts in order

This fixes randomness of the combo index.

Change-Id: I533161fea8d1bc0c9dbd6ca2f3393d27310c9588

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